MIME Lookup
Look up MIME types by file extension or find extensions for a MIME type
About MIME Lookup
Finds the MIME type for a file extension, or lists every extension mapped to a given MIME type, using a built-in table of more than 50 common formats across text, code, images, audio, video, office documents, archives and fonts. Lookups are case-insensitive and update as you type. Useful when setting Content-Type headers, configuring a web server or deciding which files an upload form should accept.
Category: API.
Frequently asked questions
What is a MIME type?
▾
A label that identifies the format of a file or data stream, used in email attachments and HTTP Content-Type headers. Format: type/subtype — for example, text/html, image/png, application/json.
Why does my search return no match?
▾
The lookup accepts only an extension, such as png or .png, or an exact type/subtype, so full file names and parameters like ; charset=utf-8 don't match. Extensions outside the built-in list of common formats aren't found either.
Why does a MIME type return several extensions?
▾
Some types map to more than one extension: image/jpeg lists .jpg and .jpeg, and text/html lists .html and .htm. Looking up an extension, by contrast, always returns a single MIME type.
What is the difference between application/octet-stream and other types?
▾
application/octet-stream is the generic binary type — it signals arbitrary binary data with no specific format. Browsers typically trigger a download for this type rather than displaying the content.