Code tool

MIME Type Lookup

Find the content type for a file extension, or search a MIME type to see its usual extension and web usage.

In-browser processingNo account requiredPrivacy details ↗

Search a built-in list of common web, document, archive, audio, and video types. No request is made.

Enter an extension such as .json or a type such as application/pdf.

A QUICK WALKTHROUGH

How to use this tool

  1. Enter an extension such as .png or a MIME type such as image/png.
  2. Choose whether to search extensions, MIME types, or both.
  3. Copy the matching MIME type when you need it for HTTP headers, uploads, or code.

A practical reference

The table covers common text, image, audio, video, document, archive, font, and application formats used on the web. Search is case-insensitive and accepts an optional leading dot before an extension.

MIME types depend on context

A MIME type describes the media format, but a browser or server may still apply its own sniffing, upload policy, or content-disposition rules. Confirm the type against the format you actually generated and set security headers appropriately.

GOOD TO KNOW

Common questions

Should I include the leading dot?

Either form works. The lookup treats png and .png as the same extension.

Can this identify an unknown file from its bytes?

No. It is a reference lookup by extension or MIME name and does not inspect file contents.

Does the lookup contact a server?

No. The reference data and search run entirely in your browser.