MIME Type Lookup
Look up the MIME type for any file extension, or find extensions for a MIME type.
Serve a file with the wrong Content-Type and browsers do surprising things: download instead of display, refuse to run a script, or render a PDF as gibberish text. The right MIME type is the difference between a working download and a broken one — and it's rarely memorized past the common handful.
This is a searchable reference mapping file extensions to their official MIME types. Type an extension (with or without the dot) to get its Content-Type, or search by MIME type to find matching extensions. Handy when configuring a web server, setting an upload filter, or debugging a Content-Type header.
How to use MIME Type Lookup
- 1
Type an extension or MIME type
e.g. ".webp", "json", or "image/".
- 2
Read the matches
Extension, MIME type and a short description.
- 3
Use it in config
Copy the Content-Type into your server or upload validator.
Features
- Bidirectional search: extension ↔ MIME type
- Covers images, video, audio, documents, fonts and archives
- Descriptions clarify ambiguous types (like .ts)
Frequently asked questions
Common mistakes to avoid
- Serving JSON as text/plain, which breaks strict clients expecting application/json.
- Trusting a user-supplied file's extension for security decisions instead of validating the content.
Get new tools in your inbox
One email a month with new tools, guides, and updates. No spam, unsubscribe anytime.

