File Extension ⇄ MIME Content-Type Lookup — With IANA Registry Status
Look up exact MIME Content-Type headers for web, video, fonts & JSON/YAML.
| Input | Content-Type | Extensions | Category | IANA |
|---|---|---|---|---|
js | text/javascriptRFC 9239 makes text/javascript the type; application/javascript and application/x-javascript are obsolete. | .js .mjs | Web | registered |
woff2 | font/woff2The modern web font; RFC 8081 font/* types replaced application/font-woff. | .woff2 | Font | registered |
logo.svg | image/svg+xml | .svg | Image | registered |
.webmanifest | application/manifest+jsonThe web app (PWA) manifest; browsers read it for icons and standalone mode. | .webmanifest | Web | registered |
wav | audio/wavThe IANA-registered type is audio/vnd.wave, but browsers and servers use audio/wav. | .wav | Audio | not registered |
application/pdf | application/pdf | Document | registered | |
text/csv; charset=utf-8 | text/csv | .csv | Data | registered |
xyz | not in the table; servers usually send application/octet-stream for unknown extensions | |||
Registration status comes from the IANA Media Types registry (data 2026-11-23). Common but unregistered types such as audio/wav or video/webm are still safe to use because browsers know them.
When to use the File Extension ⇄ Content-Type MIME Lookup
Both directions
Enter an extension such as woff2, a file name such as logo.svg or a Content-Type such as application/pdf. The tool gives the right type, or the extensions for a type. Parameters such as charset=utf-8 are ignored when searching, and unknown lines get a note.
Following current RFCs
JavaScript uses text/javascript per RFC 9239, YAML uses application/yaml (RFC 9512) and fonts use font/woff2 (RFC 8081), not the old names still found in many configs.
Honest registry status
Every type is marked as registered or not in the IANA Media Types registry. Common types such as audio/wav and video/webm are not registered but browsers still know them.
Server configuration
Results can be written as an nginx types block or Apache AddType lines, ready to paste when a server sends the wrong type for some files. Each type is written once even when looked up several times.
Frequently asked questions
What type do unknown files get?
application/octet-stream, which makes browsers offer a download instead of showing the file.
Does JSON need a charset?
No. RFC 8259 makes JSON always UTF-8, so plain application/json is correct.
Why does .exe have several types?
Its registered type is application/vnd.microsoft.portable-executable, but many servers use application/x-msdownload or application/octet-stream.
How do I check the type a server sends?
Use the HTTP Headers Viewer to see a URL's Content-Type header.
Is my data sent to a server?
No. Searching runs in your browser against a table loaded with the page.
Similar tools
- Well-Known TCP/UDP Port Number & Service LookupSearch standard ports for MikroTik, SSH, CCTV RTSP, Proxmox, WireGuard & DB.
- HTTP Status Code (100–599) Meaning LookupSearch every HTTP response status code (200, 301, 403, 429, 502, 504, 530).
- Firewall TCP/UDP Port Range CompressorCollapse comma-separated TCP/UDP port numbers into compact contiguous firewall ranges.
- IPv4 (in-addr.arpa) & IPv6 (ip6.arpa) PTR Zone GeneratorBuild BIND/PowerDNS PTR reverse lookup zone names for IPv4 & IPv6 addresses.