MIME Types Reference
Type an extension or a MIME type to find the match, then copy the value for your server, upload form or HTTP header.
- Type an extension or MIME type
- Browse the matches
- Copy the MIME type
Your files never leave your device
How to use the reference
A MIME type tells software what kind of data it is looking at. Type a file extension such as svg, or part of a type such as image, into the search box and the table shows each extension with its MIME type. Copy the value you need into your server settings, a form, or code.
- A MIME type has a type and a subtype, like image/png.
- Servers send it in the Content-Type header so browsers know how to handle a file.
- Use application/octet-stream when the type is unknown.
A worked example
You upload a vector logo and the browser shows it as a download instead of an image. Search for svg and you will find the type image/svg+xml, which you then set as the Content-Type of the response. In the same way, JSON data is application/json and an MP4 video is video/mp4.
On an upload form you can limit files with the accept attribute, for example accept="image/png, image/jpeg", using the types you looked up here.
Limits and common mistakes
The list covers the common web, document, image, audio, video and font types based on IANA media types, not every registered or vendor-specific type. If an extension is not found, try searching by the type name instead.
A frequent mistake is trusting the extension alone. A file can be renamed, so the server should check the real content when security matters. Also, some formats have more than one accepted type, so check what your target system expects.
Frequently asked questions
What is a MIME type?
It is a label that tells software what kind of data a file or response contains, written as type and subtype, for example text/html.
Where do I use MIME types?
In Content-Type headers, upload validation, HTML type attributes and file pickers, for example the accept attribute of a file input.
What is application/octet-stream?
It is a generic type for binary data of unknown kind. Browsers usually download such a file instead of showing it.
Why do some extensions share a type?
Variants such as .jpg and .jpeg are the same format, so they map to the same MIME type.
Is the list complete?
It covers the common web, document, image, audio, video and font types, not every rare or vendor-specific format.
Is anything uploaded?
No. The list runs on your device and your searches are not sent anywhere.