🛠️Dev Toolbox

📄 MIME Type Lookup

Find MIME types by file extension or search by media type with descriptions common uses and the authoritative IETF RFC references for each type.

Common MIME Types (68)

ExtensionMIME Type
.jsonapplication/json
.xmlapplication/xml
.pdfapplication/pdf
.zipapplication/zip
.gzapplication/gzip
.gzipapplication/gzip
.binapplication/octet-stream
.exeapplication/octet-stream
.jsapplication/javascript
.mjsapplication/javascript
.tsapplication/typescript
.xhtmlapplication/xhtml+xml
.wasmapplication/wasm
.htmltext/html
.htmtext/html
.csstext/css
.txttext/plain
.logtext/plain
.csvtext/csv
.mdtext/markdown
.markdowntext/markdown
.yamltext/yaml
.ymltext/yaml
.jpgimage/jpeg
.jpegimage/jpeg
.pngimage/png
.gifimage/gif
.webpimage/webp
.svgimage/svg+xml
.icoimage/x-icon
.avifimage/avif
.bmpimage/bmp
.tiffimage/tiff
.tifimage/tiff
.heicimage/heic
.mp3audio/mpeg
.wavaudio/wav
.oggaudio/ogg
.aacaudio/aac
.flacaudio/flac
.webaaudio/webm
.midaudio/midi
.midiaudio/midi
.mp4video/mp4
.webmvideo/webm
.ogvvideo/ogg
.avivideo/x-msvideo
.movvideo/quicktime
.mkvvideo/x-matroska
.mpegvideo/mpeg
.mpgvideo/mpeg
.wofffont/woff
.woff2font/woff2
.ttffont/ttf
.otffont/otf
.xlsapplication/vnd.ms-excel
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.docapplication/msword
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
.pptapplication/vnd.ms-powerpoint
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentation
.apkapplication/vnd.android.package-archive
.rarapplication/x-rar-compressed
.tarapplication/x-tar
.7zapplication/x-7z-compressed
.swfapplication/x-shockwave-flash
.sqlapplication/sql
.graphqlapplication/graphql

MIME Type Lookup

You are setting up a server and you need the right Content-Type header for .webp files. Or you are debugging why a browser is downloading a file instead of displaying it. Type the extension or media type and get the answer.

Search by extension (.pdf, json, png) or by media type (application/json). Get the canonical MIME type, RFC reference, and description.

Common lookups

ExtensionMIME TypeNotes
.htmltext/htmlDo not forget the charset parameter
.jsonapplication/jsonRFC 8259
.pngimage/pngRFC 2084
.svgimage/svg+xmlIt is XML, hence the +xml suffix
.zipapplication/zip
.webpimage/webpVendor-tree type
.pdfapplication/pdf
.mp4video/mp4
.woff2font/woff2If this is wrong, your fonts will not load

Trees

MIME types are organized by registration tree:

  • Standards tree -- no prefix. text/html, image/png. These are the safe, stable ones.
  • Vendor tree (vnd.) -- application/vnd.api+json. Specific to a product or organization.
  • Personal tree (prs.) -- personal or experimental types.
  • Unregistered (x- prefix) -- deprecated convention. Avoid for new work.

The one that trips people up

image/jpg does not exist. The registered type is image/jpeg. If you are serving JPEGs with image/jpg, some browsers will handle it fine and others will not. Use image/jpeg.

When you are configuring a server

Always set an explicit Content-Type with a charset for text responses. text/html; charset=utf-8 eliminates an entire class of rendering bugs. If you do not set it, browsers guess -- and they guess wrong often enough to matter.

More Developer Tools

Explore our complete collection of 60+ free developer tools at dev.aisoosoo.com. All tools run 100% in your browser — no signup, no data sent to servers.