developers.do

MIME Type Lookup

Search common MIME types by extension, type, or category — covers 131 types across HTML, fonts, images, video, audio, archives, documents, code, and data

Showing 131 of 131 entries

ExtensionMIME TypeCategoryNotes
.html.htm
text/htmlText
.css
text/cssText
.csv
text/csvData
.txt.text
text/plainText
.md.markdown
text/markdownText
.xml
application/xmlText
Also text/xml
.yaml.yml
application/yamlText
Also text/yaml
.json
application/jsonData
.json5
application/json5Data
.jsonld
application/ld+jsonData
.toml
application/tomlData
.ini
text/plainText
Common Windows/config format
.log
text/plainText
.rtf
application/rtfDocument
.ics
text/calendarData
.vcf
text/vcardData
.uri
text/uri-listData
.png
image/pngImage
.jpg.jpeg.jpe.jif.jfif
image/jpegImage
.gif
image/gifImage
.webp
image/webpImage
.avif
image/avifImage
.heic.heif
image/heicImage
.bmp
image/bmpImage
.ico.cur
image/vnd.microsoft.iconImage
.tif.tiff
image/tiffImage
.psd
image/vnd.adobe.photoshopImage
.svg
image/svg+xmlImage
.tga
image/x-tgaImage
.dds
image/vnd.ms-ddsImage
.mp4.m4v
video/mp4Video
.webm
video/webmVideo
.mkv
video/x-matroskaVideo
.mov
video/quicktimeVideo
.avi
video/x-msvideoVideo
.wmv
video/x-ms-wmvVideo
.flv
video/x-flvVideo
.mpeg.mpg.mpe
video/mpegVideo
.3gp.3g2
video/3gppVideo
.ogv
video/oggVideo
.mp3.mp2.mpga
audio/mpegAudio
.wav.wave
audio/wavAudio
.flac
audio/flacAudio
.aac
audio/aacAudio
.ogg.oga
audio/oggAudio
.opus
audio/opusAudio
.m4a
audio/mp4Audio
.aiff.aif.aifc
audio/aiffAudio
.wma
audio/x-ms-wmaAudio
.mid.midi.kar
audio/midiAudio
.amr
audio/amrAudio
.zip.zipx
application/zipArchive
.gz.gzip
application/gzipArchive
.tar
application/x-tarArchive
.tgz
application/x-compressed-tarArchive
shorthand for tar.gz
.bz2
application/x-bzip2Archive
.xz
application/x-xzArchive
.7z
application/x-7z-compressedArchive
.rar
application/vnd.rarArchive
.zst
application/zstdArchive
.lz
application/x-lzipArchive
.iso
application/x-iso9660-imageArchive
.dmg
application/x-apple-diskimageArchive
.jar
application/java-archiveArchive
.pdf
application/pdfDocument
.doc.doc
application/mswordDocument
.docx
application/vnd.openxmlformats-officedocument.wordprocessingml.documentDocument
.xls
application/vnd.ms-excelDocument
.xlsx
application/vnd.openxmlformats-officedocument.spreadsheetml.sheetDocument
.ppt
application/vnd.ms-powerpointDocument
.pptx
application/vnd.openxmlformats-officedocument.presentationml.presentationDocument
.odt
application/vnd.oasis.opendocument.textDocument
.ods
application/vnd.oasis.opendocument.spreadsheetDocument
.odp
application/vnd.oasis.opendocument.presentationDocument
.epub
application/epub+zipDocument
.mobi
application/x-mobipocket-ebookDocument
.azw
application/vnd.amazon.ebookDocument
.tex
application/x-texDocument
.ps
application/postscriptDocument
.ttf
font/ttfFont
.otf
font/otfFont
.woff
font/woffFont
.woff2
font/woff2Font
.eot
application/vnd.ms-fontobjectFont
.pfb.pfa
application/x-font-type1Font
.js.mjs.cjs
text/javascriptCode
.ts
application/typescriptCode
.jsx
text/jsxCode
.tsx
text/tsxCode
.py
text/x-pythonCode
.rb
text/x-rubyCode
.php
application/x-httpd-phpCode
.go
text/x-goCode
.rs
text/rustCode
.c.h
text/x-cCode
.cpp.cc.cxx.hpp.hxx
text/x-c++Code
.cs
text/x-csharpCode
.java
text/x-javaCode
.kt.kts
text/x-kotlinCode
.swift
text/x-swiftCode
.scala.sc
text/x-scalaCode
.sh.bash.zsh.ksh
application/x-shCode
.ps1
application/x-powershellCode
.pl.pm
application/x-perlCode
.lua
text/x-luaCode
.r
text/x-rCode
.jl
text/x-juliaCode
.dart
application/dartCode
.ex.exs
text/x-elixirCode
.erl
text/x-erlangCode
.hs.lhs
text/x-haskellCode
.clj.cljs.cljc.edn
text/x-clojureCode
.sql
application/sqlCode
.graphql.gql
application/graphqlCode
.proto
application/x-protobufCode
.wasm
application/wasmCode
.bin.dat
application/octet-streamApplication
.exe
application/vnd.microsoft.portable-executableApplication
.dll
application/x-msdownloadApplication
.so
application/x-sharedlibApplication
.dylib
application/x-sharedlibApplication
.class
application/java-vmApplication
.bundle
application/x-bundleApplication
.deb
application/vnd.debian.binary-packageApplication
.rpm
application/x-rpmApplication
.pkg
application/x-newton-compatible-pkgApplication
.torrent
application/x-bittorrentApplication
.cbor
application/cborData
.msgpack
application/x-msgpackData
.bson
application/bsonData
.xhtml
application/xhtml+xmlApplication

Guide

About this mime type lookup

A searchable reference of 131 common MIME types (media types). Search by file extension (.png, .woff2), by MIME string (image/jpeg), or filter by category — images, video, audio, archives, documents, code, fonts, text, data, and application. Each row shows known extension aliases, a short practical note, and a one-click copy of the exact Content-Type value.

How to use the mime type lookup

  1. 1.Type an extension, a MIME type, or a keyword into the search box.
  2. 2.Narrow the results with the category pills, which show how many entries each category holds.
  3. 3.Click the copy button on any row to copy the exact MIME string for your header or server config.

Important details

MIME type versus file extension

An extension is just a filename hint; the MIME type is what a server actually declares in the Content-Type header, and browsers honor the header over the extension. A .jpg served as text/plain will not render as an image. When the two disagree, the header wins.

When the wrong type breaks things

WebAssembly modules need application/wasm for streaming compilation, web fonts need font/woff2 to load under strict policies, and JSON APIs should send application/json so clients parse instead of display. Unknown binary content falls back to application/octet-stream, which browsers download instead of opening.

Use nosniff deliberately

When a response lacks a Content-Type, browsers guess — historically a source of security bugs. Sending X-Content-Type-Options: nosniff disables that guessing, which makes serving the correct type from this table mandatory rather than optional.

Frequently asked questions

What MIME type forces a file download?

application/octet-stream is the generic binary type; browsers save it instead of displaying it. Combine it with a Content-Disposition: attachment header to suggest a filename.

Is there an official list of MIME types?

Yes. IANA maintains the canonical media type registry. This table covers the commonly used subset developers actually look up, with aliases and notes.

What is the correct MIME type for JSON?

application/json, per RFC 8259. The legacy text/json is obsolete and some strict clients reject it.

References: IANA media type registry, MDN: MIME types