MIME Type Lookup
Find MIME types by file extension or search by content type and keyword.
63 results
Text
text/plainPlain text without formatting.
text/htmlHyperText Markup Language documents.
text/cssCascading Style Sheets.
text/javascriptJavaScript source (modern preferred MIME).
text/csvComma-separated values.
text/markdownMarkdown source documents.
text/xmlXML treated as text.
text/calendariCalendar / vCalendar.
text/vcardvCard contact data.
Image
image/pngPortable Network Graphics — lossless raster.
image/jpegJPEG lossy raster image.
image/gifGraphics Interchange Format with animation support.
image/webpModern Google raster format with great compression.
image/avifAV1 Image File Format — superior compression.
image/svg+xmlScalable Vector Graphics — XML-based vectors.
image/x-iconWindows / favicon icon format.
image/bmpWindows bitmap image.
image/tiffTagged Image File Format — print and scanning.
image/heicHigh Efficiency Image Container — Apple devices.
Audio
audio/mpegMPEG audio (MP3) — universal compressed audio.
audio/wavWaveform Audio — uncompressed PCM.
audio/oggOgg container, typically Vorbis or Opus audio.
audio/flacFree Lossless Audio Codec.
audio/webmWebM audio (Vorbis/Opus).
audio/mp4MP4 audio container, often AAC.
audio/aacAdvanced Audio Coding stream.
Video
video/mp4MPEG-4 video container — broadly supported.
video/webmOpen WebM video container.
video/oggOgg video container.
video/quicktimeApple QuickTime movie.
video/x-msvideoMicrosoft AVI container (legacy).
video/x-matroskaMatroska multimedia container.
video/mp2tMPEG-2 transport stream (HLS segments).
Application
application/jsonJSON data interchange.
application/ld+jsonJSON for Linking Data.
application/xmlXML treated as data.
application/yamlYAML data serialization.
application/pdfPortable Document Format.
application/octet-streamGeneric binary stream — unknown payload.
application/javascriptJavaScript (legacy MIME, prefer text/javascript).
application/wasmWebAssembly binary module.
application/manifest+jsonWeb App Manifest.
application/x-www-form-urlencodedForm data encoded as URL parameters.
multipart/form-dataMultipart form upload (files + fields).
application/sqlSQL script.
application/rtfRich Text Format documents.
application/vnd.ms-excelMicrosoft Excel 97-2003 spreadsheet.
application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMicrosoft Excel (modern, OOXML) spreadsheet.
application/mswordMicrosoft Word 97-2003 document.
application/vnd.openxmlformats-officedocument.wordprocessingml.documentMicrosoft Word (modern, OOXML) document.
application/vnd.ms-powerpointMicrosoft PowerPoint 97-2003 presentation.
application/vnd.openxmlformats-officedocument.presentationml.presentationMicrosoft PowerPoint (modern, OOXML) presentation.
Archive
application/zipZIP archive.
application/gzipGzip-compressed file.
application/x-tarTape archive (uncompressed).
application/x-7z-compressed7-Zip archive.
application/vnd.rarRAR archive.
application/x-bzip2Bzip2-compressed file.
Font
font/woffWeb Open Font Format.
font/woff2Web Open Font Format 2 — better compression.
font/ttfTrueType Font.
font/otfOpenType Font.
font/collectionTrueType / OpenType Collection.
About MIME Type Lookup
MIME Type Lookup is a searchable mapping between file extensions and MIME types (also called media types or content types) in both directions. Type an extension (`.pdf`, `webp`, `tar.gz`) and get the canonical type (`application/pdf`, `image/webp`, `application/gzip`); type a content type and get every extension that resolves to it. The data follows the IANA media-type registry, with widely-used unregistered types (like `image/x-icon`) included alongside the official ones.
Reach for it whenever you are setting `Content-Type` on a response, configuring a static-file server, or trying to figure out what extension a downloaded blob should have. Picking the right MIME type matters: the wrong one prevents browser previews, breaks `<img>` rendering, blocks PDF inlining, or causes downloads when an inline view was intended. HTTP Status Codes is the related reference for the other side of the response — what to put on the status line; this is for the `Content-Type` header.
Examples
search: webpimage/webp
— Extensions: .webp
— Registered with IANA, RFC 9649Search by extension (`webp`, `.webp`) or by content type (`image/webp`). The result includes IANA registration and a link to the RFC.
Frequently asked questions
Why are some types prefixed with `application/x-` or `image/vnd.`?
`x-` was the original prefix for unregistered types; modern practice is to use `vnd.` (vendor) or just register the type with IANA. You will still see `x-` types in the wild — `application/x-tar`, `image/x-icon`, `application/x-www-form-urlencoded` — for historical reasons.
What MIME type should I serve a JSON file as?
`application/json`, per RFC 8259. Some legacy servers still serve `text/json` or `text/plain`, both of which work in a browser but are wrong; modern fetch APIs and JSON parsers expect `application/json` and may behave unpredictably with the wrong type.
Are there types for newer formats like AVIF, JXL, WebM?
Yes. `image/avif` (registered), `image/jxl` (provisional), `video/webm` (registered) — all in the lookup. New image and video formats are added to the IANA registry as they ship; the dataset here updates with each release.
What about CSS, JavaScript, and HTML?
`text/css` for CSS, `text/javascript` for JS (the IANA-preferred type as of 2022; `application/javascript` is still accepted), `text/html` for HTML. Browsers tolerate variation here, but matching the official type avoids subtle issues with CDN caching and CSP rules.
