MIME Type Lookup

Type an extension in the Extension field—png is the default—or include a leading dot; both work. Click Lookup and the result shows .ext → mime/type, for example .png → image/png.

Updated 2026-08-04 · Developer

Click Lookup.

About this tool

The built-in map covers common web and media extensions including html, css, js, json, png, jpg, svg, webp, pdf, csv, xml, zip, mp3, mp4, and wasm. Extensions are lowercased and normalized before lookup; unlisted values return No mapping for .ext.

How to use

  1. Open the lookup: Load the page with the Extension input, Lookup button, and result div.
  2. Enter an extension: Type png, json, pdf, or another supported suffix without worrying about the dot.
  3. Click Lookup: Press Lookup to normalize the extension and search the map.
  4. Use the MIME type: Copy the .ext → mime line from the result into server config or API docs.

Common use cases

Tips

FAQ

Which extensions are supported?

html, htm, css, js, json, png, jpg, jpeg, gif, svg, webp, pdf, txt, csv, xml, zip, mp3, mp4, and wasm.

What if the extension is empty?

Lookup shows Enter a file extension until you provide a value.

Does .PDF work?

Input is lowercased, so PDF becomes pdf and maps to application/pdf.

Is lookup done online?

No. Matching uses the embedded extension table in your browser.

Related keywords

Related tools