Loona Automation logoLoona Developer Tools
Home › Reference

MIME Types Reference

In short: the content types you will actually set or debug — web, office, media, archive and font formats — by extension, filterable as you type.
🔒 Private by design: everything runs in your browser on this device. Your input is never uploaded to a server.
ExtensionMIME typeUsed for
.htmltext/htmlWeb pages
.csstext/cssStylesheets
.jstext/javascriptJavaScript
.jsonapplication/jsonJSON data
.xmlapplication/xmlXML documents
.txttext/plainPlain text
.csvtext/csvComma-separated values
.mdtext/markdownMarkdown
.pngimage/pngPNG images
.jpgimage/jpegJPEG photos
.gifimage/gifGIF images
.webpimage/webpWebP images
.svgimage/svg+xmlSVG vector images
.icoimage/x-iconFavicons
.avifimage/avifAVIF images
.mp3audio/mpegMP3 audio
.wavaudio/wavWAV audio
.oggaudio/oggOgg audio
.mp4video/mp4MP4 video
.webmvideo/webmWebM video
.movvideo/quicktimeQuickTime video
.pdfapplication/pdfPDF documents
.zipapplication/zipZIP archives
.tarapplication/x-tarTAR archives
.gzapplication/gzipGzip files
.7zapplication/x-7z-compressed7Z archives
.rarapplication/vnd.rarRAR archives
.docapplication/mswordWord (legacy)
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.documentWord OOXML
.xlsapplication/vnd.ms-excelExcel (legacy)
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheetExcel OOXML
.pptapplication/vnd.ms-powerpointPowerPoint (legacy)
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentationPowerPoint OOXML
.wofffont/woffWeb fonts
.woff2font/woff2Web fonts v2
.ttffont/ttfTrueType fonts
.otffont/otfOpenType fonts
.wasmapplication/wasmWebAssembly
.binapplication/octet-streamGeneric binary
.form / POSTapplication/x-www-form-urlencodedHTML form submissions
.json APIapplication/ld+jsonJSON-LD structured data

About

A MIME type (media type) is how a server tells a browser what a file actually is — the Content-Type header derived from this table is what stops a .png being served as text or a download being sniffed into HTML (an XSS vector, which is why X-Content-Type-Options: nosniff exists). The table covers the formats of daily web work. Two entries cause recurring bugs worth memorising: JavaScript is text/javascript (the old application/javascript is deprecated), and .svg is image/svg+xml — served wrong, SVG icons silently fail.

Frequently Asked Questions

Why does my file download instead of displaying?

The server sent application/octet-stream or a wrong type, or Content-Disposition: attachment. Check the response headers against this table.

Is the extension or the header authoritative?

The header — browsers act on Content-Type (with sniffing as the risky fallback nosniff disables). Extensions only matter to the server choosing the header.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.