📁MIME Types Reference
File extension and MIME type reference
.html
text/html
HTML Document • Extensions: .html, .htm
.css
text/css
CSS Stylesheet • Extensions: .css
.js
text/javascript
JavaScript • Extensions: .js
.json
application/json
JSON Data • Extensions: .json
.xml
application/xml
XML Document • Extensions: .xml
.txt
text/plain
Plain Text • Extensions: .txt
.csv
text/csv
CSV Data • Extensions: .csv
.md
text/markdown
Markdown • Extensions: .md, .markdown
.png
image/png
PNG Image • Extensions: .png
.jpg
image/jpeg
JPEG Image • Extensions: .jpg, .jpeg
.gif
image/gif
GIF Image • Extensions: .gif
.svg
image/svg+xml
SVG Image • Extensions: .svg
.webp
image/webp
WebP Image • Extensions: .webp
.ico
image/x-icon
Icon • Extensions: .ico
.bmp
image/bmp
Bitmap Image • Extensions: .bmp
.mp3
audio/mpeg
MP3 Audio • Extensions: .mp3
.wav
audio/wav
WAV Audio • Extensions: .wav
.ogg
audio/ogg
OGG Audio • Extensions: .ogg
.m4a
audio/mp4
M4A Audio • Extensions: .m4a
.mp4
video/mp4
MP4 Video • Extensions: .mp4
.webm
video/webm
WebM Video • Extensions: .webm
.avi
video/x-msvideo
AVI Video • Extensions: .avi
.mov
video/quicktime
QuickTime Video • Extensions: .mov
.mkv
video/x-matroska
Matroska Video • Extensions: .mkv
.pdf
application/pdf
PDF Document • Extensions: .pdf
.doc
application/msword
Word Document • Extensions: .doc
.docx
application/vnd.openxmlformats-officedocument.wordprocessingml.document
Word Document (OOXML) • Extensions: .docx
.xls
application/vnd.ms-excel
Excel Spreadsheet • Extensions: .xls
.xlsx
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Excel Spreadsheet (OOXML) • Extensions: .xlsx
.ppt
application/vnd.ms-powerpoint
PowerPoint • Extensions: .ppt
.pptx
application/vnd.openxmlformats-officedocument.presentationml.presentation
PowerPoint (OOXML) • Extensions: .pptx
.zip
application/zip
ZIP Archive • Extensions: .zip
.rar
application/vnd.rar
RAR Archive • Extensions: .rar
.7z
application/x-7z-compressed
7-Zip Archive • Extensions: .7z
.tar
application/x-tar
TAR Archive • Extensions: .tar
.gz
application/gzip
GZIP Archive • Extensions: .gz
.woff
font/woff
Web Open Font Format • Extensions: .woff
.woff2
font/woff2
Web Open Font Format 2 • Extensions: .woff2
.ttf
font/ttf
TrueType Font • Extensions: .ttf
.otf
font/otf
OpenType Font • Extensions: .otf
.py
text/x-python
Python Script • Extensions: .py
.java
text/x-java-source
Java Source • Extensions: .java
.php
text/x-php
PHP Script • Extensions: .php
.rb
text/x-ruby
Ruby Script • Extensions: .rb
.go
text/x-go
Go Source • Extensions: .go
.rs
text/x-rust
Rust Source • Extensions: .rs
.ts
text/typescript
TypeScript • Extensions: .ts
.tsx
text/tsx
TypeScript JSX • Extensions: .tsx
How to Use
The MIME Types tool provides a complete reference table of MIME types. Look up MIME types by file extension or find file extensions by MIME type.
FAQ
What is a MIME type?
A MIME type (media type) is a standard for identifying document content types, such as text/html, image/png, and application/json.
Why is setting the correct MIME type important?
Correct MIME types ensure browsers properly parse and display file content. Incorrect settings may cause files to not open properly.