MIME Types Reference
Quick lookup for file extension MIME types with search and category filtering
Document(17)
application/pdf
application/msword
application/vnd.openxmlformats-officedocument.wordprocessingml.document
application/vnd.ms-excel
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
application/vnd.ms-powerpoint
application/vnd.openxmlformats-officedocument.presentationml.presentation
text/plain
application/rtf
application/vnd.oasis.opendocument.text
application/vnd.oasis.opendocument.spreadsheet
application/vnd.oasis.opendocument.presentation
text/csv
application/json
application/xml
text/html
text/html
Image(15)
image/jpeg
image/jpeg
image/png
image/gif
image/webp
image/svg+xml
image/x-icon
image/bmp
image/tiff
image/tiff
image/avif
image/heic
image/heif
image/vnd.adobe.photoshop
image/raw
Audio(10)
audio/mpeg
audio/wav
audio/ogg
audio/mp4
audio/flac
audio/aac
audio/x-ms-wma
audio/aiff
audio/midi
audio/midi
Video(12)
video/mp4
video/webm
video/x-msvideo
video/quicktime
video/x-ms-wmv
video/x-flv
video/x-matroska
video/mp4
video/mpeg
video/mpeg
video/3gpp
video/mp2t
Archive(9)
application/zip
application/vnd.rar
application/x-7z-compressed
application/x-tar
application/gzip
application/x-bzip2
application/x-xz
application/x-iso9660-image
application/x-apple-diskimage
Code(31)
application/javascript
application/javascript
application/typescript
application/typescript
application/javascript
text/css
text/x-scss
text/x-sass
text/x-less
text/x-python
text/x-java
text/x-c
text/x-c++
text/x-c
text/x-c++
text/x-csharp
text/x-go
text/x-rust
text/x-ruby
text/x-php
text/x-swift
text/x-kotlin
application/sql
application/x-sh
application/x-sh
application/x-yaml
application/x-yaml
application/toml
text/x-ini
text/x-vue
text/x-svelte
Font(5)
font/woff
font/woff2
font/ttf
font/otf
application/vnd.ms-fontobject
Other(16)
application/vnd.microsoft.portable-executable
application/x-msi
application/vnd.android.package-archive
application/octet-stream
application/vnd.debian.binary-package
application/x-rpm
application/java-archive
application/java-archive
application/x-shockwave-flash
application/x-chrome-extension
application/x-xpinstall
application/x-bittorrent
text/calendar
text/vcard
application/epub+zip
application/x-mobipocket-ebook
What is a MIME Type?
MIME types (Multipurpose Internet Mail Extensions) are a standard way to indicate the nature and format of documents, files, or byte streams. Browsers and servers use MIME types to determine how to handle content. For example, receiving image/jpeg tells the browser to display an image, while application/pdf might open a PDF preview.
How to Use
Use the search box to quickly find specific extensions or MIME types. Click category tags to filter by file type. Each card has two buttons to copy the extension or MIME type.
Category Types
- Document: PDF, Office files, text files, etc.
- Image: JPEG, PNG, WebP, SVG, etc.
- Audio: MP3, WAV, FLAC, AAC, etc.
- Video: MP4, WebM, AVI, MKV, etc.
- Archive: ZIP, RAR, 7z, TAR, etc.
- Code: JavaScript, Python, CSS, etc.
- Font: WOFF, TTF, OTF, etc.
FAQ
Q: What is the purpose of MIME types?
A: MIME types tell browsers how to handle received content. For example, when a server returns image/png, the browser renders an image; text/html is parsed as a webpage. Correct MIME types ensure content is displayed and processed properly.
Q: How do I set a file's MIME type?
A: On web servers, you can set MIME types through configuration files or code. Nginx uses mime.types config file, Apache uses AddType directive. In code, HTTP responses can set MIME type via Content-Type header.
Q: What problems can incorrect MIME types cause?
A: Incorrect MIME types may cause: browsers unable to render content correctly (images shown as downloads), security risks (HTML displayed as text), browser security policies failing (scripts not executing).
Q: What is application/octet-stream?
A: application/octet-stream is a generic binary stream type for unknown binary data. When a server doesn't know the specific file type, it typically uses this type. The browser will prompt to download instead of trying to open it.