MIME Type of a File Extension
Find the MIME type of a file extension and vice versa.
.htmltext/html.csstext/css.jstext/javascript.mjstext/javascript.jsonapplication/json.xmlapplication/xml.txttext/plain.csvtext/csv.mdtext/markdown.pdfapplication/pdf.zipapplication/zip.gzapplication/gzip.pngimage/png.jpgimage/jpeg.jpegimage/jpeg.gifimage/gif.webpimage/webp.avifimage/avif.svgimage/svg+xml.icoimage/x-icon.mp3audio/mpeg.wavaudio/wav.oggaudio/ogg.mp4video/mp4.webmvideo/webm.movvideo/quicktime.wofffont/woff.woff2font/woff2.ttffont/ttf.otffont/otf.icstext/calendar.wasmapplication/wasm.yamlapplication/yaml.tomlapplication/toml🔒 100% client-side — no data sent
Find the MIME type associated with a file extension, or the reverse, in seconds. Essential for configuring your Content-Type headers, web servers and uploads. The lookup runs in your browser, with no data upload.
What is it for?
- ▸ Set the right Content-Type for a download
- ▸ Configure MIME types in Nginx or Apache
- ▸ Check the expected type for a file upload
- ▸ Find the extension matching a MIME type
FAQ
What is a MIME type?
It is a standard identifier (like text/html or image/png) that describes the nature of a file or content exchanged over the web.
What is the Content-Type header for?
It tells the browser or client how to interpret received content, for example to display or download it.
Can a MIME type have multiple extensions?
Yes, for example image/jpeg maps to both .jpg and .jpeg.