Development

MIME Type Lookup

Look up common file extension to MIME type mappings, or reverse a MIME type into the built-in list of matching extensions.

Free to use No sign-up Runs in your browser

Tool workspace

What Is a MIME Type Lookup Tool?

A MIME type lookup tool helps you move between common file extensions such as .json or .png and the content types used in HTTP headers, uploads, and server configuration. This implementation uses a compact built-in mapping of common extensions and media types, can list the whole table when the input is blank, and can reverse an exact MIME type into one or more known extensions, but it is not a complete IANA registry browser.

How to Use the MIME Type Lookup Tool

  1. 1Enter a file extension like json, .svg, or pdf in the Input box when you want the matching MIME type.
  2. 2Enter a MIME type such as image/png when you want the tool to list every matching extension from the built-in mapping.
  3. 3Leave the Input box empty to display the full bundled table, then copy the line you need into your server config, API docs, or upload rules.

Common MIME Type Lookup Use Cases

Setting HTTP Content-Type headers

Look up the correct media type for static files and API responses before you update a reverse proxy, CDN rule, or application response header.

Verifying upload allowlists

Reverse a MIME type into the extensions you expect to accept when you are documenting or checking file upload restrictions.

Reviewing quick reference mappings

Use the blank-input table as a lightweight cheat sheet for common web file types without opening a longer specification page.

Frequently asked questions

Is the mapping exhaustive for every registered MIME type?

No. The table is intentionally small and focuses on common web and document formats. If you need obscure or vendor-specific media types, confirm them against the relevant standard or registry.

Does the lookup contact a remote database?

No. The conversion uses the static mapping bundled with the page, so your queries are resolved locally in the browser without a live MIME lookup service.