Convert TIFF to PNG

This converter turns any TIFF, including 16-bit, multi-band and GeoTIFF files, into a lossless PNG, stretching values so the image is visible and keeping transparency and the georeference. The file is converted in your browser with GDAL and is not uploaded. JPEG-, WebP-, ZSTD- and LERC-compressed TIFFs are decoded too. Stretched pixels no longer hold the original values, and every page of a multi-page TIFF becomes its own PNG in a zip.

Did a file not convert correctly? E-mail [email protected], ideally with a small sample file, and it will be fixed.

Key facts

TIFF to PNG: why convert

Browsers, chat apps and most office programs cannot show a TIFF, and the ones that can often fail on the kinds of TIFF that scientific and GIS work produce: 16-bit scans, elevation models, satellite bands with four or more channels, or images with a colour palette. PNG opens everywhere and is lossless, so it is the safe choice when every pixel matters. This converter reads the TIFF with GDAL, the library behind QGIS, works out what the bands contain, stretches 16-bit and floating-point values so the picture is visible, and writes a PNG. If the TIFF is a GeoTIFF, you also get a .pgw world file and the coordinate system in a zip, so the PNG still lines up on a map. Everything runs in your browser; the file is never uploaded.

How to convert TIFF to PNG

  1. Drop your .tif or .tiff file in the box, or click to choose it. Add its .tfw file too if it has one.
  2. Check the preview and the details, and pick a contrast stretch or other bands if needed.
  3. Click Convert to PNG and download the PNG, or a zip with the PNG and its world file.

What changes when you convert

Why a 16-bit TIFF looks black

A normal image uses values from 0 to 255 per channel. A 16-bit band can hold 0 to 65,535, and an elevation model or a satellite band usually fills only a small part of that range: a DEM with heights between 400 and 2,800 m uses less than 5 % of it. A viewer that maps 0–65,535 to black–white shows such a file as almost black. The converter therefore reads the real minimum and maximum of each band and stretches that range to 0–255. By default the darkest and brightest 2 % of the pixels are ignored, which keeps a few extreme values from washing out the rest; QGIS uses a similar cut by default. Choose "Stretch minimum to maximum" if you need the full range.

Stretching changes the values

After the stretch, a pixel value of 128 no longer means 128 m or a reflectance of 0.0128; it is just a shade of grey. The PNG is for looking at, not for measuring. If you need the original numbers, keep the TIFF, or, for an unsigned 16-bit file, choose "Keep 16-bit values" for a 16-bit PNG that GIS programs can still read as data (it looks dark in ordinary viewers, for the reason above).

Bands and colours

One band becomes a greyscale PNG and three bands become red, green and blue. Files with four or more bands, such as Sentinel-2 or drone multispectral stacks, let you pick which band goes into each colour, for example near infrared, red and green for a false-colour image. TIFFs with a colour palette, like land-cover maps, keep their palette.

Transparency and no-data

An alpha band stays transparent in the PNG. Pixels marked as no-data, such as the sea in an elevation model or the empty corners of a rotated scan, also become transparent instead of black.

Multi-page TIFFs

Fax documents, office scanners and microscope stacks often store several pages in one TIFF. Every page becomes its own PNG, numbered in order (scan_page01.png, scan_page02.png …), and you download them together in a zip. The preview and the settings are for page 1; the other pages get the same settings, and a page with other bands is stretched on its own. Untick "Convert all pages" if you only want page 1. Reduced-resolution copies (overviews) are not pages and are skipped. In a JPEG-, WebP-, ZSTD- or LERC-compressed TIFF only the first page is converted.

Example: a 1 m lidar DEM tile (32-bit elevations) to PNG with a world file

The sample file dem_1m_boulder.tif is built like the 1 m digital elevation models from the USGS 3D Elevation Program (3DEP): one band of 32-bit floating-point elevations in metres, NAD83 / UTM zone 13N (EPSG:26913), Deflate compression, and the no-data value -999999 for the corner outside the survey area. Real 3DEP 1 m tiles usually cover 10 × 10 km; the sample has only 250 × 200 pixels, and its top-left corner is at easting 476000 and northing 4429000, west of Boulder, Colorado. The terrain is drawn, not measured.

After you drop it, the details show "Float32 (32-bit floating point)", values from 1681.06 to 2015.35, the no-data value -999999 and a pixel size of 1 × 1 m. An image viewer cannot show heights of 1,681 to 2,015 m, so the contrast stretch is set to "Stretch 2–98 % (ignores outliers)": the plain in the south-east turns dark and the foothills in the west turn white. After the conversion the page says "Done: dem_1m_boulder_png.zip (PNG with world file and coordinate system)." The zip holds dem_1m_boulder.png, the world file dem_1m_boulder.pgw with 1, 0, 0, -1, 476000.5 and 4428999.5 (the centre of the top-left pixel), the .prj and the .png.aux.xml. The no-data corner is transparent in the PNG, not black as it would be in a JPG.

dem_1m_boulder.tif                            dem_1m_boulder_png.zip
250 × 200 px, Float32, no-data -999999   →    ├─ dem_1m_boulder.png (grey, stretch 2–98 %, no-data transparent)
EPSG:26913, 1 m pixels                        ├─ dem_1m_boulder.pgw (476000.5 / 4428999.5)
                                              └─ dem_1m_boulder.prj, dem_1m_boulder.png.aux.xml

Download the sample file dem_1m_boulder.tif (46 KB) and convert it above

Common problems in QGIS and ArcGIS – and what the page does

Next: convert a GeoTIFF to JPG when a smaller file matters more than transparency, for example for an orthophoto.

About the formats

TIFF

TIFF (Tagged Image File Format) was created by Aldus in 1986 and is now owned by Adobe. It is the usual output of scanners, professional cameras, microscopes and GIS software, because it can store images without loss in almost any bit depth, from black-and-white to 32-bit floating point.

  • Compression is optional and lossless in most files (LZW, Deflate or PackBits), so files are often large.
  • A band can hold 8, 16 or 32-bit integers or floating-point numbers, not just 0–255.
  • One file can contain several pages or images; viewers often show only the first.
  • Classic TIFF files are limited to 4 GB; BigTIFF removes that limit.

PNG

PNG (Portable Network Graphics) is a lossless image format from 1996 and the usual format for screenshots, logos, diagrams and images with transparency. Every pixel is stored exactly, so text and sharp edges stay crisp.

  • Lossless: saving again never reduces quality.
  • Supports full transparency (an alpha channel).
  • Photos saved as PNG are usually several times larger than as JPG.

Frequently asked questions

Is my TIFF uploaded to a server?

No. The file is read and converted by your browser. Nothing is sent anywhere, which also makes the converter safe for unpublished survey data or medical and lab images.

What is in the zip for a GeoTIFF?

The PNG, a .pgw world file with the pixel size and position, a .prj file with the coordinate system in the Esri format, and a .png.aux.xml file. QGIS reads the world file and the .aux.xml automatically, so the PNG appears in the right place and coordinate system. A plain TIFF without georeference gives a single PNG.

Will the PNG be smaller than the TIFF?

Often, because PNG compression is usually better than uncompressed or LZW TIFF. A 16-bit TIFF stretched to 8 bits also loses half its bytes. Photos with lots of detail can still give large PNGs; use the GeoTIFF to JPG converter for those.

How large a TIFF can I convert?

Files up to about 200 MB normally work on a computer. The image is processed in the memory of the browser tab, so very large rasters can fail, especially on phones. For bigger files, use gdal_translate from GDAL on your own computer.

Which TIFF compressions work?

Uncompressed, LZW, Deflate and PackBits, and also JPEG, WebP, ZSTD and LERC, which many orthophotos and Cloud Optimized GeoTIFFs use, including BigTIFF. The browser build of GDAL cannot decode those four, so the page first decodes the image with geotiff.js and gives GDAL an uncompressed copy with the same georeference and no-data value; this needs more memory for a large file. Old-style JPEG, JPEG 2000 and JPEG XL inside a TIFF still cannot be read; save such a file again with LZW or Deflate in QGIS.