MIME Type Lookup

Find the right MIME (media) type for a file extension, look up an unfamiliar Content-Type string, or browse common types by category, from application and image to font and video. Each entry lists its extensions and lets you copy the MIME type, the extension or a ready-made Content-Type header. The search runs entirely in your browser.

How to use

  1. Type a MIME type, an extension or a keyword in the search box, for example image/png, .pdf, woff2 or json.
  2. Optionally filter the list by category, such as application, image, font or video.
  3. Read the matching entries with their extensions and descriptions.
  4. Click "Copy type", "Copy extension" or "Copy header" to copy the value you need.

Example

Input

.json

Output

MIME type: application/json
Extensions: json
Content-Type header: Content-Type: application/json; charset=utf-8

Frequently asked questions

What is a MIME type?

A MIME type (or media type) is a label such as text/html or image/png that tells browsers and servers what kind of data a file or HTTP response contains. Servers send it in the Content-Type header.

Do I need to type the dot before the extension?

No. Both pdf and .pdf work.

Why does the copied header sometimes include charset=utf-8?

Text-based types, such as everything under text/ and formats like application/json or application/xml, are usually served with an explicit character set, so the copied header adds "; charset=utf-8". Binary types such as image/png are copied without it.

Why are some extensions listed under more than one MIME type?

Some formats are served under several names, for example .yaml as both application/yaml and text/x-yaml. The list shows every common variant so you can pick the one your client expects.

Related tools