Toolgeist › Developer

MIME Type Lookup — File Extension to Content-Type Reference

Search by file extension or MIME type to find the correct match — the Content-Type header value that needs to be right for a browser to handle a served file correctly, or for an upload validator to accept the file types you intend.

How to use MIME Types

  1. Search by file extension (e.g. ".json") or MIME type.
  2. Read the matched value.
  3. Copy it for your Content-Type header or file validator.

Frequently asked questions

Why does the MIME type matter for file uploads?
A server or browser often decides how to handle a file based on its declared MIME type — a wrong or missing type can cause a file to download instead of display, or fail a strict upload validator.
What if a file extension has multiple possible MIME types?
Some extensions map to more than one valid MIME type depending on context (e.g. .js as text/javascript vs application/javascript); the lookup shows the current standard recommendation.
Is this list kept current?
It follows the IANA media type registry and current browser/server conventions, reviewed as standards evolve.

Related Developer tools

Also searched for: mime type for file extension · content-type lookup table · file extension to mime type

Browse all 738 free tools on Toolgeist →