MIME Type Lookup
Search MIME types by file extension or type. See the right Content-Type for PDF, JSON, PNG, SVG, MP4, DOCX and about 200 more, and which ones compress well.
Runs in your browser. Nothing you add is uploaded.
What the MIME Type Lookup does
A MIME type (also called a media type or content type) is the label that tells software what a file is: image/png, application/json, text/css. Servers send it in the Content-Type header, browsers use it to decide whether to display, run or download a file, and upload forms send it to describe each file. Search by file extension to find the type to serve, or search by type to find every extension that uses it, across about 200 common formats.
How to find a MIME type
- Type a file extension with or without the dot (pdf), a MIME type (image/webp), or a word such as video or font.
- Narrow the results with a category button: Image, Video, Document, Archive and so on.
- Read the type, the description and any “unregistered” flag in each row.
- Use Copy to put the MIME type on your clipboard.
- Type an exact MIME type to see every extension that uses it, and whether it compresses well.
The MIME Type Lookup runs entirely in your browser — nothing you enter is uploaded, stored, or logged.
When to use it
Configuring a web server
Set the correct types for unusual files such as .webmanifest, .wasm or .woff2 so browsers handle them properly.
Validating uploads
Look up the allowed types for an upload field, for example application/pdf and image/jpeg, to build an allow-list.
Setting headers for downloads
Find the right Content-Type for a generated file and pair it with Content-Disposition in the Content-Type Lookup or the Header Generator.
Good to know
- JavaScript is text/javascript (RFC 9239). application/javascript is obsolete.
- Always send a charset with text types, for example text/html; charset=utf-8.
- Do not compress images, video, archives or fonts such as WOFF2 again: they are already compressed.
- Never trust a file extension alone for security. Check the file contents.
- application/octet-stream means unknown binary data and triggers a download.
Frequently asked questions
What is a MIME type?
What is application/octet-stream?
Why is a type marked unregistered?
What is the MIME type for .docx, .xlsx and .pptx?
Why do browsers sometimes ignore my Content-Type?
Is MIME type the same as file extension?
Related tools
HTTP Status Code Lookup
Look up any HTTP status code: meaning, causes and how to fix it.
User-Agent Parser
Identify the browser, OS, device or bot behind a User-Agent.
URL Parser
Break a URL into scheme, host, port, path, query and fragment.
Query String Parser
Turn a query string into a table or JSON, decoded.