MIME Type Lookup
Find the MIME type for an extension, or the reverse.
Drop any file here to detect its MIME type
Detected from magic bytes and contents, not just the file name.
| Extension | MIME type | Description | Action |
|---|---|---|---|
.png | image/png | Portable Network Graphics | |
.jpg | image/jpeg | JPEG Image | |
.jpeg | image/jpeg | JPEG Image | |
.webp | image/webp | WebP Image | |
.gif | image/gif | Graphics Interchange Format | |
.svg | image/svg+xml | Scalable Vector Graphics | |
.avif | image/avif | AV1 Image File Format | |
.heic | image/heic | High Efficiency Image Container | |
.heif | image/heif | High Efficiency Image Format | |
.bmp | image/bmp | Windows Bitmap | |
.ico | image/x-icon | Windows Icon | |
.cur | image/x-icon | Windows Cursor | |
.tif | image/tiff | Tagged Image File Format | |
.tiff | image/tiff | Tagged Image File Format | |
.psd | image/vnd.adobe.photoshop | Adobe Photoshop Document | |
.apng | image/apng | Animated PNG | |
.jxl | image/jxl | JPEG XL Image | |
.pdf | application/pdf | Portable Document Format | |
.docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document | Word Document (OOXML) | |
.xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | Excel Workbook (OOXML) | |
.pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation | PowerPoint Presentation (OOXML) | |
.doc | application/msword | Legacy Word Document | |
.xls | application/vnd.ms-excel | Legacy Excel Spreadsheet | |
.ppt | application/vnd.ms-powerpoint | Legacy 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 eBook | |
.txt | text/plain | Plain Text File | |
.md | text/markdown | Markdown Document | |
.markdown | text/markdown | Markdown Document | |
.log | text/plain | Log Text File | |
.ics | text/calendar | iCalendar Event File | |
.vcf | text/vcard | vCard Contact File | |
.json | application/json | JSON Data | |
.jsonld | application/ld+json | JSON-LD Linked Data | |
.jsonl | application/x-ndjson | Newline-Delimited JSON | |
.ndjson | application/x-ndjson | Newline-Delimited JSON | |
.csv | text/csv | Comma-Separated Values | |
.tsv | text/tab-separated-values | Tab-Separated Values | |
.xml | application/xml | Extensible Markup Language | |
.yaml | application/yaml | YAML Configuration | |
.yml | application/yaml | YAML Configuration | |
.toml | application/toml | TOML Configuration | |
.sql | application/sql | SQL Script | |
.sqlite | application/vnd.sqlite3 | SQLite 3 Database | |
.db | application/vnd.sqlite3 | SQLite Database | |
.parquet | application/vnd.apache.parquet | Apache Parquet Columnar Data | |
.ini | text/plain | INI Configuration File | |
.env | text/plain | Environment Variables File | |
.zip | application/zip | ZIP Compressed Archive | |
.gz | application/gzip | GZIP Compressed File | |
.tar | application/x-tar | TAR Archive | |
.tgz | application/gzip | Gzipped TAR Archive | |
.bz2 | application/x-bzip2 | BZIP2 Compressed File | |
.xz | application/x-xz | XZ Compressed File | |
.zst | application/zstd | Zstandard Compressed File | |
.7z | application/x-7z-compressed | 7-Zip Archive | |
.rar | application/vnd.rar | RAR Archive | |
.jar | application/java-archive | Java Archive (JAR) | |
.apk | application/vnd.android.package-archive | Android Package (APK) | |
.dmg | application/x-apple-diskimage | Apple Disk Image | |
.iso | application/x-iso9660-image | ISO 9660 Disc Image | |
.enc | application/octet-stream | Encrypted File Payload | |
.html | text/html | HTML Document | |
.htm | text/html | HTML Document | |
.css | text/css | Cascading Style Sheets | |
.js | text/javascript | JavaScript Source | |
.mjs | text/javascript | JavaScript ES Module | |
.cjs | text/javascript | CommonJS Module | |
.ts | text/typescript | TypeScript Source | |
.tsx | text/tsx | TypeScript JSX Source | |
.jsx | text/jsx | React JSX Source | |
.py | text/x-python | Python Script | |
.go | text/x-go | Go Source File | |
.rs | text/x-rust | Rust Source File | |
.sh | application/x-sh | Shell Script | |
.wasm | application/wasm | WebAssembly Binary Module | |
.webmanifest | application/manifest+json | Web App Manifest | |
.map | application/json | Source Map JSON | |
.rss | application/rss+xml | RSS Feed XML | |
.atom | application/atom+xml | Atom Syndication Feed | |
.mp3 | audio/mpeg | MPEG Audio Layer III | |
.wav | audio/wav | Waveform Audio | |
.ogg | audio/ogg | Ogg Vorbis Audio | |
.opus | audio/opus | Opus Audio | |
.flac | audio/flac | Free Lossless Audio Codec | |
.aac | audio/aac | Advanced Audio Coding | |
.m4a | audio/mp4 | MPEG-4 Audio | |
.mid | audio/midi | MIDI Musical Sequence | |
.midi | audio/midi | MIDI Musical Sequence | |
.weba | audio/webm | WebM Audio | |
.mp4 | video/mp4 | MPEG-4 Video | |
.webm | video/webm | WebM Video | |
.mov | video/quicktime | QuickTime Movie | |
.avi | video/x-msvideo | Audio Video Interleave | |
.mkv | video/x-matroska | Matroska Video | |
.m4v | video/x-m4v | MPEG-4 Video (Apple) | |
.mpeg | video/mpeg | MPEG Video | |
.ogv | video/ogg | Ogg Theora Video | |
.woff | font/woff | Web Open Font Format 1 | |
.woff2 | font/woff2 | Web Open Font Format 2 | |
.ttf | font/ttf | TrueType Font | |
.otf | font/otf | OpenType Font | |
.eot | application/vnd.ms-fontobject | Embedded OpenType Font | |
.exe | application/vnd.microsoft.portable-executable | Windows Executable (PE) | |
.dll | application/vnd.microsoft.portable-executable | Windows Dynamic-Link Library | |
.elf | application/x-elf | Linux ELF Executable | |
.so | application/x-sharedlib | ELF Shared Library | |
.dylib | application/x-mach-binary | macOS Dynamic Library | |
.bin | application/octet-stream | Raw Binary Data | |
.pem | application/x-pem-file | PEM Certificate or Key | |
.der | application/x-x509-ca-cert | DER Encoded Certificate | |
.p12 | application/x-pkcs12 | PKCS #12 Keystore Bundle |
Files stay in memory on this device. Nothing is uploaded.
How to use MIME Type Lookup
Type an extension (such as .webp), MIME type (such as application/json), or keyword into the search box.
Click Copy on any row to copy its exact MIME string to the clipboard.
Or drop any local file above the table to detect its real MIME type from its contents.
Frequently asked questions
What happens if a dropped file has a misleading extension?
The detector reads magic bytes first and warns you when the filename extension disagrees with the detected MIME type.
Does it work offline?
Yes. Both the 110+ entry MIME directory and the magic-byte detector run completely offline.