All tools

MIME Type Lookup

Code

Look up the MIME type for a file extension, or the file extension(s) for a MIME type

Type a file extension like .json or a MIME type like image/png and get the matching content type back instantly, pulled from a static table of well-known, IANA-registered types. It handles the common many-to-many cases directly: .jpg and .jpeg both resolve to image/jpeg, and looking up image/jpeg returns both extensions. Useful when configuring server Content-Type headers, upload validators, or Multer/Express file filters and you just need the exact string without digging through a spec.

mimefile-extensioncontent-typelookup

How to use MIME Type Lookup

  • 1.Type a file extension with or without the leading dot, like json or .pdf, to see its MIME type.
  • 2.Type a MIME type containing a slash, like image/png or application/pdf, to see every extension registered for it.
  • 3.Use the sample buttons for a quick example of each lookup direction.

Frequently asked questions

Is this a live registry lookup?
No, it matches against a static table of common, well-known MIME types built into the tool. Obscure or vendor-specific extensions may not be covered.
Why does .jpg show two extensions when I search image/jpeg?
Because both .jpg and .jpeg are valid extensions for the same MIME type, and the lookup returns every match, not just one.
Does it validate that a file actually matches the MIME type?
No, it's a pure lookup table, not a file inspector. Use Image Info or a similar byte-parsing tool if you need to confirm what a file's contents actually are.

Use via API, SDK, or MCP

cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/mime-lookup \
  -H "Authorization: Bearer utx_live_..." \
  -H "Content-Type: application/json" \
  -d '{"query":"json"}'

Get an API key from your dashboard · Full API docs →