Skip to main content
KalkuNet

File Extension ⇄ MIME Content-Type Lookup — With IANA Registry Status

Look up exact MIME Content-Type headers for web, video, fonts & JSON/YAML.

Runs in your browserNetwork · Ports, Protocols & Infrastructure Utilities
InputContent-TypeExtensionsCategoryIANA
jstext/javascriptRFC 9239 makes text/javascript the type; application/javascript and application/x-javascript are obsolete..js .mjsWebregistered
woff2font/woff2The modern web font; RFC 8081 font/* types replaced application/font-woff..woff2Fontregistered
logo.svgimage/svg+xml.svgImageregistered
.webmanifestapplication/manifest+jsonThe web app (PWA) manifest; browsers read it for icons and standalone mode..webmanifestWebregistered
wavaudio/wavThe IANA-registered type is audio/vnd.wave, but browsers and servers use audio/wav..wavAudionot registered
application/pdfapplication/pdf.pdfDocumentregistered
text/csv; charset=utf-8text/csv.csvDataregistered
xyznot 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.

Learn more