License: CC BY 4.0. Free to use in personal and commercial projects; please credit Online JSON Formatter with a link to this page.

How to Use This List

Servers send a MIME type in the Content-Type header so the browser knows how to handle a file. Use this list to set the right type for downloads, check uploads or build a file picker.

ExtensionMIME typeDescription
.jsonapplication/jsonJSON data
.jsonlapplication/jsonlJSON Lines, one JSON value per line (no official type yet; application/x-ndjson is also used)
.ndjsonapplication/x-ndjsonNewline-delimited JSON
.jsonldapplication/ld+jsonJSON-LD linked data
.geojsonapplication/geo+jsonGeoJSON map data
.xmlapplication/xmlXML document
.yamlapplication/yamlYAML document (also .yml)
.csvtext/csvComma-separated values
.tsvtext/tab-separated-valuesTab-separated values
.sqlapplication/sqlSQL script
.txttext/plainPlain text
.mdtext/markdownMarkdown
.htmltext/htmlHTML web page
.csstext/cssCSS stylesheet
.jstext/javascriptJavaScript
.mjstext/javascriptJavaScript module
.wasmapplication/wasmWebAssembly
.webmanifestapplication/manifest+jsonWeb app manifest
.icstext/calendariCalendar event
.pngimage/pngPNG image
.jpgimage/jpegJPEG image (also .jpeg)
.gifimage/gifGIF image
.webpimage/webpWebP image
.avifimage/avifAVIF image
.svgimage/svg+xmlSVG vector image
.icoimage/vnd.microsoft.iconIcon file
.bmpimage/bmpBitmap image
.tifimage/tiffTIFF image (also .tiff)
.mp3audio/mpegMP3 audio
.wavaudio/wavWAV audio
.oggaudio/oggOgg audio
.m4aaudio/mp4AAC audio in an MP4 container
.mp4video/mp4MP4 video
.webmvideo/webmWebM video
.movvideo/quicktimeQuickTime video
.avivideo/x-msvideoAVI video
.wofffont/woffWeb font
.woff2font/woff2Web font, compressed
.ttffont/ttfTrueType font
.otffont/otfOpenType font
.pdfapplication/pdfPDF document
.docapplication/mswordWord document (old format)
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.documentWord document
.xlsapplication/vnd.ms-excelExcel spreadsheet (old format)
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheetExcel spreadsheet
.pptapplication/vnd.ms-powerpointPowerPoint presentation (old format)
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentationPowerPoint presentation
.odtapplication/vnd.oasis.opendocument.textOpenDocument text
.rtfapplication/rtfRich Text Format
.epubapplication/epub+zipE-book
.zipapplication/zipZIP archive
.gzapplication/gzipGzip compressed file
.tarapplication/x-tarTape archive
.7zapplication/x-7z-compressed7-Zip archive
.rarapplication/vnd.rarRAR archive
.apkapplication/vnd.android.package-archiveAndroid app package
.binapplication/octet-streamAny binary data

Frequently Asked Questions

What is a MIME type?

A MIME type (media type) tells browsers and servers what kind of file they are handling, for example application/json for JSON or image/png for PNG images.

What MIME type should I use for JSON?

Use application/json. For JSON Lines, application/x-ndjson is common, and for JSON-LD use application/ld+json.

Can I use this list in my code?

Yes. Download the JSON and use it to look up content types for uploads, downloads or server responses.

Related Tools