正在加载,请稍候…

MIME Types Reference & Lookup

Look up MIME types by file extension or convert extensions to MIME types. Covers 1000+ file types including images, video, audio, documents, and programming languages.

How to Use

  1. Step 1: Enter a file extension (e.g. .pdf) or a MIME type (e.g. application/pdf).
  2. Step 2: The matching MIME type or extension is found instantly.
  3. Step 3: Click to copy the result.

Frequently Asked Questions

What is a MIME type?

MIME type is a standard identifier for the format of a file consisting of a type and subtype such as text/html, application/json, or image/png.

Why are MIME types important for web development?

Servers use MIME types to tell browsers how to handle files. An incorrect MIME type can cause files to be downloaded instead of displayed.

What are the most important MIME types to know?

Essential types: text/html, text/css, application/javascript, application/json, image/png, image/jpeg, image/svg+xml, image/webp, video/mp4, application/pdf, application/zip, multipart/form-data. Content-Type header declares format sent; Accept requests preferred format.

What are the critical roles of MIME types in web development?

Key roles of MIME types: browsers use Content-Type to decide how to handle a response (display, download, or render); an incorrect MIME type may cause files to download instead of display (e.g., PDFs); API responses must set application/json; validating MIME types on file upload helps prevent malicious files (but must be combined with magic-byte inspection of file content).