MIME types
Find the MIME type for an extension, and vice versa.
- Instant
- Free
- Private (processed locally)
- No sign-up
The right Content-Type, in two seconds
Configuring a server, an API or an upload often needs the exact MIME type. This table links extensions and types both ways, with a family filter to find things fast.
-
Type your search
An extension (png) or part of a type (image).
-
Filter by family
Images, documents, audio, video, archives, web, fonts.
-
Copy the type
Paste it into your Content-Type header.
A few common types
| Extension | MIME type |
|---|---|
| .png | image/png |
| .svg | image/svg+xml |
| application/pdf | |
| .json | application/json |
| .docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
The table works entirely offline in your browser, with no network calls.
Frequently asked questions
What is a MIME type?
A MIME type (or media type) describes the nature of a file as “type/subtype”, for example image/png or application/json. Servers send it in the Content-Type header so the browser knows how to handle the resource.
Why does the right Content-Type matter?
A wrong type can stop an image from showing, a file from downloading, or a script from running. Serving JSON as text/plain, for instance, breaks some APIs. The correct type ensures proper behaviour and security.
What is the difference between .jpg and .jpeg?
None on the MIME side: both extensions map to image/jpeg. They name the same format; .jpg dates from when extensions were limited to three letters on some systems.
Do Office files have complicated types?
Yes, recent formats use long types, like application/vnd.openxmlformats-officedocument.wordprocessingml.document for a .docx. They are ZIP containers; copying the exact type avoids opening errors.