The Util Box

MIME Type Lookup

Free online mime type lookup. MIME type reference and file extension lookup. Check and analyze domains instantly.

ExtensionMIME Type
.htmltext/html
.csstext/css
.jsapplication/javascript
.jsonapplication/json
.xmlapplication/xml
.pngimage/png
.jpgimage/jpeg
.jpegimage/jpeg
.gifimage/gif
.svgimage/svg+xml
.webpimage/webp
.icoimage/x-icon
.pdfapplication/pdf
.zipapplication/zip
.gzapplication/gzip
.tarapplication/x-tar
.mp3audio/mpeg
.mp4video/mp4
.webmvideo/webm
.wofffont/woff
.woff2font/woff2
.ttffont/ttf
.otffont/otf
.eotapplication/vnd.ms-fontobject
.txttext/plain
.csvtext/csv
.yamltext/yaml
.ymltext/yaml
.mdtext/markdown
.docapplication/msword
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
31 entries

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, .wasm or .webmanifest.
  • Some entries are behind the current standards. The table gives .js as application/javascript, but the HTML standard now prefers text/javascript, and text/yaml was 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

The reference is a static table served entirely from your browser.