The MIME Type Lookup & File Extension Map answers both questions developers ask about content types: “what MIME type does this extension use?” and “what extensions does this MIME type cover?” It searches a built-in registry instantly and entirely offline.
How it works
The tool ships with a curated subset of the IANA / mime-db registry mapping each MIME type to its associated file extensions. When you type:
- an input containing a slash (e.g.
application/pdf) it is treated as a MIME type and the tool lists every registered extension; - otherwise the input is treated as a file extension (a leading dot is optional) and the tool returns the matching MIME type along with that type’s full extension list.
If an exact match is not found, the tool falls back to a substring search so a partial MIME fragment still surfaces likely candidates.
Example
Entering png returns image/png with the extension .png. Entering
image/jpeg returns the extensions .jpg, .jpeg and .jpe. Entering an
unknown extension suggests application/octet-stream as the safe default.
Notes
Use the result to set an accurate Content-Type header on your server.
Browsers MIME-sniff responses and, as a security measure, will refuse to execute
a script or apply a stylesheet labelled with the wrong type — so correct content
types keep pages working and close content-confusion attack vectors. The
registry is bundled locally, so lookups need no network access.