Searchable reference of request and response headers with examples
MIME Type Lookup
Get the right Content-Type for a file, so browsers display or download it correctly.
Loading tool…
How to use mime type lookup
Type an extension such as .webp, or a type such as video/mp4.
Filter by group if you are browsing.
Or pick a file to see the type your browser assigns it.
Copy the type you need.
What this tool does
- About 130 types for web, image, audio, video, font, document, archive, data and 3D formats.
- Marks which types are registered with IANA and which are common conventions such as application/x-7z-compressed.
- Notes traps such as .ts being both TypeScript and MPEG transport streams, and text/javascript replacing application/javascript.
- Searching by extension ranks the usual type first.
How the result is verified
Types follow the IANA Media Types registry, checked entry by entry, with each registration status shown.
Frequently asked questions
What MIME type should I use for an unknown file?
application/octet-stream. It tells the browser the bytes are arbitrary binary data, so it downloads the file instead of trying to show it.
Is it text/javascript or application/javascript?
text/javascript. RFC 9239 made it the one standard type for JavaScript in 2022 and marked the others obsolete.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
Every status code with its meaning, when to use it and its RFC
Identify files from their contents and flag wrong extensions
Send GET, POST, PUT, PATCH and DELETE requests from your browser