TLDR reference
MIME types
A searchable reference mapping file extensions to their MIME type, the Content-Type that tells software how to handle a file. Type to search, or filter by kind. Everything runs in your browser.
49 shown
-
.html
Texttext/html
HTML web pages.
-
.css
Texttext/css
Cascading style sheets.
-
.csv
Texttext/csv
Comma-separated values.
-
.txt
Texttext/plain
Plain text with no markup.
-
.md
Texttext/markdown
Markdown source.
-
.ics
Texttext/calendar
iCalendar events.
-
.js
Applicationtext/javascript
JavaScript. The current standard type; application/javascript is the older form.
-
.json
Applicationapplication/json
JSON data, the lingua franca of web APIs.
-
.xml
Applicationapplication/xml
XML data. text/xml is an older equivalent.
-
.pdf
Applicationapplication/pdf
Portable Document Format.
-
.wasm
Applicationapplication/wasm
WebAssembly binary modules.
-
.bin
Applicationapplication/octet-stream
Arbitrary binary data. The safe default when the type is unknown, and it forces a download.
-
.rtf
Applicationapplication/rtf
Rich Text Format documents.
-
.doc
Applicationapplication/msword
Legacy Microsoft Word documents.
-
.docx
Applicationapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
Modern Word documents (Office Open XML).
-
.xls
Applicationapplication/vnd.ms-excel
Legacy Excel spreadsheets.
-
.xlsx
Applicationapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Modern Excel spreadsheets.
-
.ppt
Applicationapplication/vnd.ms-powerpoint
Legacy PowerPoint presentations.
-
.pptx
Applicationapplication/vnd.openxmlformats-officedocument.presentationml.presentation
Modern PowerPoint presentations.
-
.png
Imageimage/png
Lossless raster images with transparency.
-
.jpg
Imageimage/jpeg
Lossy photographs. .jpeg shares the same type.
-
.gif
Imageimage/gif
Animated or simple images, 256 colours.
-
.svg
Imageimage/svg+xml
Scalable vector graphics, XML based.
-
.webp
Imageimage/webp
Modern format with strong lossy and lossless compression.
-
.avif
Imageimage/avif
Next-generation format with excellent compression.
-
.ico
Imageimage/x-icon
Favicons. image/vnd.microsoft.icon is the registered form.
-
.bmp
Imageimage/bmp
Uncompressed bitmap images.
-
.tiff
Imageimage/tiff
High-quality images for print and scanning.
-
.mp3
Audioaudio/mpeg
The ubiquitous compressed audio format.
-
.wav
Audioaudio/wav
Uncompressed PCM audio.
-
.ogg
Audioaudio/ogg
Ogg Vorbis or Opus audio.
-
.weba
Audioaudio/webm
WebM audio.
-
.aac
Audioaudio/aac
Advanced Audio Coding.
-
.flac
Audioaudio/flac
Free Lossless Audio Codec.
-
.mp4
Videovideo/mp4
The most widely supported web video container.
-
.webm
Videovideo/webm
Open web video container.
-
.ogv
Videovideo/ogg
Ogg video container.
-
.mov
Videovideo/quicktime
Apple QuickTime video.
-
.avi
Videovideo/x-msvideo
Legacy Windows video container.
-
.mkv
Videovideo/x-matroska
Flexible Matroska container.
-
.woff
Fontfont/woff
Web Open Font Format.
-
.woff2
Fontfont/woff2
The current, better-compressed web font format.
-
.ttf
Fontfont/ttf
TrueType fonts.
-
.otf
Fontfont/otf
OpenType fonts.
-
.zip
Archiveapplication/zip
ZIP archives.
-
.gz
Archiveapplication/gzip
Gzip-compressed files.
-
.tar
Archiveapplication/x-tar
Uncompressed tar archives.
-
.7z
Archiveapplication/x-7z-compressed
7-Zip archives.
-
.rar
Archiveapplication/vnd.rar
RAR archives.
No types match your search.
How it works
A searchable reference mapping file extensions to their MIME type, the label that tells software how to handle a file. A MIME type (also called a media type or content type) looks like type/subtype - text/html, image/png, application/json - and it is what a server puts in the Content-Type header so the browser knows whether to render, play, or download what it just received. Type to search by extension or by type, or use the chips to browse a single kind such as images or fonts.
It covers the everyday web formats alongside the office documents and archives whose types are long and easy to forget, like the Office Open XML type for a .docx file. Each entry gives the canonical type and a short note. Everything is static and runs in your browser, so the lookup is instant and works offline once the page has loaded.
Example. Searching "json" shows application/json, the type to send for an API response, while filtering by the Font chip lines up font/woff2, font/woff, font/ttf, and font/otf so you can set the right type when serving web fonts.
FAQ
What is a MIME type?
A MIME type is a standard label that identifies the format of a file or piece of data, written as type/subtype, such as text/css or image/jpeg. It originated in email (MIME stands for Multipurpose Internet Mail Extensions) but is now used everywhere on the web. When a server sends a response, it states the MIME type in the Content-Type header, and the browser uses that - not the file extension - to decide how to treat the bytes it receives.
Why does the Content-Type matter more than the file extension?
On the web, the browser trusts the Content-Type header, not the URL or extension. If a server sends a stylesheet with the wrong type, the browser may refuse to apply it; if it sends a script as text/plain, the script will not run. This is also a security boundary: the X-Content-Type-Options: nosniff header tells the browser not to second-guess the declared type. Setting the correct MIME type on your server is what makes files behave as intended.
What is application/octet-stream?
It is the generic "arbitrary binary data" type, the catch-all when the real format is unknown. Because the browser cannot render unknown binary data, serving a file as application/octet-stream typically triggers a download rather than an inline display, which is sometimes used deliberately to force a "save as". When you can identify the real type, though, it is better to send it so the file opens correctly.
Why are the Office document types so long?
The modern Office formats (.docx, .xlsx, .pptx) are based on the Office Open XML standard, and their MIME types spell that lineage out in full, such as application/vnd.openxmlformats-officedocument.wordprocessingml.document for a Word file. The vnd. prefix marks them as vendor-specific types registered with IANA. They are tedious to type but unambiguous, which is the point; this reference lists them so you can copy the exact string rather than memorise it.