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.
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
- Open the lookup: Load the page with the Extension input, Lookup button, and result div.
- Enter an extension: Type png, json, pdf, or another supported suffix without worrying about the dot.
- Click Lookup: Press Lookup to normalize the extension and search the map.
- Use the MIME type: Copy the .ext → mime line from the result into server config or API docs.
Common use cases
- Set Content-Type headers correctly when configuring static file hosting.
- Verify whether .wasm maps to application/wasm before enabling WebAssembly modules.
- Look up MIME for csv or xml uploads in backend validation rules.
- Double-check svg versus webp image types in CDN cache settings.
Tips
- Leading dots are optional—the tool removes them before matching.
- Try jpeg as well as jpg; both resolve to image/jpeg in the map.
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.