MIME Types Cheat Sheet

Look up MIME types online. The cheat sheet lists 33 common file extensions with their MIME types, supports searching by extension, MIME type or description, and copies any value with a single click.

FreeOnline Tool
Loading…

How to Use

  1. The page lists all of the built-in file extensions and their matching MIME types by default
  2. Type into the search box to filter the list live, whether you enter an extension (json or .json), a MIME type fragment (image/) or a description keyword
  3. Click an extension or MIME type cell in the table to copy that value straight to your clipboard

Features

  • Covers 33 common file extensions and their MIME types across web files, documents, images, audio, video, fonts and archives
  • Live filtering by extension (with or without the leading dot), by part of a MIME type or by a description keyword
  • Click any extension or MIME type cell to copy it instantly, with no need to select the text by hand

Use Cases

Setting Content-Type on an API
Look up the correct MIME type to return when building file upload and download endpoints.
Configuring MIME mappings on a web server
Find the standard extension-to-type mapping when configuring static file handling in Nginx or another web server.
Troubleshooting file type detection
When a browser or system fails to recognize a file, check whether the standard MIME type for that extension is configured correctly.
Writing upload validation rules
Get the exact MIME type strings you need for an accept attribute or a server-side file type check.

FAQ

What can I search for?
You can search by extension with or without the leading dot (.json or json), by part of a MIME type (image/ matches every image type) or by a keyword from the description.
What happens when I click a table cell?
Clicking an extension or MIME type cell copies that value to your system clipboard, ready to paste into your code or configuration file.
Why do some extensions have more than one possible MIME type?
This sheet lists the most widely used standard MIME type for each extension. In practice some types, such as the legacy Office formats .doc and .xls, vary slightly between systems and tools, so verify against your actual use case.
Does it include every MIME type?
No. It covers the 33 file types that come up most often in day-to-day development rather than the complete IANA registry, so it stays focused and practical.