jarvisbox

Web Tools /

MIME type lookup

Search by file extension (e.g. .webp) or MIME type (e.g. application/json) to find the mapping instantly.

100% in your browser. No network requests.

Type at least 2 characters to search.

How to use

  1. Type a file extension (with or without the dot) or a MIME type string.
  2. Results appear instantly as you type.
  3. Click the copy button next to any MIME type to copy it to the clipboard.

Common MIME types reference

Also see: HTTP Status Reference and Meta Tags Preview.

常見問題

What is a MIME type?
MIME (Multipurpose Internet Mail Extensions) types are labels that identify the format of data. They consist of a type and subtype separated by a slash, e.g., image/jpeg or application/json. Browsers and servers use MIME types to decide how to process or display files.
What MIME type should I use for JSON?
Use application/json. This is the correct and officially registered MIME type for JSON data. The old text/json was never standardised.
What is the MIME type for PDF files?
The MIME type for PDF files is application/pdf. Browsers will typically display the PDF inline or open a PDF viewer rather than downloading the file.
What is the MIME type for SVG?
SVG files use image/svg+xml. When serving SVG from a web server, set Content-Type: image/svg+xml to allow the browser to render it inline.
What is the difference between text/plain and text/html?
text/plain tells the browser to display the content as raw text without interpreting any markup. text/html tells the browser to parse and render the HTML. Sending HTML with text/plain MIME type will show raw markup to the user.
What MIME type should I use for WebP images?
Use image/webp for WebP images. This is the standard MIME type recognised by all modern browsers.
What is application/octet-stream?
application/octet-stream is the generic binary data MIME type. Browsers treat it as a file download prompt rather than attempting to display it. Use it for arbitrary binary files when no more specific MIME type applies.
What MIME type should I use for web fonts?
Use font/woff for WOFF, font/woff2 for WOFF2, font/ttf for TrueType, and font/otf for OpenType fonts. Older resources may use application/font-woff, but the font/* types are the current standard.
回報這個工具的問題