My Tools Garage

MIME Type Lookup

Find the MIME type for any file extension.

in-browser
55 matches
ExtensionMIME type
.txttext/plain
.htmltext/html
.htmtext/html
.csstext/css
.csvtext/csv
.mdtext/markdown
.jstext/javascript
.mjstext/javascript
.jsonapplication/json
.xmlapplication/xml
.yamlapplication/yaml
.ymlapplication/yaml
.wasmapplication/wasm
.pdfapplication/pdf
.docapplication/msword
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
.xlsapplication/vnd.ms-excel
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.pptapplication/vnd.ms-powerpoint
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentation
.rtfapplication/rtf
.pngimage/png
.jpgimage/jpeg
.jpegimage/jpeg
.gifimage/gif
.webpimage/webp
.svgimage/svg+xml
.bmpimage/bmp
.icoimage/x-icon
.tiffimage/tiff
.avifimage/avif
.heicimage/heic
.mp3audio/mpeg
.wavaudio/wav
.oggaudio/ogg
.flacaudio/flac
.aacaudio/aac
.m4aaudio/mp4
.webaaudio/webm
.mp4video/mp4
.webmvideo/webm
.movvideo/quicktime
.avivideo/x-msvideo
.mkvvideo/x-matroska
.mpegvideo/mpeg
.wofffont/woff
.woff2font/woff2
.ttffont/ttf
.otffont/otf
.zipapplication/zip
.gzapplication/gzip
.tarapplication/x-tar
.7zapplication/x-7z-compressed
.rarapplication/vnd.rar
.binapplication/octet-stream

How to use

  1. 1 Type a file extension, such as png or webp.
  2. 2 Read the matching MIME type and copy it.
  3. 3 Or type a media type, such as image/ or application/, to search the other way.
  4. 4 Use the copy button to grab the value you need.

About MIME Type Lookup

The MIME Type Lookup maps file extensions to their media types and back again.

Search by extension — type “png”, “svg” or “docx” — to get the exact Content-Type string you should send, or search by media type — type “image/” or “application/json” — to see every extension that uses it.

The table covers more than fifty of the pairings you meet daily: text and web formats, documents, images, audio, video, fonts and archives.

Getting the Content-Type header right matters more than it seems.

Serve a font or a WebAssembly module with the wrong type and browsers may refuse to use it; serve a download with the wrong type and it may open in the tab instead of saving.

Rather than half-remembering whether SVG is text/xml or image/svg+xml, you can confirm it in a second.

The leading dot, surrounding whitespace and letter case are all ignored, so “.PNG” and “png” resolve the same way.

Results filter live as you type, and each MIME string has a copy button so you can paste it straight into a config file or server route.

The lookup table is bundled with the page and runs entirely in your browser — no uploads, no network calls, no tracking.

FAQ

Can I search by MIME type instead of extension?

Yes. Type any part of a media type, like “audio/” or “json”, and every matching extension is listed.

Why do some MIME types map to several extensions?

Formats like JPEG (jpg, jpeg) and YAML (yml, yaml) have more than one common extension, so the lookup lists them all.