About the MIME Type Lookup tool
Every file a web server sends carries a Content-Type header, and browsers rely on it to decide whether to display, play or download the data. Serve a font as text/plain or a JavaScript module with the wrong type and things quietly break. Upload forms, S3 buckets, email attachments and API responses all need the correct MIME type too, but nobody remembers that .docx is application/vnd.openxmlformats-officedocument.wordprocessingml.document.
This MIME type lookup is a searchable table of more than 200 common file extensions and their media types, covering images, audio, video, fonts, documents, archives, source code, certificates, 3D models and more. Search by extension, by MIME type or by description, filter by top-level type such as image or font, and copy any value with one click.
You can also drop files onto the page to see the type your browser reports for them next to the type expected from the extension. The files are never uploaded or read; only their name, size and browser-reported type are used.
How to use MIME Type Lookup
- Type an extension such as .webp, a MIME type such as image/png, or a word like “font” into the search box.
- Use the category buttons (application, audio, font, image, model, text, video) to narrow the list.
- Click the copy icon on a row to copy its MIME type.
- To check real files, drop them on the upload area or click “Choose files”.
- Compare the “Browser type” column with “Expected from extension” for each file.
Features
200+ extensions
Covers web, Office, media, archive, font, code, certificate and 3D formats in one list.
Smart search
Exact extension matches rank first, then MIME type matches, then descriptions.
Local file check
See the MIME type the browser assigns to any file without uploading it.
Category filters
Show only image, audio, video, font, text, model or application types.
One-click copy
Copy a MIME type straight into your server config, upload validator or code.
When to use it
- Add missing types to an Nginx mime.types or Apache AddType configuration.
- Set the correct Content-Type when uploading objects to S3 or another bucket.
- Build an accept attribute or server-side whitelist for a file upload form.
- Debug why a browser downloads a file instead of displaying it.
- Look up the right type for a Content-Disposition email attachment.
Frequently asked questions
What is a MIME type?
A MIME type (media type) is a label like image/png that tells software what kind of data a file contains. It has a type and subtype separated by a slash.
What MIME type should I use for unknown files?
application/octet-stream is the generic type for arbitrary binary data. Browsers usually download such files rather than trying to display them.
Is the JavaScript MIME type text/javascript or application/javascript?
The current HTML standard and RFC 9239 specify text/javascript. application/javascript still works but is considered obsolete.
Why does my browser show an empty type for some files?
Browsers guess the type from the file extension using the operating system’s registry. If the extension is unknown to your system, the type is reported as empty.
Does the browser check the file contents?
No. The type shown is based on the extension, not on the bytes inside the file, so a renamed file will report the type of its new extension.