MIME Type Lookup

MIME type and file extension reference

Runs in your browserReference07Network & Web

What is MIME Type Lookup?

This MIME type lookup table maps more than 50 common file extensions to their Content-Type values, including the ones that are easy to misconfigure such as wasm, avif, and ndjson, and flags specification changes along the way (JavaScript, for example, should now be served as text/javascript). The table ships with the page, so every lookup runs locally.

How to use MIME Type Lookup

  1. 1Type a file extension or MIME type keyword into the search box.
  2. 2Use the copy button to grab the full Content-Type value.
  3. 3Watch for types that carry a charset: text responses should declare their character encoding explicitly.

Frequently asked questions

Which MIME type should I use for JavaScript?+

text/javascript is the correct type under the current specification. application/javascript and application/x-javascript are marked obsolete; browsers still accept them, but any new configuration should standardize on text/javascript.

Why does WebAssembly require an exact MIME type?+

WebAssembly.instantiateStreaming strictly validates that the response Content-Type is application/wasm. A mismatch throws an error outright and forces a fallback to the slower non-streaming path. It is one of the most commonly missed entries in a default Nginx mime.types file.

Related tools

All tools