MIME type lookup
Find the MIME type for a file extension, or the extension for a type.
71 types.
Text
- text/html.html, .htm
- Web page
- text/css.css
- Style sheet
- text/javascript.js, .mjs
- JavaScript
- text/plain.txt
- Plain text
- text/csv.csv
- Comma-separated values
- text/markdown.md
- Markdown
- text/calendar.ics
- Calendar event
- application/xml.xml
- XML
- text/vtt.vtt
- Video subtitles
Data
- application/json.json
- JSON
- application/ld+json.jsonld
- JSON-LD
- application/yaml.yaml, .yml
- YAML
- application/toml.toml
- TOML
- application/manifest+json.webmanifest
- Web app manifest
- application/wasm.wasm
- WebAssembly
- application/json.map
- Source map
- application/rss+xml.rss
- RSS feed
- application/atom+xml.atom
- Atom feed
- application/sql.sql
- SQL
- application/octet-stream.bin
- Any binary data
- application/x-www-form-urlencoded(form)
- A posted HTML form
- multipart/form-data(form with files)
- A posted form that carries files
Images
- image/png.png
- PNG image
- image/jpeg.jpg, .jpeg
- JPEG image
- image/gif.gif
- GIF image
- image/webp.webp
- WebP image
- image/avif.avif
- AVIF image
- image/svg+xml.svg
- SVG image
- image/x-icon.ico
- Icon
- image/bmp.bmp
- Bitmap image
- image/tiff.tif, .tiff
- TIFF image
- image/heic.heic
- HEIC image
- image/apng.apng
- Animated PNG
Audio and video
- audio/mpeg.mp3
- MP3 audio
- audio/wav.wav
- WAV audio
- audio/ogg.ogg, .oga
- Ogg audio
- audio/mp4.m4a
- MPEG-4 audio
- audio/aac.aac
- AAC audio
- audio/flac.flac
- FLAC audio
- audio/webm.weba
- WebM audio
- audio/midi.mid, .midi
- MIDI
- video/mp4.mp4
- MPEG-4 video
- video/webm.webm
- WebM video
- video/quicktime.mov
- QuickTime video
- video/x-msvideo.avi
- AVI video
- video/x-matroska.mkv
- Matroska video
- video/ogg.ogv
- Ogg video
- application/vnd.apple.mpegurl.m3u8
- HLS playlist
- video/mp2t.ts
- MPEG transport stream
Documents
- application/pdf.pdf
- PDF document
- application/msword.doc
- Word document (old)
- application/vnd.openxmlformats-officedocument.wordprocessingml.document.docx
- Word document
- application/vnd.ms-excel.xls
- Excel workbook (old)
- application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.xlsx
- Excel workbook
- application/vnd.ms-powerpoint.ppt
- PowerPoint (old)
- application/vnd.openxmlformats-officedocument.presentationml.presentation.pptx
- PowerPoint
- application/vnd.oasis.opendocument.text.odt
- OpenDocument text
- application/vnd.oasis.opendocument.spreadsheet.ods
- OpenDocument spreadsheet
- application/rtf.rtf
- Rich text
- application/epub+zip.epub
- EPUB book
Archives
- application/zip.zip
- ZIP archive
- application/gzip.gz
- Gzip archive
- application/x-tar.tar
- Tar archive
- application/x-7z-compressed.7z
- 7-Zip archive
- application/vnd.rar.rar
- RAR archive
- application/x-bzip2.bz2
- Bzip2 archive
- application/java-archive.jar
- Java archive
Fonts
- font/woff2.woff2
- WOFF2 font
- font/woff.woff
- WOFF font
- font/ttf.ttf
- TrueType font
- font/otf.otf
- OpenType font
Missing a feature or found a bug in MIME type lookup? Tell me on X (@_andrewtran) or by email.
How to use MIME type lookup
- Type an extension such as .png, or part of a type such as json.
- Read the matching types.
- Copy the type you need.
Questions and answers
What is a MIME type?
A label such as image/png that tells a browser what kind of data it is getting. Servers send it in the Content-Type header.
What if the type is wrong?
The browser may refuse to use the file. A script served as text/plain will not run, and a download may open as text.
Related tools
HTTP headers reference
What every common HTTP request and response header does, grouped and searchable.Git command reference
Everyday git commands with plain explanations, including how to undo things.Regex pattern library
Ready-made regular expressions for emails, URLs, dates, IP addresses, UUIDs and more.SQL formatter
Format SQL with clean indentation for PostgreSQL, MySQL, SQLite and SQL Server, or minify it to one line.