Skip to content
hateitall

MIME Type Lookup

Get the right Content-Type for a file, so browsers display or download it correctly.

Processed locallyIn: Text, FilesOut: Reference

Loading tool…

How to use mime type lookup

  1. Type an extension such as .webp, or a type such as video/mp4.

  2. Filter by group if you are browsing.

  3. Or pick a file to see the type your browser assigns it.

  4. Copy the type you need.

What this tool does

  • About 130 types for web, image, audio, video, font, document, archive, data and 3D formats.
  • Marks which types are registered with IANA and which are common conventions such as application/x-7z-compressed.
  • Notes traps such as .ts being both TypeScript and MPEG transport streams, and text/javascript replacing application/javascript.
  • Searching by extension ranks the usual type first.

How the result is verified

Types follow the IANA Media Types registry, checked entry by entry, with each registration status shown.

Frequently asked questions

What MIME type should I use for an unknown file?

application/octet-stream. It tells the browser the bytes are arbitrary binary data, so it downloads the file instead of trying to show it.

Is it text/javascript or application/javascript?

text/javascript. RFC 9239 made it the one standard type for JavaScript in 2022 and marked the others obsolete.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Searchable reference of request and response headers with examples

Text→ ReferenceLight on device

Every status code with its meaning, when to use it and its RFC

Number · Text→ ReferenceLight on device

Identify files from their contents and flag wrong extensions

Any files · Folders→ ReportLight on device

Send GET, POST, PUT, PATCH and DELETE requests from your browser

URL · JSON · Text +→ ResponseModerate on device