Skip to content

Free MIME Type Lookup Developer Tool Online

Find MIME types by file extension or look up file extensions for content types used in HTTP and file uploads.

IN: Extension or MIME type  ·  OUT: Matching MIME types  ·  RUNS: 100% in your browser

.html

text/html

Text

.css

text/css

Text

.csv

text/csv

Text

.txt

text/plain

Text

.js

text/javascript

Text

.json

application/json

Application

.xml

application/xml

Application

.pdf

application/pdf

Application

.zip

application/zip

Application

.gz

application/gzip

Application

.doc

application/msword

Application

.docx

application/vnd.openxmlformats-officedocument.wordprocessingml.document

Application

.xls

application/vnd.ms-excel

Application

.xlsx

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Application

.png

image/png

Image

.jpg / .jpeg

image/jpeg

Image

.gif

image/gif

Image

.svg

image/svg+xml

Image

.webp

image/webp

Image

.ico

image/x-icon

Image

.mp3

audio/mpeg

Audio

.wav

audio/wav

Audio

.mp4

video/mp4

Video

.webm

video/webm

Video

.woff

font/woff

Font

.woff2

font/woff2

Font

.ttf

font/ttf

Font

.otf

font/otf

Font

.form-data

multipart/form-data

Form

.url-encoded

application/x-www-form-urlencoded

Form

Frequently asked questions

What is a MIME type used for?+

A MIME type (also called a Content-Type) tells a browser or application what kind of data a file or HTTP response contains, so it knows how to handle it — for example, rendering text/html as a web page or offering application/pdf as a download.

Where do I set a MIME type?+

Commonly in the Content-Type HTTP response header when serving a file, or in the 'accept' attribute of an HTML file input to restrict which file types a user can upload.

What's the difference between application/json and text/json?+

application/json is the correct, officially registered MIME type for JSON data; text/json is a non-standard variant sometimes seen in older systems but shouldn't be used in new implementations.

Why do some file types have multiple possible MIME types?+

Certain formats have both an older, less specific type and a newer, more precise one (for example plain 'text/javascript' vs the historical 'application/javascript') — server configuration and browser conventions determine which is actually used.

Is this list of MIME types complete?+

It covers the most commonly needed MIME types for web development. For the complete official registry, IANA maintains the authoritative list of all registered media types.

Does this tool detect the MIME type of a file I upload?+

No, this is a static reference lookup by extension or type name — it doesn't inspect actual file contents or accept file uploads.