🔧

MIME Types

Look up MIME types by file extension or content type.

ExtensionMIME Type
.htmltext/html
.htmtext/html
.csstext/css
.jsapplication/javascript
.tsapplication/typescript
.jsonapplication/json
.xmlapplication/xml
.svgimage/svg+xml
.pngimage/png
.jpgimage/jpeg
.jpegimage/jpeg
.gifimage/gif
.webpimage/webp
.icoimage/x-icon
.pdfapplication/pdf
.zipapplication/zip
.tarapplication/x-tar
.gzapplication/gzip
.mp4video/mp4
.mp3audio/mpeg

How to Use

  1. Type a file extension (e.g. mp4) or a MIME type string (e.g. application/json) to filter the list in real time.
  2. View the matching entries — each row shows the file extension and its full MIME type string.
  3. Copy the MIME type string from any row for use in your code or configuration.

Frequently Asked Questions

When do I need a MIME type?
MIME types tell browsers and servers how to handle a file. You need them when setting Content-Type headers in APIs, configuring web servers, or building file upload features.
Can one file extension map to multiple MIME types?
Yes — some extensions like .xml or .js have multiple valid MIME types depending on context. This tool shows the most commonly used mapping.
Where does the data come from?
The mappings are based on the IANA media type registry, which is the official standard for MIME type definitions.