Back to datasets

Common MIME Types (JSON)

The file-extension-to-MIME-type pairs developers use most: data, web, images, audio and video, fonts, documents and archives — for Content-Type headers, upload validation and static servers.

58 / 58 rows
ExtensionMIME typeCategory
.jsonapplication/jsondata
.xmlapplication/xmldata
.yamlapplication/yamldata
.csvtext/csvdata
.txttext/plaindata
.mdtext/markdowndata
.tomlapplication/tomldata
.ndjsonapplication/x-ndjsondata
.htmltext/htmlweb
.csstext/cssweb
.jstext/javascriptweb
.mjstext/javascriptweb
.wasmapplication/wasmweb
.webmanifestapplication/manifest+jsonweb
.icstext/calendarweb
.rssapplication/rss+xmlweb
.atomapplication/atom+xmlweb
.pngimage/pngimage
.jpgimage/jpegimage
.jpegimage/jpegimage
.gifimage/gifimage
.webpimage/webpimage
.avifimage/avifimage
.svgimage/svg+xmlimage
.icoimage/x-iconimage
.bmpimage/bmpimage
.tiffimage/tiffimage
.mp3audio/mpegmedia
.wavaudio/wavmedia
.oggaudio/oggmedia
.aacaudio/aacmedia
.flacaudio/flacmedia
.mp4video/mp4media
.webmvideo/webmmedia
.movvideo/quicktimemedia
.avivideo/x-msvideomedia
.mkvvideo/x-matroskamedia
.wofffont/wofffont
.woff2font/woff2font
.ttffont/ttffont
.otffont/otffont
.pdfapplication/pdfdoc
.docapplication/msworddoc
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.documentdoc
.xlsapplication/vnd.ms-exceldoc
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheetdoc
.pptapplication/vnd.ms-powerpointdoc
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentationdoc
.epubapplication/epub+zipdoc
.zipapplication/ziparchive
.gzapplication/gziparchive
.tarapplication/x-tararchive
.rarapplication/vnd.rararchive
.7zapplication/x-7z-compressedarchive
.binapplication/octet-streambinary
.exeapplication/vnd.microsoft.portable-executablebinary
.apkapplication/vnd.android.package-archivebinary
.dmgapplication/x-apple-diskimagebinary

Compiled from the IANA media type registry and current WHATWG mimesniff conventions; this is the common subset, not the full registry.

What the MIME type decides

The Content-Type header tells the browser what to do with the bytes: text/html renders a page, application/json usually displays, application/octet-stream triggers a download. Typical misconfigurations: a .js file served as text/plain is rejected by module loading, and a mislabeled SVG will not render.

Easily confused entries

JSON is application/json, not text/json; the current standard for JavaScript is text/javascript (application/javascript is obsolete); .jpg and .jpeg are both image/jpeg; and never trust the extension alone for uploads — sniff the real type server-side.