(Dokumentation på engelsk)
What it does
The MIME Type Reference is a searchable map of common file extensions to their standard MIME (Content-Type) strings, grouped by the seven top-level media types - text, image, audio, video, application, font, and multipart. Look a format up by its extension or by its MIME type, filter the table by category, and copy the exact Content-Type for any format. It is a quick-lookup table, not a guesser: every mapping is a hand-curated, standards-aligned value.
How to use it
- Search by extension (e.g.
png), MIME type (e.g.image/jpeg), or format name (e.g.spreadsheet). - Use the category switch to narrow the table to one top-level type (text, image, …).
- Click a format to read its full name and Content-Type.
- Hit Copy type to grab the exact
Content-Typestring for headers, configs, oracceptlists.
Examples
PNG lookup
.png → image/png - the canonical Content-Type for PNG images.
JavaScript ambiguity
.js → two entries: text/javascript (modern, WHATWG) and application/javascript (legacy) - the same extension legitimately maps to more than one type.
Reverse lookup
image/jpeg → both .jpg and .jpeg - one MIME type can cover several extensions.
Good to know
- Everything runs in your browser. No file is uploaded; the tool is a static reference table. Nothing leaves your machine.
- Curated, not inferred. A file’s true type is determined by its bytes, not its name - servers sniff content or trust an uploaded
Content-Type. Treat this table as the conventional, standards-aligned default, and verify untrusted uploads server-side. typematches the MIME. Each entry’s category is the first segment of its own Content-Type (svgisimage/svg+xml, so it sits under image, not text).- Related tools: HTTP Methods Reference, HTTP Status Codes, JSON Formatter.