devkult_
tools30converters34
home/mime

MIME Types

The MIME type for 105 common file formats, with the exact Content-Type header to send, how to configure nginx, Apache and Express, and the file signature that identifies each format. Unknown binary files fall back to application/octet-stream.

Text & code

.html .htmtext/htmlHTML document
.csstext/cssCSS stylesheet
.js .mjs .cjstext/javascriptJavaScript
.jsonapplication/jsonJSON
.jsonldapplication/ld+jsonJSON-LD
.mapapplication/jsonSource map
.xmlapplication/xmlXML
.txttext/plainPlain text
.csvtext/csvComma-separated values
.md .markdowntext/markdownMarkdown
.yaml .ymlapplication/yamlYAML
.icstext/calendariCalendar
.vtttext/vttWebVTT subtitles
.sqlapplication/sqlSQL script
.ndjson .jsonlapplication/x-ndjsonNewline-delimited JSON
.tomlapplication/tomlTOML
.xhtmlapplication/xhtml+xmlXHTML document
.geojsonapplication/geo+jsonGeoJSON
.kmlapplication/vnd.google-earth.kml+xmlKML
.gpxapplication/gpx+xmlGPX track
.shapplication/x-shShell script
.pytext/x-pythonPython source
.srtapplication/x-subripSubRip subtitles
.vcf .vcardtext/vcardvCard contact

Images

.pngimage/pngPNG image
.jpg .jpeg .jpeimage/jpegJPEG image
.gifimage/gifGIF image
.webpimage/webpWebP image
.avifimage/avifAVIF image
.svgimage/svg+xmlSVG image
.icoimage/vnd.microsoft.iconICO icon
.bmpimage/bmpBitmap image
.tiff .tifimage/tiffTIFF image
.heic .heifimage/heicHEIC image
.psdimage/vnd.adobe.photoshopPhotoshop document
.eps .ps .aiapplication/postscriptPostScript and EPS

Fonts

.woff2font/woff2WOFF2 font
.wofffont/woffWOFF font
.ttffont/ttfTrueType font
.otffont/otfOpenType font
.eotapplication/vnd.ms-fontobjectEmbedded OpenType font

Audio

.mp3audio/mpegMP3 audio
.wavaudio/wavWAV audio
.ogg .ogaaudio/oggOgg audio
.m4aaudio/mp4MPEG-4 audio (AAC)
.aacaudio/aacAAC audio
.flacaudio/flacFLAC audio
.opusaudio/oggOpus audio
.mid .midiaudio/midiMIDI file
.webaaudio/webmWebM audio

Video

.tsvideo/mp2tMPEG transport stream
.mp4 .m4vvideo/mp4MP4 video
.webmvideo/webmWebM video
.mov .qtvideo/quicktimeQuickTime video
.avivideo/x-msvideoAVI video
.m3u8application/vnd.apple.mpegurlHLS playlist
.mkvvideo/matroskaMatroska video
.mpeg .mpg .mpevideo/mpegMPEG video
.3gpvideo/3gpp3GPP video
.wmvvideo/x-ms-wmvWindows Media video
.flvvideo/x-flvFlash video
.mpdapplication/dash+xmlMPEG-DASH manifest

Documents

.pdfapplication/pdfPDF document
.docapplication/mswordWord 97–2003 document
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.documentWord document
.xlsapplication/vnd.ms-excelExcel 97–2003 workbook
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheetExcel workbook
.pptapplication/vnd.ms-powerpointPowerPoint 97–2003 presentation
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentationPowerPoint presentation
.odtapplication/vnd.oasis.opendocument.textOpenDocument text
.rtfapplication/rtfRich Text Format
.epubapplication/epub+zipEPUB e-book
.odsapplication/vnd.oasis.opendocument.spreadsheetOpenDocument spreadsheet
.odpapplication/vnd.oasis.opendocument.presentationOpenDocument presentation
.docmapplication/vnd.ms-word.document.macroEnabled.12Macro-enabled Word document
.xlsmapplication/vnd.ms-excel.sheet.macroEnabled.12Macro-enabled Excel workbook
.emlmessage/rfc822Email message
.msgapplication/vnd.ms-outlookOutlook message

Archives

.zipapplication/zipZIP archive
.gz .gzipapplication/gzipGzip file
.tarapplication/x-tarTar archive
.7zapplication/x-7z-compressed7-Zip archive
.rarapplication/vnd.rarRAR archive
.bz2application/x-bzip2Bzip2 file
.xzapplication/x-xzXZ file
.zstapplication/zstdZstandard file
.isoapplication/x-iso9660-imageISO disk image

Apps & binaries

.wasmapplication/wasmWebAssembly module
.webmanifestapplication/manifest+jsonWeb app manifest
.binapplication/octet-streamBinary data
.apkapplication/vnd.android.package-archiveAndroid app package
.jarapplication/java-archiveJava archive
.exe .dllapplication/vnd.microsoft.portable-executableWindows executable
.msiapplication/x-msiWindows Installer package
.debapplication/vnd.debian.binary-packageDebian package
.rpmapplication/x-rpmRPM package
.dmgapplication/x-apple-diskimageApple disk image
.parquetapplication/vnd.apache.parquetApache Parquet

Certificates & keys

.pemapplication/x-pem-filePEM file
.crt .cer .derapplication/pkix-certX.509 certificate

3D models

.glbmodel/gltf-binaryglTF binary
.gltfmodel/gltf+jsonglTF
.stlmodel/stlSTL model
.objmodel/objWavefront OBJ model
.usdzmodel/vnd.usdz+zipUSDZ model

Request and response body types

Types that describe what an HTTP message carries rather than a file on disk, with a raw example and code to send and parse each.