MIME Type Lookup

Search MIME types by file extension, content type, or description. Essential for HTTP headers and file handling.

text/plainText

Extensions: .txt

Plain text file

text/htmlText

Extensions: .html, .htm

HTML document

text/cssText

Extensions: .css

CSS stylesheet

text/javascriptText

Extensions: .js, .mjs

JavaScript code

text/xmlText

Extensions: .xml

XML document

text/csvText

Extensions: .csv

Comma-separated values

text/markdownText

Extensions: .md, .markdown

Markdown document

application/jsonApplication

Extensions: .json

JSON data

application/ld+jsonApplication

Extensions: .jsonld

JSON-LD linked data

application/xmlApplication

Extensions: .xml

XML data

application/yamlApplication

Extensions: .yaml, .yml

YAML configuration

image/jpegImage

Extensions: .jpg, .jpeg

JPEG image

MIME Type Quick Reference:

  • application/json: JSON data (use in APIs)
  • text/html: HTML documents
  • text/css: CSS stylesheets
  • image/png: PNG images
  • application/pdf: PDF documents
  • video/mp4: MP4 videos

Search by MIME type, file extension, or content type to find the right MIME type

How to Find MIME Types

  1. 1. Search by MIME type, file extension, or keyword
  2. 2. Browse results by category (text, image, audio, etc.)
  3. 3. View MIME type, extensions, and descriptions
  4. 4. Copy MIME types for use in your code
  5. 5. Scroll to see common MIME types

MIME Categories

  • Text: HTML, CSS, JavaScript, CSV
  • Image: JPEG, PNG, GIF, WebP, SVG
  • Audio: MP3, WAV, OGG
  • Video: MP4, WebM, AVI
  • Application: JSON, PDF, ZIP

Frequently Asked Questions

What is a MIME type?

MIME (Multipurpose Internet Mail Extensions) type is a standard identifier for file formats and content types on the internet. Format is 'type/subtype', like 'image/jpeg' or 'application/json'. Browsers and servers use MIME types to determine how to handle files and content.

How do I find the MIME type for a file extension?

Type the file extension (like '.pdf', '.jpg', '.mp4') in the search box. The tool will show you the corresponding MIME type (e.g., 'application/pdf', 'image/jpeg', 'video/mp4') that you should use in Content-Type headers or file upload validation.

What MIME type should I use for JSON?

Use 'application/json' for JSON data. This is the standard Content-Type for REST APIs, AJAX requests, and JSON file downloads. Older applications sometimes used 'text/json', but 'application/json' is the modern, RFC-compliant choice.

What is the difference between image/jpeg and image/jpg?

The correct MIME type is 'image/jpeg'. While some systems accept 'image/jpg', 'image/jpeg' is the official IANA-registered MIME type. Both .jpg and .jpeg file extensions use the 'image/jpeg' MIME type.

How do MIME types affect file uploads?

MIME types help validate uploads by checking if the file's Content-Type matches allowed types. For security, always validate both the MIME type sent by the browser AND the actual file content, as MIME types can be spoofed. Use a whitelist of allowed MIME types for your upload forms.

What MIME types should I use for video files?

Common video MIME types: 'video/mp4' for MP4, 'video/webm' for WebM, 'video/ogg' for Ogg, 'video/quicktime' for MOV. For HTML5 video, MP4 (video/mp4) has the best browser support. Always specify the correct MIME type in Content-Type headers for proper browser handling.

About MIME Type Lookup

MIME types are essential for proper file handling in web applications. This lookup tool provides a quick reference for developers working with HTTP headers, file uploads, and content serving.

  • • Essential for API development and file handling
  • • Critical for proper HTTP header configuration
  • • Helps with file upload validation
  • • Quick reference for common file types
  • • 100% browser-based - no tracking