MIME Type Lookup
Look up the MIME type for any file extension, or find extensions for any MIME type. Full searchable table with 300+ types. Runs in your browser.
| Extension | MIME Type | Description |
|---|
About this tool
MIME types (Multipurpose Internet Mail Extensions) are standardized labels that tell browsers, servers, and applications what kind of data a file contains. When a web server sends a file, it includes a Content-Type header with the MIME type - for example Content-Type: text/html; charset=utf-8 for an HTML page or Content-Type: image/webp for a WebP image. Without the correct MIME type, browsers may refuse to display the file, download it unexpectedly, or render it incorrectly.
MIME types follow the format type/subtype, where the type is a broad category (text, image, audio, video, application) and the subtype is the specific format. Common examples: application/json for JSON data, application/pdf for PDF documents, font/woff2 for WOFF2 web fonts, and application/octet-stream for generic binary files when no specific type applies.
Use this tool when configuring web servers (Apache, Nginx), writing upload validation logic, setting response headers in PHP or Node.js APIs, debugging browser fetch errors, or checking what Content-Type to declare for a file you are serving. You can search by file extension (e.g. "svg") or by the MIME string itself (e.g. "image/svg") to quickly find what you need.
For file upload validation in PHP, always check MIME type on the server side using finfo_file() rather than trusting the extension or the browser-reported type, since both can be spoofed. This table is a reference for the expected values - use it alongside server-side validation, not as a replacement for it.
The dataset covers over 250 common file types spanning images, video, audio, documents, code files, fonts, archives, and binary formats. Each row shows the file extension, the canonical MIME type string, and a plain-English description. Click the copy icon on any row to copy the MIME type string straight to your clipboard.