MIME Types (Reference)
Searchable MIME type table — search by extension (.json, .pdf) or MIME (application/json, image/png). Includes common formats for web, audio, video, fonts and documents. Everything in your browser.
—
| Extensão | MIME |
|---|
The right Content-Type for each extension
The browser downloads a file instead of displaying it, a stylesheet gets ignored with a MIME warning, or an upload is rejected because the Content-Type does not match: the cause is almost always a wrong MIME type in server config or code. This table gathers 70 common formats, from documents and images to audio, video, fonts and packages, and filters as you type, by extension (.json) or by part of the MIME string (application/json).
On the web the Content-Type header wins, not the file extension: if the server declares text/plain for a .css file, the browser refuses the stylesheet. A few details catch even experienced people: the current type for JavaScript is text/javascript (application/javascript was demoted), .svg only renders as image/svg+xml, and application/octet-stream is the generic type that makes browsers download a file rather than display it.
Use the table when configuring a server (Nginx mime.types, Apache AddType), filling the accept attribute of an upload field or validating Content-Type in an API. Just do not confuse lookup with detection: an extension proves nothing about what is really inside a file; that requires reading its first bytes (magic numbers). The list covers everyday formats, not the full IANA registry, and the search runs entirely in your browser.
Frequently asked questions
What is the correct MIME type for JavaScript?
Why does my file download instead of opening in the browser?
Does the MIME type guarantee what is inside the file?
Related Tools
File Extension by MIME Type Lookup
Type a MIME type such as image/png or application/pdf and read back the matching file extension from a table of 24 common web content types.
Content-Type Parser
Decompose a Content-Type header into mediatype, charset, boundary and other parameters. Useful when debugging APIs and uploads.
MIME Type by File Extension
Type an extension such as json, webp, woff2 or mp4 and get the content-type value, from a table of 38 entries that falls back to application/octet-stream.
Content-Disposition Filename Parser
Pulls the download filename out of a Content-Disposition header, preferring the percent-encoded filename* form from RFC 5987 and decoding it for you.
HTTP Accept Header Content Negotiation Matcher
Paste a client Accept header and the comma-separated media types a server offers to see which one wins and at what q value. Exact types and */* only.
Cache-Control max-age Explained
Convert the Cache-Control max-age value (in seconds) into a readable time in hours and days. Useful for understanding and debugging HTTP cache and CDNs.