MIME Type Lookup
Look up Content-Type MIME headers by file extension or search extensions by media type.
Related developer tools
All Developer toolsBase64 Encoder & Decoder
Encode or decode UTF-8 text and convert local files into Base64 data URLs.
URL Encoder & Decoder
Percent-encode or decode URLs and inspect or edit query string parameters.
UUID Generator
Generate cryptographically random UUID v4 or time-ordered UUID v7 identifiers.
Regex Tester
Test regular expressions with live match highlights, capture groups, and replacements.
About MIME Type Lookup
Look up official IANA and web MIME Content-Type values from file extensions—or find matching file extensions from a media type—with one-click MIME and Content-Type header copy.
How to use MIME Type Lookup
- 1
Enter a file extension (such as .webp, .woff2, or .xlsx) or a MIME prefix (such as application/ or audio/).
- 2
Narrow the list by category like Web & Code, Data & APIs, Documents, Images, Audio, Video, Fonts, or Archives.
- 3
Click MIME to copy just the media type, or Header to copy a full Content-Type header line.
Frequently asked questions
What is the current standard MIME type for JavaScript files?
RFC 9239 standardizes text/javascript as the primary media type for JavaScript modules and scripts, superseding older application/javascript headers.
Which MIME type should I use for generic binary file downloads?
Use application/octet-stream when the exact file format is unknown or when you want browsers to treat the response as a raw binary download.
Why does serving the correct Content-Type matter for security?
Pairing an accurate Content-Type with X-Content-Type-Options: nosniff prevents browsers from guessing and executing uploaded files as HTML or scripts.
