Boneyard Tools

MIME Type Lookup

Type a file extension to see its MIME type, or paste a MIME type to see which extensions use it. Handy when setting a Content-Type header or configuring a server. Everything runs in your browser.

How to look up a MIME type

  1. Type a file extension like png, json or .svg into the search box.
  2. Read the matching MIME type, ready to drop into a Content-Type header.
  3. Or paste a MIME type such as image/png to list every extension that uses it.

Examples

Extension to MIME type

.svg
image/svg+xml

MIME type to extensions

image/jpeg
jpeg, jpg

Frequently asked questions

What is a MIME type?

A MIME type, also called a media type, is a short label like text/html or image/png that tells software what kind of data a file holds. The part before the slash is the general category and the part after is the specific format.

Where does the Content-Type header use this?

When a server sends a file, it sets a Content-Type header to the file's MIME type. The browser reads that header to decide how to handle the response, for example rendering HTML, showing an image or downloading a binary.

Why does the MIME type matter when serving files?

Browsers trust the declared MIME type over the file name. Send CSS as text/plain and the page will not style; send a script with the wrong type and strict browsers will refuse to run it. The right type keeps assets working and avoids security blocks.

Why do some MIME types map to several extensions?

Many formats have more than one common extension. For example jpg and jpeg are both image/jpeg, and yml and yaml are both application/yaml. The reverse lookup lists every extension that shares a type.

Is the lookup guaranteed to be the official type?

These are the IANA registered or most widely used types for each extension. A few formats have competing types in the wild, so always confirm against your server or framework defaults if behavior looks off.

Is my input sent anywhere?

No. The extension and MIME type tables are bundled with the page, so every lookup happens locally in your browser and nothing is uploaded.

Related tools