Glossary
TIFF
A flexible, tag-based raster image format used for scanned documents, archives, print and scientific imaging, able to hold many pages and lossless, high bit depth images in one file.
A TIFF file is a raster image stored in the Tagged Image File Format, a container designed in 1986 by Aldus and now maintained by Adobe. Its defining feature is flexibility: a TIFF can hold one image or hundreds of pages, uncompressed or compressed several different ways, in black and white, greyscale, colour or high bit depth, with any amount of metadata attached as tags. That flexibility made TIFF the standard for document scanning, fax, publishing, archives and scientific imaging, and it is why TIFF files still arrive in bulk whenever an organisation digitises paper.
How a TIFF file is structured
A TIFF starts with an eight-byte header. The first two bytes say whether the file is little-endian (II, for Intel) or big-endian (MM, for Motorola), the next two hold the number 42, and the last four give the offset of the first Image File Directory. Those bytes are the signature file type detection uses: II*, followed by a null byte, or MM, a null byte and an asterisk. The MIME type is image/tiff, with the extensions .tif and .tiff used interchangeably.
An Image File Directory, or IFD, is a list of tags. Each tag has a numeric identifier, a data type and a value or a pointer to one. Required tags describe the image: width, height, bits per sample, compression scheme, colour interpretation and where the pixel data sits in the file. Optional tags carry resolution, software, date, artist, copyright and much more. Pixel data is stored in strips of rows or in rectangular tiles, which lets a reader load part of a very large image without decoding all of it.
Each IFD ends with the offset of the next one, so a single file can chain many images together. That is how multipage TIFF works: a 40-page scanned contract or a long fax is one file with 40 directories. The format’s version 6.0 dates from 1992 and has barely changed since, which is a large part of its appeal for long-term storage. Files larger than 4 GB need BigTIFF, an extension with 64-bit offsets used for satellite imagery, microscopy and whole-slide pathology scans.
Compression and colour options
TIFF supports several compression schemes, and the choice affects file size, quality and how easy the file is to process.
Compression | Type | Typical use | Notes |
|---|---|---|---|
None | Uncompressed | Archives, print masters | Largest files, simplest to read |
LZW | Lossless | General images, scans | Widely supported default in many scanners |
Deflate (ZIP) | Lossless | Scans, graphics | Often smaller than LZW |
PackBits | Lossless run-length | Simple graphics | Old and fast, modest savings |
CCITT Group 4 | Lossless, 1-bit only | Black-and-white document scans, fax | Very small files for text pages |
JPEG | Lossy | Colour photographs | Smaller files, compression artefacts |
Colour depth is just as varied. A TIFF can be 1-bit bilevel, 8-bit greyscale, 24-bit RGB, CMYK for print, 16 bits per channel for photography and scanning, or 32-bit floating point for scientific data. That range is why TIFF remains the format of choice for print masters and archival copies, and why it sits beside WebP and HEIC only in the sense that all three store pictures: TIFF optimises for fidelity and flexibility, not for small files on the web. Browsers other than Safari do not display TIFF at all.
TIFF metadata
Metadata is native to TIFF because the whole format is made of tags. Basic tags record resolution in dots per inch, the software that created the file and a date. Resolution tags in particular are worth preserving, because downstream OCR and print tools read them to size the page correctly. Richer metadata uses the same mechanism: EXIF data was designed on top of the TIFF tag structure, which is why an Exif block inside a JPEG begins with a TIFF header. XMP metadata can be embedded in its own tag, and IPTC metadata for captions, keywords and rights has a tag of its own as well. Archives and libraries rely on these fields to record provenance, scanner settings and rights information alongside the image.
Several specialist formats are TIFF underneath. GeoTIFF adds tags that tie pixels to map coordinates and is common in satellite and aerial imaging. Adobe’s DNG raw photo format builds on TIFF/EP. OME-TIFF stores microscopy data with structured metadata, and pathology labs use tiled, pyramidal TIFF variants to hold gigapixel slide scans at several zoom levels. A file with a .tif extension can therefore be anything from a one-page fax to a multi-gigabyte map.
Scanned documents and multipage TIFF
For most software teams, TIFF means scanned paper. Document scanners, multifunction printers and fax servers have produced TIFF for decades, and many legal, insurance, healthcare and government archives hold millions of pages in it. A typical file is a multipage, black-and-white TIFF compressed with CCITT Group 4 at 200 or 300 dpi, sometimes with colour pages mixed in. These files contain pictures of text and no text at all, so the same issues apply as with a scanned PDF: nothing can be searched until OCR has read the pages.
Resolution decides OCR quality more than anything else. Fax-quality scans at around 200 by 100 dpi lose small fonts and punctuation, while 300 dpi is the usual minimum for reliable recognition; DPI for OCR and OCR accuracy cover the trade-offs. Bilevel compression throws away greyscale information that OCR engines use to separate characters from noise, so faint text, stamps and signatures suffer. Handwritten annotations need handwriting recognition, and forms or tables on scanned pages need layout analysis before table extraction or form extraction can pull structured fields.
Many teams convert TIFF archives into searchable PDFs, which keep the page image and add an invisible text layer from OCR, or into PDF/A for long-term preservation. Either way the page structure needs to survive conversion: page numbers matter for citations, legal production and audit trails. The post on scanned vs digital PDFs explains why a pipeline needs both an OCR path and a direct-text path.
Common problems with TIFF files
TIFF’s flexibility is also its main weakness for software. The specification allows so many combinations of compression, bit depth, byte order, tiling and private tags that no library supports all of them. Old scanners wrote files that bend the rules, some vendors used private compression schemes, and JPEG-in-TIFF has two incompatible variants. A pipeline that ingests TIFFs from many sources will meet files that open in one viewer and fail in another.
Multipage handling is a second trap. Some tools read only the first page of a multipage TIFF and silently ignore the rest, which is easy to miss in testing with single-page samples. Page order should be checked against the directory order, and page counts compared before and after any conversion. Very large files raise memory issues: decoding an uncompressed 16-bit colour scan of an A3 page can take hundreds of megabytes, so tiled reading or downsampling is worth planning for when scans are high resolution.
Colour and orientation cause quieter errors. CMYK TIFFs from print workflows look wrong when a reader treats them as RGB, and 16-bit scans can appear almost black in software that expects 8 bits. Scanned pages also carry an orientation tag that some readers ignore, so a page scanned sideways may reach an OCR engine rotated by 90 degrees and come back as nonsense. Normalising colour to 8-bit RGB or greyscale, applying the orientation tag and deskewing slightly crooked pages before OCR removes most of these failures.
Where TIFF files appear in AI products
TIFF shows up wherever paper has been digitised. Legal teams receive discovery productions as single-page or multipage TIFFs with load files, and an e-discovery platform has to OCR, index and cite them by page. Insurance carriers hold claim files of faxed and scanned forms, the material behind insurance claims processing. Healthcare and government archives store referral letters, records and correspondence the same way. In each case the AI work is document extraction at scale: turning page images into text, fields and citations that an agent can use.
How Exabase handles TIFF scans
Exabase provides the storage, extraction and search layer for this kind of archive rather than a scanning product. Resources stores files of any type in a Base, so original TIFFs can be kept alongside their processed versions, with each Base isolating one customer, matter or project. Extract documents PDFs, Word files and JPEG, PNG, WebP and GIF images as its supported inputs, with OCR built in for scanned PDFs, so a practical pattern is to convert multipage TIFFs to PDF, which keeps page boundaries, and submit those. Converting with a tool that keeps resolution at 300 dpi or higher avoids losing accuracy at this step. Each job returns text chunks with page numbers, and the retrieving results guide covers reading them.
Once the text is stored, Deep Search finds the passage that answers a question and returns the page number with it, which is what a legal or claims reviewer needs to verify an answer. A Worker can process new scans as they arrive and file them into folders. The file extraction solution describes the pattern, and the image to text tool shows OCR output for a single image. Exabase supplies the substrate; legal judgement, claims decisions and records policies remain with the application and the people using it. The best OCR APIs roundup compares other options.
Frequently asked questions
What is a TIFF file used for?
TIFF is used for scanned documents, fax, print and publishing masters, archives and scientific imaging. It suits any case where lossless quality, high bit depth, multiple pages or rich metadata matter more than file size.
Is TIFF lossless?
Usually. TIFF supports lossless compression such as LZW, Deflate and CCITT Group 4, and can also be uncompressed. It can also hold JPEG-compressed images, which are lossy.
What is a multipage TIFF?
A single TIFF file containing several images, each in its own Image File Directory. Scanners and fax servers use multipage TIFFs to store whole documents, one page per directory.
Can a TIFF file be searched for text?
Not directly. A scanned TIFF holds page images rather than text, so it needs OCR first. Converting it to a searchable PDF or extracting the OCR text makes it searchable.
What is the MIME type of a TIFF file?
image/tiff. Files start with II*, followed by a null byte, for little-endian or MM, a null byte and an asterisk for big-endian, which is how tools identify them regardless of extension.
Should I convert TIFF to PDF?
Often, yes, for documents. PDF is easier to share, view and process, and a searchable PDF adds an OCR text layer. Keep the original TIFFs if they are the archival record.
Why do some programs show only the first page of a TIFF?
Some readers load only the first Image File Directory. Check page counts after any conversion so later pages of a multipage TIFF are not lost.
Related pages: scanned PDF, searchable PDF, OCR, PDF/A, EXIF data, HEIC, WebP, document extraction, file extraction, image to text, XMP metadata, IPTC metadata