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
- Type an extension (jpg, pdf, wasm) or a MIME type (image/png).
- Read the exact match card at the top.
- Browse the filtered table below for near matches.
- Copy the extension or MIME value you need.
- 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.
Related tools
View all developer tools →JSON Formatter & Validator
Format, minify and validate JSON instantly with clear error messages that point at the exact problem.
Dev ToolsJSON Validator
Check if your JSON is valid and find syntax errors with exact line and column.
Dev ToolsJSON Minifier
Compress JSON to its smallest valid form for storage and transport.
Dev ToolsJSON to CSV
Convert a JSON array of objects into a clean CSV file in one click.
Dev ToolsCSV to JSON
Convert CSV (from Excel or Google Sheets) into a JSON array of objects.
Dev ToolsBase64 Encoder
Encode text or files to Base64 — standard or URL-safe — in your browser.