Type an extension or a type
png, pdf, application/json or a word from the description.
Type an extension such as png or a MIME type such as application/json and see the match. Filter by kind of file and copy the exact Content-Type value.
| Extension | MIME type | Description |
|---|---|---|
| .txt | text/plain | Plain text |
| .html | text/html | HTML page |
| .htm | text/html | HTML page |
| .css | text/css | CSS stylesheet |
| .csv | text/csv | Comma-separated values |
| .tsv | text/tab-separated-values | Tab-separated values |
| .md | text/markdown | Markdown document |
| .ics | text/calendar | iCalendar event |
| .vcf | text/vcard | vCard contact |
| .js | text/javascript | JavaScript code |
| .mjs | text/javascript | JavaScript module |
| .json | application/json | JSON data |
| .jsonld | application/ld+json | JSON-LD data |
| .xml | application/xml | XML document |
| .yaml | application/yaml | YAML data |
| .yml | application/yaml | YAML data |
| .wasm | application/wasm | WebAssembly module |
| .sh | application/x-sh | Shell script |
| .php | application/x-httpd-php | PHP script |
| .map | application/json | Source map |
| .webmanifest | application/manifest+json | Web app manifest |
| application/pdf | PDF document | |
| .doc | application/msword | Word document (old) |
| .docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document | Word document |
| .xls | application/vnd.ms-excel | Excel workbook (old) |
| .xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | Excel workbook |
| .ppt | application/vnd.ms-powerpoint | PowerPoint (old) |
| .pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation | PowerPoint presentation |
| .odt | application/vnd.oasis.opendocument.text | OpenDocument text |
| .ods | application/vnd.oasis.opendocument.spreadsheet | OpenDocument spreadsheet |
| .odp | application/vnd.oasis.opendocument.presentation | OpenDocument presentation |
| .rtf | application/rtf | Rich Text Format |
| .epub | application/epub+zip | EPUB e-book |
| .jpg | image/jpeg | JPEG image |
| .jpeg | image/jpeg | JPEG image |
| .png | image/png | PNG image |
| .gif | image/gif | GIF image |
| .webp | image/webp | WebP image |
| .avif | image/avif | AVIF image |
| .svg | image/svg+xml | SVG vector image |
| .ico | image/vnd.microsoft.icon | Icon |
| .bmp | image/bmp | Bitmap image |
| .tif | image/tiff | TIFF image |
| .tiff | image/tiff | TIFF image |
| .heic | image/heic | HEIC image (iPhone) |
| .mp3 | audio/mpeg | MP3 audio |
| .wav | audio/wav | WAV audio |
| .ogg | audio/ogg | Ogg audio |
| .oga | audio/ogg | Ogg audio |
| .m4a | audio/mp4 | MPEG-4 audio |
| .aac | audio/aac | AAC audio |
| .flac | audio/flac | FLAC audio |
| .opus | audio/opus | Opus audio |
| .mid | audio/midi | MIDI music |
| .mp4 | video/mp4 | MP4 video |
| .webm | video/webm | WebM video |
| .ogv | video/ogg | Ogg video |
| .mov | video/quicktime | QuickTime video |
| .avi | video/x-msvideo | AVI video |
| .mkv | video/x-matroska | Matroska video |
| .mpeg | video/mpeg | MPEG video |
| .3gp | video/3gpp | 3GPP video |
| .zip | application/zip | ZIP archive |
| .gz | application/gzip | Gzip archive |
| .tar | application/x-tar | TAR archive |
| .rar | application/vnd.rar | RAR archive |
| .7z | application/x-7z-compressed | 7-Zip archive |
| .bz2 | application/x-bzip2 | Bzip2 archive |
| .woff | font/woff | WOFF font |
| .woff2 | font/woff2 | WOFF2 font |
| .ttf | font/ttf | TrueType font |
| .otf | font/otf | OpenType font |
| .eot | application/vnd.ms-fontobject | Embedded OpenType font |
| .bin | application/octet-stream | Binary data of unknown type |
| .exe | application/vnd.microsoft.portable-executable | Windows executable |
| .apk | application/vnd.android.package-archive | Android app package |
| .dmg | application/x-apple-diskimage | macOS disk image |
| .iso | application/x-iso9660-image | Disc image |
| .swf | application/x-shockwave-flash | Flash (obsolete) |
No file type matches your search.
Everything on this page works in your browser.
png, pdf, application/json or a word from the description.
Text, code, documents, images, audio, video, archives or fonts.
Use it in a Content-Type header, an upload check or a server rule.
A MIME type, also called a media type or content type, is a short label such as image/png or
application/pdf that says what kind of data a file holds. Browsers, servers, email programs and APIs use it to decide
what to do with the data: show an image, download a document, run a script or reject a file. Getting it right avoids strange
problems such as a stylesheet that is ignored, a font that will not load or a PDF that downloads instead of opening.
image/jpeg and
image/png. The accept attribute of a file input takes MIME types as well as extensions.A file's extension is just part of its name, and anyone can change it. The MIME type is what the server declares for the file,
and what a browser actually trusts. That is why a file renamed from .exe to .jpg does not become an image. For security, servers can add
the header X-Content-Type-Options: nosniff, which tells the browser to obey the declared type and not guess.
For text types it is good practice to add a character set, as in text/html; charset=utf-8. JavaScript is now officially
text/javascript, although the older application/javascript is still common. When a server does not know the type of a file, it
falls back to application/octet-stream, which browsers treat as a download. Some files have several extensions for the same
type, such as .jpg and .jpeg.
It lists the types web developers and site owners meet most often, around ninety. It is not the full registry kept by IANA, which has thousands of entries, and some types, such as those for the Office formats, are long by nature. Check the official registry for a rare format.
More utilities that also run without leaving your browser.