Skip to content

MIME Type Lookup

Look up the MIME content type for a file extension, or find extensions for a type.

Extension MIME type
.aac audio/aac
.abw application/x-abiword
.avif image/avif
.avi video/x-msvideo
.bin application/octet-stream
.bmp image/bmp
.bz2 application/x-bzip2
.css text/css
.csv text/csv
.doc application/msword
.docx application/vnd.openxmlformats-officedocument.wordprocessingml.document
.eot application/vnd.ms-fontobject
.epub application/epub+zip
.gz application/gzip
.gif image/gif
.htm text/html
.html text/html
.ico image/vnd.microsoft.icon
.ics text/calendar
.jar application/java-archive
.jpeg image/jpeg
.jpg image/jpeg
.js text/javascript
.json application/json
.jsonld application/ld+json
.mid audio/midi
.mjs text/javascript
.mp3 audio/mpeg
.mp4 video/mp4
.mpeg video/mpeg
.odp application/vnd.oasis.opendocument.presentation
.ods application/vnd.oasis.opendocument.spreadsheet
.odt application/vnd.oasis.opendocument.text
.oga audio/ogg
.ogv video/ogg
.opus audio/opus
.otf font/otf
.png image/png
.pdf application/pdf
.php application/x-httpd-php
.ppt application/vnd.ms-powerpoint
.pptx application/vnd.openxmlformats-officedocument.presentationml.presentation
.rar application/vnd.rar
.rtf application/rtf
.svg image/svg+xml
.tar application/x-tar
.tif image/tiff
.ts video/mp2t
.ttf font/ttf
.txt text/plain
.wav audio/wav
.weba audio/webm
.webm video/webm
.webp image/webp
.woff font/woff
.woff2 font/woff2
.xhtml application/xhtml+xml
.xls application/vnd.ms-excel
.xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xml application/xml
.zip application/zip
.7z application/x-7z-compressed

How to use the MIME Type Lookup

  1. Search by extension or type.

  2. Read the matching MIME type.

  3. Use it in your Content-Type header.

What is a MIME type?

A MIME type (or media type) tells browsers and servers what kind of file they're handling — like text/html or image/png. Setting the right Content-Type header is crucial for downloads, uploads and APIs. This searchable reference maps file extensions to MIME types and back.

Key features

  • Extension → MIME type
  • MIME type → extensions
  • Hundreds of common types
  • Fast search

Frequently asked questions

What MIME type should I use for JSON?

application/json is the correct content type for JSON payloads.

Why does the right MIME type matter?

Browsers use it to decide how to handle a response — render, download or reject it — so a wrong type can break features.

What if an extension has several types?

Some extensions map to multiple types; the most common/standard one is shown first.