MIME Types List: Lookup by Extension

This MIME types lookup lists more than 140 common file extensions with their official media types, from text/html and image/webp to application/vnd.openxmlformats-officedocument.wordprocessingml.document. Search by extension or by type, copy a value with one tap, or export the list as CSV or an Nginx types block. You can also pick a file to compare the type your browser reports, the type from its extension, and the type detected from its first bytes, which helps debug uploads and wrong Content-Type headers.

MIME Types Lookup

Search 140+ file extensions and MIME types, or drop a file to detect its real type.

Everything runs in your browser. Nothing you type is sent to a server.

How to use the MIME Types Lookup

  1. Type an extension like .webp, or part of a type like image/.
  2. Tap Copy next to the MIME type you need.
  3. Pick a file to detect its real type from its contents.
  4. Export the list as CSV or an Nginx mime.types block.

Features

  • 140+ extensions and types
  • Search by extension or type
  • File type check by magic bytes
  • CSV and Nginx export

Frequently asked questions

What is a MIME type?

A MIME type, or media type, is a label like image/png that tells browsers and servers what kind of file they are handling. It is sent in the Content-Type header.

What is the MIME type for JSON?

JSON uses application/json. JSON-LD structured data uses application/ld+json.

What MIME type should I use for JavaScript?

Use text/javascript. Older types such as application/javascript still work, but text/javascript is the current standard.

What does application/octet-stream mean?

It is the generic type for unknown binary data. Browsers usually download such files instead of opening them.

Why does my file show a different type?

Browsers guess the type from the extension. If a file was renamed, its real content can differ, which the magic-byte check reveals.