MIME Type Lookup

Quickly find file extensions and MIME types.

Category: Dev Tools

When to use?

Use it to check the Content-Type header for a file upload/download API, or to find a file extension's MIME type.

How to use

  • Enter a file extension (e.g. .pdf, .mp4) or a MIME type.
  • The matching MIME type or extension is shown.

Input Explanation

Enter an extension (e.g. .json, png) or a MIME type (e.g. application/json) in the search box.

Calculation Basis

It searches a built-in IANA-compatible MIME-type mapping bidirectionally — by key (extension) or value (MIME type) — and filters matches.

Usage Examples

  • Set response headers - Find the Content-Type for a file upload/download response.
  • Quick pre-deploy check - Check inputs and output to reduce errors before dev/ops work.
  • Aid docs/reviews - Copy the result into dev docs, issues, or review comments.

Examples

  • .pdf → application/pdf
  • .mp4 → video/mp4
  • .json → application/json

Cautions

  • Generated output is for reference; test carefully before production use.
  • It focuses on common web file types.

Guides

What a MIME type is

A MIME type is a standard identifier for a file kind. For example, HTML is text/html, JSON is application/json, and a PNG is image/png.

API and server config

Set the correct MIME type in the HTTP Content-Type header so the browser handles the file correctly. Use it to quickly look up MIME types by extension.

FAQ

Does it include every MIME type?

It focuses on common web file types.

Does it search extension and type both ways?

Yes — find a MIME type by extension, or an extension by MIME type.

What about extensions not in the list?

For uncommon extensions, check your server config docs for accuracy.

Where is the MIME type used?

In the server Content-Type header and file-upload validation; it tells the browser how to handle a file.

Related Tools

  • HTTP Status Code Lookup - Quickly look up the name and meaning of an HTTP status code.
  • File Size Converter - Convert Byte, KB, MB, GB, TB file size units on a 1000 or 1024 basis.
  • Base64 Converter - Encode text to Base64 or decode a Base64 string back to text.
  • JSON Formatter - Beautify or minify JSON strings instantly and check for validity errors.
  • UUID Generator - Generate up to 20 cryptographically secure UUID v4 values at once.
  • Password Generator - Generate secure random passwords in the browser by choosing length, character set, and count.