Skip to main content

What is a TIFF file?

TIFF (Tagged Image File Format) is the format of scanners, print shops and photo archives. It's flexible enough to hold almost anything, which is also why two .tif files can behave completely differently.

Key facts

Extensions
.tiff, .tif
MIME type
image/tiff
First released
1986
Compression
Lossy or lossless
Transparency
Yes
Animation
No
Shows directly in browsers
No
This site's converter
Read

The short answer

A .tif or .tiff file is a set of labeled fields ("tags") that describe one or more images: their size, color layout, resolution for printing, and which compression method the pixel data uses. The format dates from 1986 and was designed so that scanner and publishing software could exchange high-quality images without losing anything.

Because the tags can describe so many different things, "TIFF" tells you less than "PNG" or "JPG" does. A TIFF may be uncompressed, losslessly compressed in several ways, or JPEG-compressed with visible loss. It may hold a single picture or a 40-page scanned document. Whether a given program opens it depends on which of these options the file uses.

Same photo, eight TIFFs

The test photo (a roast chicken in foil, taken by the site's operator, 960×1280) was saved as TIFF with each common compression setting using sharp 0.35.5 (libvips 8.18.7). "Predictor" is an extra step that stores each pixel as the difference from its left neighbor before compressing.

TIFF compressionSizeLossless?
None3.52MBYes
PackBits3.54MBYes
LZW3.78MBYes
LZW + predictor2.30MBYes
Deflate (ZIP)2.94MBYes
Deflate + predictor2.09MBYes
JPEG, quality 90948.3KBNo (PSNR 40.5 dB)
JPEG, quality 60148.0KBNo (PSNR 33.6 dB)
For comparison: PNG1.95MBYes

Two results stand out. First, LZW without a predictor made the photo bigger than no compression at all: 3.78MB against 3.52MB. LZW looks for repeated byte patterns, and a photo's noise has few of them. Second, the predictor is what makes lossless TIFF worthwhile for photos. With it, Deflate came within 7% of PNG, which uses the same compression with smarter filtering.

The same settings on a flat graphic (a 512×512 badge with a transparent background) reverse the ranking: plain Deflate was 35.5KB and Deflate with predictor 41.5KB. Differences between neighbors help with smooth photos and hurt with flat areas that already repeat. If you save TIFFs often, test the setting on your own kind of images.

A TIFF can be lossy

People pick TIFF to avoid quality loss, but a TIFF with JPEG compression inside is exactly as lossy as a JPG. The zoom below compares the original pixels with the JPEG-in-TIFF at quality 60; both are .tif files.

The same 120×120 spot of the chicken photo at 3× zoom. Left: lossless TIFF, with fine texture in the sauce. Right: JPEG-compressed TIFF at quality 60, where the texture is smoothed into blocks and edges are softer

If you receive a TIFF and need to know whether it's lossless, look at the compression field in an image viewer's info panel or in a tool such as ExifTool. "JPEG" or "OJPEG" means lossy; "None", "LZW", "Deflate", "Adobe Deflate" or "PackBits" mean lossless.

Why a TIFF won't open

  • The browser can't show it. Among current browsers only Safari displays TIFF directly in a page; Chrome, Edge and Firefox download it instead.
  • The compression is unusual. Fax-style CCITT compression, old-style JPEG ("OJPEG") and newer methods such as ZSTD or WebP-in-TIFF are not supported everywhere.
  • It's a multi-page file. Many viewers show only the first page, so the other pages seem to be missing.
  • It uses 16 bits per channel, CMYK or floating-point data. Print and scientific TIFFs often do, and simple viewers either refuse them or show the colors wrong.

When to use TIFF and when to avoid it

Use TIFF when a print shop, scanner workflow, archive or GIS tool asks for it, when you need several pages in one image file, or when you want to keep 16-bit or CMYK data that PNG and JPG can't hold.

Avoid it for the web, email and chat. Convert to JPG for photos you send, PNG for screenshots and graphics. This site's converter reads TIFF in your browser (only the first page of a multi-page file) and converts it to JPG, PNG, WebP and others; it can't write TIFF. The file isn't uploaded.

FAQ

Is TIFF better quality than PNG?

Not for ordinary 8-bit images: both can be lossless, so the pixels are identical. TIFF's advantages are extras such as CMYK, 16-bit channels and multiple pages. For a normal photo or graphic, PNG was the same quality and slightly smaller in the measurement above.

What's the difference between .tif and .tiff?

None. They are two spellings of the same extension; .tif comes from the three-letter limit of old DOS file names.

Which TIFF compression should I choose?

For lossless photos, Deflate (sometimes labeled ZIP) with the horizontal predictor gave the smallest files here. Uncompressed TIFF is the safest for compatibility, and plain LZW is read almost everywhere; predictor variants are well supported by current software but occasionally trip up older tools. Avoid JPEG compression unless you deliberately want smaller, lossy files.

Why is my scanned TIFF huge?

Scans are often uncompressed and saved at 300–600 dpi. An A4 page at 300 dpi is about 2480×3508 pixels, about 25MB uncompressed in 24-bit color. Lossless compression with a predictor, or a grayscale scan for text, cuts that considerably.

Related

This page was last updated on 2026-11-30

Other format explainers