What is the TIF file format?
Files with the .tif extension contain raster graphics along with metadata in the form of tags; a .tif file can store multiple images. The .tif suffix is equivalent to .tiff and the extensions can be used interchangeably. .tif is available in two versions - baseline and extended - both codified in the TIFF 6.0 specification.
The baseline format (TIFF 6.0 Part 1) specifies:
- Support for multipage graphics - subfiles within a single
.tiffile, - Support for multilayer images comprised of strips, which can be compressed separately,
- Compression methods: none, CCITT Group 3 1-dimensional modified Huffman RLE, and PackBits,
- Image types - bi-level, greyscale, palette-color, or RGB,
- Information about byte order - little-endian (
II) or big-endian (MM) declared in the first two bytes, - Format version.
The second part of the specification (extensions) lists the following features:
- Image trees - instead of a sequential image collection, images and their variations are stored in a tree data structure; typically used to store thumbnails of multiple versions in different color spaces,
- Additional compression methods: CCITT T.4 and T.6 bi-level encoding, LZW, and JPEG-based,
- Additional image types: CMYK, YCbCr, HalftoneHints, Tiled, and CIE L\*a\*b\*,
- Option to compose a
.tifimage from a number of tiles, similar to strips, - Private tags - can store information supplied by file developers.
.tif format was developed by Aldus in 1986 as a graphics format for the publishing industry. The TIFF 6.0 specification was released in 1992 and Adobe acquired the format with the Aldus purchase in 1994. The format is now maintained by Adobe, and several .tif extension specifications have been published, including ISO 12234-2 (TIFF/EP for digital cameras), ISO 12639 (TIFF/IT for prepress), and RFC 3949 (TIFF in email). .tif is still widely used in professional image editing, print production, and document archiving.
The format's tag-based design makes it extensible without breaking compatibility. GeoTIFF embeds geospatial coordinate data directly in standard .tif tags, making it the dominant raster format in geographic information systems. For files exceeding the original 4 GB size limit, the BigTIFF variant uses 64-bit addressing and typically carries the .btf extension. Camera manufacturers similarly build TIFF-derived raw containers, such as .dng (Digital Negative).
Security & safety
RISK: LOWTIFF is image data and normally safe to open. Two caveats: (1) the format is so flexible that malformed TIFFs have historically triggered parser bugs in image libraries (libtiff) - keep viewers updated; (2) "wmf/dxf/exotic" conversion sites add no value and may bundle adware. For ordinary scans and photos there is no practical risk. TIFFs cannot contain executable macros.
Format details
in a nutshellPrograms that open TIF files
Technical details
deep spec| MIME type | image/tiff |
| File signature | `49 49 2A 00` (little-endian) or `4D 4D 00 2A` (big-endian) at byte offset 0 |
| Byte order declaration | First 2 bytes declare endianness: `II` = Intel/little-endian, `MM` = Motorola/big-endian; the magic number 42 (0x2A) follows encoded in that byte order |
| Internal structure | Linked chain of Image File Directories (IFDs); each IFD holds tag entries that describe and locate image data within the file |
| Multi-image support | Yes - a single file can contain multiple IFDs representing pages, thumbnails, or resolution variants |
| Bit depth | 1, 4, 8, 16, 32, and 64 bits per channel; 32-bit and 64-bit floating-point samples supported |
| Supported color spaces | Bi-level, grayscale, palette-color, RGB, CMYK, YCbCr, CIE L*a*b* |
| Compression codecs | Uncompressed, PackBits, LZW, CCITT Group 3, CCITT Group 4, JPEG, Deflate (ZIP) |
| Alpha channel | Supported via ExtraSamples tag (338) - both associated (pre-multiplied) and unassociated alpha allowed |
| Image layout | Data organized as horizontal strips or rectangular tiles; enables efficient partial decoding of large images |
| Embedded metadata | EXIF (tag 34665), IPTC (tag 33723), XMP (tag 700), and custom private-range tags |
| ICC color profile | Embeddable via ICCProfile tag (34675); enables device-independent color reproduction |
| File size limit | 4 GB in standard TIFF (32-bit offsets); BigTIFF variant extends addressing to 64-bit for files exceeding 4 GB |
| Private tags | Vendor-defined tags reserved in range 32768-65534; used by camera makers and software for proprietary metadata |
| Lossless/lossy | Both modes available - LZW and Deflate are lossless; JPEG-in-TIFF compression is lossy |
| GeoTIFF extension | Geospatial projection and coordinate metadata stored in standard TIFF tags 34264 and 34735-34737, requiring no structural change to the file format |
| Released | 1986 (Aldus); TIFF 6.0 spec 1992, owned by Adobe since 1994 |
| Open standard | Yes · royalty-free |
| Specification | www.adobe.io |
TIF conversions
Community Q&A
asked by usersNo questions yet - be the first to ask about TIF files.