MIME Types Lookup
Search MIME types by file extension or content type, with a short description and category for each entry.
MIME Types Lookup tool
Example
Input: Search: .json
Result: .json - application/json (JSON data format); also .jsonld - application/ld+json (JSON-LD linked data)
The search matches file extensions, MIME type names and descriptions, so partial matches like .jsonld are listed too.
Common MIME Types for the Web
| Extension | MIME type |
|---|---|
| .html | text/html |
| .css | text/css |
| .js | text/javascript |
| .json | application/json |
| .xml | application/xml |
| .txt | text/plain |
| .csv | text/csv |
| application/pdf | |
| .zip | application/zip |
| .png | image/png |
| .jpg | image/jpeg |
| .svg | image/svg+xml |
| .webp | image/webp |
| .mp4 | video/mp4 |
| .woff2 | font/woff2 |
- Enter a file extension (such as .json, .mp4 or .woff2) or a MIME type (such as application/json) in the search field.
- Browse the matching entries with their extensions and descriptions.
- Use the Category menu (application, audio, image, text, video, font) to narrow the list.
- Read the category and short description to confirm it is the format you need.
- Click the copy button on an entry to copy the MIME type.
MIME Types and the Content-Type Header
A MIME type, also called a media type, is a label like text/html or image/png. It tells a browser or app what kind of file it is getting. This lookup finds the right type for 104 common file extensions, and the extensions that go with a type. Search .woff2 and you get font/woff2. Search video/mp4 and you get .mp4 and .m4v.
Servers send the MIME type in the Content-Type header, and browsers trust that header more than the file name. Get it wrong and things break. A stylesheet sent as text/plain is ignored. A script with the wrong type is blocked when the page also sends the X-Content-Type-Options: nosniff header. A PDF sent as application/octet-stream downloads instead of opening.
Every type has two parts, a main type and a subtype, split by a slash. The main types here are application, text, image, audio, video and font, and the Category menu filters by them. Names that start with vnd. are vendor formats, like the long Microsoft Office types. Names with x- are older, unofficial labels. JavaScript is listed as text/javascript, the current standard, since application/javascript is now obsolete.
A few extensions appear twice because they mean different things. .webm can be audio or video, and .ts can be a TypeScript file or an MPEG video stream. Copy a type with one click for a server config, an upload filter or an API response. For the status code to send with it, see HTTP Status Codes. To put a small file inline as a data URL, try Base64 Encode and Decode.
Sources
Frequently Asked Questions
Related Tools
HTTP Status Codes Reference
Search and browse over 60 HTTP status codes grouped by class, each with its official name and a plain description.
Web and SEO ToolsMeta Tag Generator
Generate HTML meta tags for SEO, Open Graph, and Twitter Cards with a live preview of search and social results.
Web and SEO ToolsURL Parser
Break down URLs into protocol, host, port, path, query parameters, and hash components.
Developer Tools