MIME Type Lookup
Free online mime type lookup. MIME type reference and file extension lookup. Check and analyze domains instantly.
| Extension | MIME Type |
|---|---|
| .html | text/html |
| .css | text/css |
| .js | application/javascript |
| .json | application/json |
| .xml | application/xml |
| .png | image/png |
| .jpg | image/jpeg |
| .jpeg | image/jpeg |
| .gif | image/gif |
| .svg | image/svg+xml |
| .webp | image/webp |
| .ico | image/x-icon |
| application/pdf | |
| .zip | application/zip |
| .gz | application/gzip |
| .tar | application/x-tar |
| .mp3 | audio/mpeg |
| .mp4 | video/mp4 |
| .webm | video/webm |
| .woff | font/woff |
| .woff2 | font/woff2 |
| .ttf | font/ttf |
| .otf | font/otf |
| .eot | application/vnd.ms-fontobject |
| .txt | text/plain |
| .csv | text/csv |
| .yaml | text/yaml |
| .yml | text/yaml |
| .md | text/markdown |
| .doc | application/msword |
| .docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
Embed this tool
Copy and paste the code below into your website to embed this tool for free. An attribution link to The Util Box is required.
<iframe src="https://www.theutilbox.org/embed/mime-type-lookup" width="600" height="500" frameborder="0" style="border: none; max-width: 100%;" title="Free MIME Type Lookup tool from The Util Box"></iframe> <!-- Free tool by The Util Box — https://www.theutilbox.org/tools/mime-type-lookup --> <a href="https://www.theutilbox.org/tools/mime-type-lookup">MIME Type Lookup by The Util Box</a>
Frequently Asked Questions about MIME Type Lookup
MIME Type Lookup — File Extension to Content Type
This MIME type lookup maps a file extension to the content type a server should send with it. Search by extension or by type, and the table filters as you type. It is the reference you want when a file downloads instead of displaying, or when a browser sniffs the wrong content type for something you serve.
The reference covers 33 extensions — the common web formats across markup, styles, scripts, images, fonts, media and archives.
What a MIME Type Is For
A MIME type is the label a server attaches to a response so the browser knows what it has been given. Send a PDF
as text/html and the browser will try to render it as a page; send a PNG as
application/octet-stream and the browser will download it instead of showing it.
The same applies to CSS and JavaScript. If a stylesheet is served as text/plain
the browser will refuse to apply it, and if a script is served as the wrong type it will refuse to execute it —
both usually showing a console error rather than anything visible on the page.
The Reference
| Group | Extensions |
|---|---|
| Markup and data | .html .css .js .json .xml .txt .csv .yaml .yml .md |
| Images | .png .jpg .jpeg .gif .svg .webp .ico |
| Fonts | .woff .woff2 .ttf .otf .eot |
| Media | .mp3 .mp4 .webm |
| Documents | .pdf .doc .docx |
| Archives | .zip .gz .tar |
The search matches against both columns at once, so typing font finds every font
type, and typing woff finds both the extension and the type.
Honest Limits
- Thirty-three extensions is a short list, not the full IANA registry. There
is no entry for
.avif,.heic,.mjs,.wasmor.webmanifest. - Some entries are behind the current standards. The table gives
.jsasapplication/javascript, but the HTML standard now preferstext/javascript, andtext/yamlwas only registered with IANA in 2024. If a browser is being strict about it, the modern form is the safer one. - No charset parameter. Text types are listed without
; charset=utf-8, which most modern servers add separately. - It looks up by extension only, it does not sniff a file's actual content. A file with the wrong extension gets the type that matches its name, not its bytes.
Related Network Tools
- HTTP Headers Viewer — check the headers a server actually returns, Content-Type included.
- HTTP Status Lookup — what each response code means.
- User Agent Parser — identify the browser behind a request.
- Website Status Checker — see whether a site is up and what it returns.
- URL Encoder — the encoding that decides how a URL is transmitted.
- File Size Converter — the sizes your headers will be measured against.
- Image to Base64 — embed an image inline without a separate request.
The reference is a static table served entirely from your browser.