Free webp to jpg
TIFF

Tagged Image File Format (Legacy MIME)

image/x-tiff Released 1986 · by Aldus Corporation (Later acquired by Adobe Systems)

The image/x-tiff MIME type is a legacy, non-standard alias for the Tagged Image File Format (TIFF). While the official IANA standard is 'image/tiff', the 'x-tiff' variation was historically used by older web browsers, legacy scanning software, and early email clients before MIME standardization was strictly enforced. The underlying file is identical to a standard TIFF—a highly flexible, complex container format widely used in professional photography, desktop publishing, and document scanning. It supports multiple layers, rich metadata (EXIF, IPTC, XMP), deep color precision (up to 32-bit float per channel), and various compression algorithms (LZW, ZIP, PackBits, or uncompressed).

Raster Graphics & Publishing Transparency ✦ HDR Production Ready

Technical Specifications

MIME Type
image/x-tiff
Extensions
.tiff.tif
Container
IFD (Image File Directory) Tag Structure
Compression
Uncompressed & LZW (Lossless) & ZIP / Deflate (Lossless) & PackBits (Lossless RLE) & JPEG (Lossy) & CCITT Group 3/4 (Fax/Document)
Algorithms
NoneLZWDeflatePackBitsJPEGCCITT
Color Depth
1-bit (Monochrome), 8-bit (Grayscale or Indexed), 16-bit (Per Channel), 32-bit (Float Per Channel)
Metadata
EXIF XMP ICC
Capabilities
Transparency
Animation
Progressive Loading
Alpha Channel
HDR Support
Official Specification
Aliases: image/tiff

Magic Bytes & HTTP Headers

File Signature (Magic Bytes)
49 49 2A 00 (Little-endian) or 4D 4D 00 2A (Big-endian)
ASCII: II*\x00 or MM\x00*
HTTP Headers
Content-Type: image/tiff
Content-Type: image/x-tiff
HTML Accept Attribute
accept="image/tiff, image/x-tiff, .tiff, .tif"

Browser Support Matrix

Browser Status Min Version
Chrome Chrome
Not Supported
Firefox Firefox
Not Supported
Safari Safari
Not Supported
Edge Edge
Not Supported
Internet Explorer Internet Explorer
Not Supported Legacy

Advantages & Limitations

Advantages
  • Universally accepted as the gold standard for high-fidelity archival and professional print workflows
  • Highly adaptable structure supports multiple pages (documents), layers, vast bit depths, and diverse compression algorithms within a single file
  • Unmatched support for rich metadata including EXIF, IPTC, XMP, and custom ICC color profiles
Limitations
  • Produces exceptionally large file sizes compared to modern web formats
  • The 'x-tiff' legacy MIME string forces developers to write extra validation logic to prevent strict security filters from rejecting valid uploads
  • The format's immense complexity means that many lightweight parsers only implement a subset of the specification, sometimes failing to read obscure compressions (like CCITT or old JPEG-in-TIFF)

Developer Code Snippets

import magic
# Modern Libmagic will output the standardized 'image/tiff' rather than the legacy 'x-tiff'
print(magic.from_file('scan.tiff', mime=True)) # Outputs 'image/tiff'
const mime = require('mime');
// JS libraries resolve .tiff strictly to the IANA standard image/tiff
console.log(mime.getType('scan.tiff')); // Outputs 'image/tiff'

// Manually detecting the TIFF magic bytes
const fs = require('fs');
const buffer = Buffer.alloc(4);
const fd = fs.openSync('scan.tiff', 'r');
fs.readSync(fd, buffer, 0, 4, 0);
fs.closeSync(fd);
const isLittleEndian = buffer[0] === 0x49 && buffer[1] === 0x49 && buffer[2] === 0x2A && buffer[3] === 0x00;
const isBigEndian = buffer[0] === 0x4D && buffer[1] === 0x4D && buffer[2] === 0x00 && buffer[3] === 0x2A;
console.log('Is TIFF:', isLittleEndian || isBigEndian);
import (
    "bytes"
    "net/http"
)
// Native Go HTTP detection reads the 'II*' or 'MM*' header
// mime := http.DetectContentType(buf) // Returns "image/tiff"
// Example of normalizing the legacy MIME type during a file upload in PHP
$mime = $_FILES['upload']['type'];
if ($mime === 'image/x-tiff') {
    $mime = 'image/tiff';
}
echo $mime;

File Detection Steps

How to programmatically detect a image/x-tiff file by reading its raw bytes:

  1. 1 TIFF files always begin with a distinct 4-byte header indicating their endianness.
  2. 2 Little-endian (Intel) TIFFs begin with 'II' followed by 42 (Hex: 49 49 2A 00).
  3. 3 Big-endian (Motorola) TIFFs begin with 'MM' followed by 42 (Hex: 4D 4D 00 2A).
  4. 4 When receiving 'image/x-tiff' from an HTTP form upload, developers should programmatically normalize the string to 'image/tiff' before saving the file metadata to ensure strict compatibility.

Software Support

A
Adobe Photoshop
A
Adobe Illustrator
ImageMagick ImageMagick
GIMP GIMP

Conversion Tools

Share & Embed

Markdown Badge
TIFF Format Badge
[![TIFF Format](https://freewebptojpg.com/mime/image/tiff/badge.svg)](https://freewebptojpg.com/mime/image/tiff)
Interactive iframe Widget
<iframe src="https://freewebptojpg.com/mime/image/tiff/embed" width="100%" height="280" style="border:1px solid #cbd5e1;border-radius:8px;" title="TIFF Specs"></iframe>

JSON API

All data on this page is available as a free, open JSON API. Use it in your project, documentation, or tooling.

GET https://freewebptojpg.com/mime/image/tiff.json Open JSON
Free to use
No auth required
CORS enabled
Use from any domain
Cached 24h
Cache-Control headers set

Frequently Asked Questions

What is the difference between image/tiff and image/x-tiff?

There is no difference in the actual image file structure. 'image/tiff' is the officially registered IANA MIME type. 'image/x-tiff' is an older, experimental or vendor-specific designation often sent by legacy software or old web browsers during file uploads.

Why is my application receiving image/x-tiff files?

If a user uploads a scanned document or photograph using outdated software (like early Windows utilities or legacy enterprise intranet portals), the client's internal registry may still map .tiff files to the 'image/x-tiff' MIME type.

Are TIFF files supported in web browsers?

Generally, no. Except for older versions of Safari on macOS, modern web browsers (Chrome, Firefox, Edge) do not natively render TIFF files inline. They will typically prompt the user to download the file instead. For web display, TIFFs must be converted to JPEG, PNG, or WebP.

Related Formats

Share this format