.tif MIME Type: image/tiff

Files ending in .tif (TIFF image) use the MIME type image/tiff.

Updated

image/tiff
MIME type for .tif
Images
Category
No
Compress with gzip/Brotli

What is the MIME type of .tif files?

The MIME type (media type) for TIFF image files with the .tif extension is image/tiff. Common in print and scanning; most browsers (except Safari) cannot display TIFF.

Content-Type header

Content-Type: image/tiff

Server configuration

ServerConfiguration
Nginx (mime.types or types {})image/tiff tif;
Apache (.htaccess)AddType image/tiff .tif
IIS (web.config)<mimeMap fileExtension=".tif" mimeType="image/tiff" />
Node.js / Expressres.type('tif') or res.setHeader('Content-Type', 'image/tiff')
Amazon S3Set Content-Type: image/tiff on the object (metadata), or pass --content-type image/tiff to aws s3 cp

Should .tif files be compressed?

No. TIFF image files are already compressed internally, so gzip or Brotli would waste CPU and barely reduce — sometimes even increase — the size. Leave image/tiff out of your compression configuration.

Why the MIME type matters

Browsers decide what to do with a response — render, run, play or download — from the Content-Type header, not the file extension. With X-Content-Type-Options: nosniff, a wrong type causes stylesheets and scripts to be blocked outright. For uploads, never trust the type sent by the client; check the file’s content (its magic bytes) on the server.

MIME type lookupSearch every common file extension and MIME type, with copy-ready Content-Type headers.
Search all MIME types

Frequently asked questions

What is the MIME type for .tif?
image/tiff.
How do I set the Content-Type for .tif in Nginx?
Make sure image/tiff tif; is listed in the types block (usually in /etc/nginx/mime.types) and reload Nginx.
Should I gzip .tif files?
No — the format is already compressed, so HTTP compression gives no benefit.