Skip to content
The Internet Compass

Developer Utilities

MIME Type Lookup

A quick lookup for the Content-Type header value that matches a given file extension.

FreeNo sign-upRuns in your browser
ExtensionMIME type
.jsonapplication/json
.xmlapplication/xml
.htmltext/html
.csstext/css
.jstext/javascript
.csvtext/csv
.pdfapplication/pdf
.zipapplication/zip
.pngimage/png
.jpg / .jpegimage/jpeg
.webpimage/webp
.svgimage/svg+xml
.gifimage/gif
.icoimage/x-icon
.mp4video/mp4
.webmvideo/webm
.mp3audio/mpeg
.wavaudio/wav
.woff2font/woff2
.ttffont/ttf
.txttext/plain
.mdtext/markdown
.yaml / .ymlapplication/yaml
.wasmapplication/wasm
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
26 of 26 rows

How it works

  1. 1Type an extension or keyword
  2. 2Matching MIME types filter instantly
  3. 3Copy the correct Content-Type value

Who this is for

  • Setting the right Content-Type header on a file upload
  • Configuring a server's MIME type mapping
  • Double-checking a MIME type during API debugging