Boneyard Tools

MIME Type Finder

Type a file extension such as png or .json to get its MIME type, or paste a MIME type such as application/pdf to list the extensions that use it. The finder decides which direction you mean by checking for a slash: a query with a slash is treated as a MIME type, otherwise it is an extension. It draws on a built-in table covering images, documents, text and code, audio, video, archives and fonts.

How to find a MIME type

  1. In the Extension or MIME type box, type a file extension, with or without the leading dot.
  2. Or paste a full MIME type such as image/jpeg to search in reverse.
  3. Watch the hint below the box confirm whether it detected an extension or a MIME type.
  4. Read the matched MIME type, or the list of matching extensions, in the panel.
  5. Click Copy to grab the MIME type or the space-separated extensions for a header or config.

Examples

Extension to MIME type

png
image/png

MIME type to extensions (several share it)

image/jpeg
jpe jpeg jpg

A dotted, upper-case extension still resolves

.JSON
application/json

Frequently asked questions

What is a MIME type?

A MIME type, also called a media type or content type, tells software what kind of data a file holds, for example image/png or application/json. A web server sends it in the Content-Type header so the browser knows how to handle the response.

How does the tool know if I typed an extension or a MIME type?

It looks for a forward slash. Any query containing a slash, like text/css, is treated as a MIME type and searched in reverse. Anything without a slash, like css, is treated as an extension. The hint line under the input tells you which mode it chose.

Does the leading dot or casing matter?

No. For extensions the finder lowercases the query and strips one leading dot, so png, .png, .PNG and PNG all resolve the same way. MIME type matching is also case-insensitive.

Why do some MIME types map to more than one extension?

Several extensions can share a type. A reverse search on image/jpeg returns jpe, jpeg and jpg, and application/yaml returns yaml and yml. The results are sorted alphabetically so the order is stable.

What happens with an unknown extension or type?

The finder only knows the extensions in its built-in table, so an obscure or made-up extension returns no match. Likewise a MIME type not in the table returns no extensions. Truly unknown binary data is conventionally served as application/octet-stream.

How many extensions and types are covered?

The table spans common formats across images, documents, text and code, audio, video, archives and fonts. It is a curated list of everyday types rather than the full IANA registry, so rare or vendor-specific types may be missing.

Is the MIME type detected from the file contents?

No. This is a name-based lookup keyed on the extension or the type string you enter. It does not read file bytes or magic numbers, so a mislabelled file will still return the type its extension implies.

Can I trust the type for setting a Content-Type header?

The values follow common web conventions and are a good default for static files. For text formats you may still want to add a charset, such as text/html; charset=utf-8, which this lookup does not append.

Is anything uploaded?

No. The lookup uses the built-in table and runs entirely in your browser, so nothing you type is sent to a server.

Learn more

Related tools