MMaxTools

MIME Type Lookup

Find the MIME type for any file extension — and vice versa.

The MIME Type Lookup answers both directions of the same question: what MIME type does a .webp file have? (image/webp) — and what extensions share the type application/json? (.json). Just type either and matching entries appear instantly.

MIME types are the Content-Type headers servers send and the accept attribute browsers use — getting them wrong breaks file downloads (a PDF served as text/plain opens as garbage) and upload validation. This lookup covers web formats, documents, images, audio, video, fonts and archives.

The reference is a curated map of the types that actually appear in development work. Everything runs locally in your browser — no network needed.

MIME types tell browsers and servers what a file contains. The map covers common web, document, image, audio, video and font formats.

How to use the MIME Type Lookup

  1. Type an extension (jpg, pdf, wasm) or a MIME type (image/png).
  2. Read the exact match card at the top.
  3. Browse the filtered table below for near matches.
  4. Copy the extension or MIME value you need.
  5. Use it in your server config or code.

Frequently asked questions

Why does my file download instead of opening in the browser?

The server is likely sending the wrong or missing Content-Type — often application/octet-stream, which browsers treat as 'download this'. Setting the correct MIME type makes PDFs, images and text open inline.

What is the difference between text/javascript and application/javascript?

Historically both were used; the official registered type is text/javascript, which is what the WHATWG HTML standard specifies and what servers should send for .js files.

Where do MIME types come from?

IANA maintains the registry; browsers and operating systems ship their own mapping tables, which is why the same extension can resolve slightly differently across tools. This lookup reflects the standard registered types.