Privvert - private browser-based file toolsPrivvert

MIME Type Lookup

Map file extensions to Content-Type values and back.

ExtensionMIME / Content-TypeDescription
.htmltext/htmlHTML document
.csstext/cssCSS stylesheet
.jstext/javascriptJavaScript
.mjstext/javascriptES module
.jsonapplication/jsonJSON data
.xmlapplication/xmlXML data
.csvtext/csvCSV data
.txttext/plainPlain text
.mdtext/markdownMarkdown
.yamlapplication/yamlYAML
.pdfapplication/pdfPDF document
.docapplication/mswordWord document (legacy)
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.documentWord document
.xlsapplication/vnd.ms-excelExcel (legacy)
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheetExcel spreadsheet
.pptapplication/vnd.ms-powerpointPowerPoint (legacy)
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentationPowerPoint
.zipapplication/zipZIP archive
.rarapplication/vnd.rarRAR archive
.tarapplication/x-tarTAR archive
.gzapplication/gzipGzip
.7zapplication/x-7z-compressed7-Zip archive
.pngimage/pngPNG image
.jpgimage/jpegJPEG image
.jpegimage/jpegJPEG image
.gifimage/gifGIF image
.webpimage/webpWebP image
.avifimage/avifAVIF image
.svgimage/svg+xmlSVG image
.icoimage/vnd.microsoft.iconIcon
.heicimage/heicHEIC photo
.tiffimage/tiffTIFF image
.bmpimage/bmpBitmap
.mp3audio/mpegMP3 audio
.wavaudio/wavWAV audio
.oggaudio/oggOgg audio
.m4aaudio/mp4M4A audio
.flacaudio/flacFLAC audio
.mp4video/mp4MP4 video
.movvideo/quicktimeQuickTime video
.webmvideo/webmWebM video
.mkvvideo/x-matroskaMatroska video
.avivideo/x-msvideoAVI video
.ttffont/ttfTrueType font
.otffont/otfOpenType font
.wofffont/woffWOFF font
.woff2font/woff2WOFF2 font
.eotapplication/vnd.ms-fontobjectEOT font
.wasmapplication/wasmWebAssembly
.epubapplication/epub+zipEPUB e-book
.icstext/calendariCalendar
.vcftext/vcardvCard
.apkapplication/vnd.android.package-archiveAndroid APK
.exeapplication/vnd.microsoft.portable-executableWindows executable

54 of 54 entries

About this tool

Look up the MIME / Content-Type for a file extension, or find which extensions match a MIME type. Searchable list of common types used on the web - useful for setting Content-Type headers, configuring static file servers, building file upload validators, or just remembering whether .json is application/json or text/json.

Privvert covers documents, images, audio, video, fonts, archives and source code. Runs in your browser.

Features

  • Search by extension, MIME type or description
  • 50+ common types covered
  • Documents, images, audio, video, fonts, archives, source code
  • Multiple extensions per MIME type shown when applicable
  • Browser-only - runs locally
  • Free and unlimited
  • Reverse lookup: paste a MIME type to see every extension that uses it

How to use it

  1. Type an extension (with or without the dot) or part of a MIME type.
  2. Read the matching entries.
🔒 100% private

Everything happens inside your browser using JavaScript and WebAssembly. Your files are never uploaded to a server, never stored, and never seen by us.

Frequently asked questions

Is this list exhaustive?

It covers the most common web types. For a complete authoritative registry, see iana.org/assignments/media-types - that has thousands of obscure types this tool doesn't include.

What's the difference between text/json and application/json?

application/json is correct (per RFC 8259). text/json was used historically but is non-standard. Always use application/json for new code.

Why are there sometimes multiple types for one extension?

Format ambiguity - .xml could be application/xml or text/xml; .yaml has several proposed types. The tool shows the most common; servers usually pick one and stick with it.

Do MIME types matter?

Yes - browsers and tools use them to decide how to render files (download vs display, parse as JSON vs treat as text). Wrong types can break uploads, downloads, and security headers.

Why are there multiple MIME types for one extension?

Historical drift. JPEG files are technically image/jpeg but image/jpg is widely accepted; old systems used application/zip while newer ones may emit application/x-zip-compressed. The tool lists the canonical one and the common alternatives.

Does it match what my server actually sends?

Servers configure their own MIME-type table, which may differ from the IANA-canonical one. The tool shows the canonical mapping; if you need to know what your specific server returns, check the response headers directly.