Extension ↔ MIME type mapping for HTTP headers and configs.
| Extension | MIME type | |
|---|---|---|
| .aac | audio/aac | |
| .avi | video/x-msvideo | |
| .bin | application/octet-stream | |
| .bmp | image/bmp | |
| .bz2 | application/x-bzip2 | |
| .css | text/css | |
| .csv | text/csv | |
| .doc | application/msword | |
| .docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document | |
| .eot | application/vnd.ms-fontobject | |
| .epub | application/epub+zip | |
| .gif | image/gif | |
| .gz | application/gzip | |
| .htm/.html | text/html | |
| .ico | image/vnd.microsoft.icon | |
| .ics | text/calendar | |
| .jar | application/java-archive | |
| .jpeg/.jpg | image/jpeg | |
| .js | text/javascript | |
| .json | application/json | |
| .jsonld | application/ld+json | |
| .mjs | text/javascript | |
| .mp3 | audio/mpeg | |
| .mp4 | video/mp4 | |
| .mpeg | video/mpeg | |
| .odp | application/vnd.oasis.opendocument.presentation | |
| .ods | application/vnd.oasis.opendocument.spreadsheet | |
| .odt | application/vnd.oasis.opendocument.text | |
| .oga | audio/ogg | |
| .ogv | video/ogg | |
| .otf | font/otf | |
| .png | image/png | |
| application/pdf | ||
| .rar | application/vnd.rar | |
| .rtf | application/rtf | |
| .svg | image/svg+xml | |
| .tar | application/x-tar | |
| .tif/.tiff | image/tiff | |
| .ts | video/mp2t | |
| .ttf | font/ttf | |
| .txt | text/plain | |
| .wasm | application/wasm | |
| .wav | audio/wav | |
| .weba | audio/webm | |
| .webm | video/webm | |
| .webmanifest | application/manifest+json | |
| .webp | image/webp | |
| .woff | font/woff | |
| .woff2 | font/woff2 | |
| .xhtml | application/xhtml+xml | |
| .xls | application/vnd.ms-excel | |
| .xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | |
| .xml | application/xml | |
| .zip | application/zip | |
| .7z | application/x-7z-compressed |
🌐 Common gotchas: .js is now officially text/javascript (not application/javascript), fonts are font/* since 2017, and .webp is image/webp — some old server defaults still get these wrong.
Servers declare Content-Type so browsers know how to render bytes. A wrong value breaks things quietly: stylesheets served as text/plain are refused under strict MIME checking, SVGs download instead of rendering, fonts fail CORS-adjacent validation.
JavaScript is now officially text/javascript (application/javascript was deprecated). Fonts moved to font/* in 2017 (font/woff2). Web app manifests need application/manifest+json exactly.
application/octet-stream forces download rather than display. Use it for binaries users should save; never for PDFs or images you want shown inline.
The MIME Type Lookup handles mime type lookupdirectly in your browser. Paste or type your input, and the tool processes it instantly — no upload, no signup, no waiting. It's built for the moments when you need a quick transformation and don't want to leave your workflow.
Because the tool runs client-side, it's fast and private. Your text never touches a server, which makes it safe for sensitive content. The interface is keyboard-friendly and works on any device with a modern browser.
Common uses: people reach for this tool when they need to use a mime type for svg files, correct content type for json api, web server mime types nginx, or woff2 font mime type.
Browser-based tools like this one have a few real advantages over installed software or manual methods:
More tools you might find useful