MIME Types

Look up the MIME type for any file extension — and the other way around.

GenerateMake a QR codeQR codes for links, Wi-Fi, and contacts — no watermark, no sign-up.Create
ExtensionMIME typeDescription
.htmltext/htmlHyperText Markup Language document
.csstext/cssCascading Style Sheets
.jstext/javascriptJavaScript source
.jsonapplication/jsonJSON data
.xmlapplication/xmlXML data
.csvtext/csvComma-separated values
.txttext/plainPlain text
.mdtext/markdownMarkdown document
.icstext/calendariCalendar event data
.pngimage/pngPortable Network Graphics image
.jpgimage/jpegJPEG image
.jpegimage/jpegJPEG image
.gifimage/gifGraphics Interchange Format image
.webpimage/webpWebP image
.svgimage/svg+xmlScalable Vector Graphics
.bmpimage/bmpBitmap image
.icoimage/vnd.microsoft.iconIcon (favicon) format
.tiffimage/tiffTagged Image File Format
.avifimage/avifAV1 Image File Format
.heicimage/heicHigh Efficiency Image Format
.mp3audio/mpegMP3 audio
.wavaudio/wavWaveform audio
.oggaudio/oggOgg Vorbis audio
.mp4video/mp4MPEG-4 video
.webmvideo/webmWebM video
.movvideo/quicktimeQuickTime video
.avivideo/x-msvideoAudio Video Interleave
.wofffont/woffWeb Open Font Format
.woff2font/woff2Web Open Font Format 2
.ttffont/ttfTrueType Font
.otffont/otfOpenType Font
.pdfapplication/pdfPortable Document Format
.docapplication/mswordMicrosoft Word document (legacy)
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.documentMicrosoft Word document
.xlsapplication/vnd.ms-excelMicrosoft Excel spreadsheet (legacy)
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheetMicrosoft Excel spreadsheet
.pptapplication/vnd.ms-powerpointMicrosoft PowerPoint presentation (legacy)
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentationMicrosoft PowerPoint presentation
.zipapplication/zipZIP archive
.gzapplication/gzipGzip archive
.tarapplication/x-tarTape archive
.7zapplication/x-7z-compressed7-Zip archive
.rarapplication/vnd.rarRAR archive
.binapplication/octet-streamArbitrary binary data
.wasmapplication/wasmWebAssembly module

How to find a MIME type

MIME types (also called media types or content types) tell a browser or server how to handle a file — for example image/png or application/json. Type an extension like ‘.svg’, a type like ‘image’, or a keyword like ‘font’ to filter the table.

Questions

What is a MIME type?
A MIME type is a standard label like text/html or image/png that identifies the format of a file. Servers send it in the Content-Type header so browsers know how to render or download the content.
What MIME type should I use for JSON?
Use application/json for JSON data. It is the registered, standard media type and is what virtually every API and browser expects.