What is a MIME type?
A MIME type, also called a media type or content type, is a label like image/png that tells software what kind of data a file contains. Web servers send it in the Content-Type header, email uses it for attachments, and upload forms use it to accept or reject files.
Search about 75 common types by extension, type name or kind. Each row shows the MIME type, its extensions and its kind, and filters narrow the list to documents, images, audio, video, fonts, archives, code or data.
How to use the MIME type lookup
1.Search
An extension like .webp or a type like json.
2.Filter by kind
Images, documents, audio, video, fonts and more.
3.Copy
Copy the MIME type with one click.
Example: configuring a server
Serving modern images and a Word document:
- .webp / .avif
- image/webp / image/avif
- .docx
- application/vnd.openxmlformats-officedocument.wordprocessingml.document
- .woff2
- font/woff2
Each file is served with a type browsers handle correctly.
Why the right type matters
Browsers use the Content-Type to decide whether to show, play or download a file. A wrong type makes a video download instead of playing or blocks a script, and with X-Content-Type-Options: nosniff, browsers refuse to guess.
Office formats have long types, like application/vnd.openxmlformats-officedocument.wordprocessingml.document for .docx. JavaScript's official type is text/javascript. application/octet-stream means unknown binary data and usually triggers a download. Types can carry parameters too, most often charset=utf-8 on text formats, which tells the browser how to decode the characters.
Frequently asked questions
What does image/svg+xml mean?
An image that is XML underneath; +xml and +json mark the format a type builds on.
Is application/json or text/json correct?
application/json. text/json isn't registered.
What's the type for form posts?
application/x-www-form-urlencoded, or multipart/form-data with file uploads.
Does it detect a file's type?
No. To identify a file from its contents, use the file inspector.
Related tools
File inspector
Find a file's real type from its contents, with a hex view and SHA-256.
HTTP headers reference
Common HTTP request and response headers explained, from caching to CORS.
HTTP status codes
Every HTTP status code with its name and plain-English meaning.
API request code generator
Build an HTTP request and get cURL, fetch, Axios, Python, HTTPie or PowerShell code.
API tester
Send HTTP requests from your browser and inspect status, timing, headers and body.
Query string builder and parser
Parse a URL's query parameters, or build an encoded query string from key = value lines.
More Developer tools
JSON & data
CSV tools
Network & system
Web & API
Git & releases
Encoding & security
- Base64 encode & decode
- URL encode & decode
- JWT decoder
- Hash generator
- HTML entity encoder
- Text to binary
- Morse code translator
- Caesar cipher & ROT13
- Random string generator
- Secret key generator
- 2FA code generator (TOTP)
- Encrypt & decrypt text
- Encrypt & decrypt files
- SSH key generator
- Base32 encoder and decoder
- Unicode escape converter
- Nano ID generator
- JWT generator
Text & code
- Regex tester
- Text diff checker
- Cron expression explainer
- Lorem ipsum generator
- Markdown previewer
- Slug generator
- Strip HTML tags
- Unicode character inspector
- URL parser
- Markdown TOC generator
- cURL converter
- Whitespace visualizer
- Markdown link extractor
- Regex escape
- Regex match extractor
- Split text by regex
- HTML, CSS and JS playground
- Mock data generator
- Keyboard event tester
- ASCII table