Reference · 440 entries
MIME types by file extension
The Content-Type we serve for every extension in the library. Use it for upload allow-lists, server config and accept attributes. Each row links to sample files.
Video
| Extension | MIME type | Format |
|---|---|---|
| .3g2 | video/3gpp2 | 3G2 |
| .3gp | video/3gpp | 3GP |
| .asf | video/x-ms-asf | ASF |
| .avi | video/x-msvideo | AVI |
| .dv | video/x-dv | DV |
| .f4v | video/x-f4v | F4V |
| .flv | video/x-flv | FLV |
| .h264 | video/h264 | Raw H.264 |
| .h265 | video/h265 | Raw H.265 |
| .ivf | video/x-ivf | IVF |
| .m2ts | video/mp2t | M2TS |
| .m4v | video/x-m4v | M4V |
| .mkv | video/x-matroska | MKV |
| .mov | video/quicktime | MOV |
| .mp4 | video/mp4 | MP4 |
| .mpeg | video/mpeg | MPEG |
| .mts | video/mp2t | MTS (AVCHD) |
| .mxf | application/mxf | MXF |
| .obu | video/av1 | AV1 OBU |
| .ogv | video/ogg | OGV |
| .rm | application/vnd.rn-realmedia | RealMedia |
| .swf | application/x-shockwave-flash | SWF |
| .ts | video/mp2t | MPEG-TS |
| .vob | video/mpeg | VOB |
| .webm | video/webm | WebM |
| .wmv | video/x-ms-wmv | WMV |
| .y4m | video/x-yuv4mpeg | Y4M |
Streaming
Audio
| Extension | MIME type | Format |
|---|---|---|
| .aac | audio/aac | AAC |
| .ac3 | audio/ac3 | AC-3 |
| .aiff | audio/aiff | AIFF |
| .amr | audio/amr | AMR |
| .au | audio/basic | AU |
| .caf | audio/x-caf | CAF |
| .dsf | audio/x-dsf | DSF (DSD) |
| .dts | audio/vnd.dts | DTS |
| .eac3 | audio/eac3 | E-AC-3 |
| .flac | audio/flac | FLAC |
| .m4a | audio/mp4 | M4A |
| .m4b | audio/mp4 | M4B |
| .m4r | audio/mp4 | M4R |
| .mid | audio/midi | MIDI |
| .mka | audio/x-matroska | MKA |
| .mp2 | audio/mpeg | MP2 |
| .mp3 | audio/mpeg | MP3 |
| .oga | audio/ogg | OGA |
| .ogg | audio/ogg | OGG |
| .opus | audio/ogg | Opus |
| .pcm | audio/L16 | Raw PCM |
| .ra | audio/x-pn-realaudio | RealAudio |
| .spx | audio/ogg | Speex |
| .thd | audio/vnd.dolby.mlp | Dolby TrueHD |
| .tta | audio/x-tta | TTA |
| .voc | audio/x-voc | VOC |
| .w64 | audio/x-w64 | W64 |
| .wav | audio/wav | WAV |
| .weba | audio/webm | WEBA |
| .wma | audio/x-ms-wma | WMA |
| .wv | audio/x-wavpack | WavPack |
Image
| Extension | MIME type | Format |
|---|---|---|
| .avif | image/avif | AVIF |
| .bmp | image/bmp | BMP |
| .cin | image/cineon | Cineon |
| .cur | image/x-icon | CUR |
| .dcm | application/dicom | DICOM |
| .dds | image/vnd.ms-dds | DDS |
| .dng | image/x-adobe-dng | DNG (camera raw) |
| .dpx | image/x-dpx | DPX |
| .eps | application/postscript | EPS |
| .exr | image/x-exr | OpenEXR |
| .fits | image/fits | FITS |
| .gif | image/gif | GIF |
| .hdr | image/vnd.radiance | Radiance HDR |
| .heic | image/heic | HEIC |
| .heif | image/heif | HEIF |
| .icns | image/icns | ICNS |
| .ico | image/vnd.microsoft.icon | ICO |
| .jfif | image/jpeg | JFIF |
| .jp2 | image/jp2 | JPEG 2000 |
| .jpg | image/jpeg | JPG |
| .jxl | image/jxl | JPEG XL |
| .mng | video/x-mng | MNG |
| .nii | application/x-nifti | NIfTI |
| .nii.gz | application/gzip | NIfTI |
| .pam | image/x-portable-arbitrarymap | PAM |
| .pbm | image/x-portable-bitmap | PBM |
| .pcx | image/x-pcx | PCX |
| .pgm | image/x-portable-graymap | PGM |
| .pict | image/x-pict | PICT |
| .png | image/png | PNG |
| .ppm | image/x-portable-pixmap | PPM |
| .ps | application/postscript | PostScript |
| .psd | image/vnd.adobe.photoshop | PSD |
| .qoi | image/qoi | QOI |
| .ras | image/x-sun-raster | Sun Raster |
| .sgi | image/sgi | SGI |
| .svg | image/svg+xml | SVG |
| .svgz | application/gzip | SVGZ |
| .tga | image/x-tga | TGA |
| .tiff | image/tiff | TIFF |
| .wbmp | image/vnd.wap.wbmp | WBMP |
| .webp | image/webp | WebP |
| .xbm | image/x-xbitmap | XBM |
| .xpm | image/x-xpixmap | XPM |
Document
| Extension | MIME type | Format |
|---|---|---|
| .adoc | text/asciidoc | AsciiDoc |
| .cb7 | application/x-cb7 | CB7 |
| .cbz | application/vnd.comicbook+zip | CBZ |
| .dbk | application/docbook+xml | DocBook |
| .docm | application/vnd.ms-word.document.macroEnabled.12 | DOCM |
| .docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document | DOCX |
| .dotx | application/vnd.openxmlformats-officedocument.wordprocessingml.template | DOTX |
| .epub | application/epub+zip | EPUB |
| .fb2 | application/x-fictionbook+xml | FictionBook |
| .html | text/html | HTML |
| .man | text/troff | man page |
| .md | text/markdown | Markdown |
| .mobi | application/x-mobipocket-ebook | MOBI |
| .odg | application/vnd.oasis.opendocument.graphics | ODG |
| .odt | application/vnd.oasis.opendocument.text | ODT |
| .opml | text/x-opml | OPML |
| .org | text/x-org | Org mode |
| .ott | application/vnd.oasis.opendocument.text-template | OTT |
| application/pdf | ||
| .rst | text/x-rst | reStructuredText |
| .rtf | application/rtf | RTF |
| .tex | application/x-tex | LaTeX |
| .texi | application/x-texinfo | Texinfo |
| .textile | text/x-textile | Textile |
| .txt | text/plain | TXT |
| .typ | text/x-typst | Typst |
| .wiki | text/x-wiki | MediaWiki |
| .xml | application/xml | JATS XML |
Spreadsheet
| Extension | MIME type | Format |
|---|---|---|
| .csv | text/csv | CSV |
| .dif | text/plain | DIF |
| .fods | application/vnd.oasis.opendocument.spreadsheet-flat-xml | FODS |
| .ods | application/vnd.oasis.opendocument.spreadsheet | ODS |
| .ots | application/vnd.oasis.opendocument.spreadsheet-template | OTS |
| .psv | text/plain | PSV |
| .slk | text/plain | SYLK |
| .tsv | text/tab-separated-values | TSV |
| .xls | application/vnd.ms-excel | XLS |
| .xlsm | application/vnd.ms-excel.sheet.macroEnabled.12 | XLSM |
| .xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | XLSX |
| .xltx | application/vnd.openxmlformats-officedocument.spreadsheetml.template | XLTX |
Presentation
| Extension | MIME type | Format |
|---|---|---|
| .odp | application/vnd.oasis.opendocument.presentation | ODP |
| .otp | application/vnd.oasis.opendocument.presentation-template | OTP |
| .potx | application/vnd.openxmlformats-officedocument.presentationml.template | POTX |
| .ppsx | application/vnd.openxmlformats-officedocument.presentationml.slideshow | PPSX |
| .pptm | application/vnd.ms-powerpoint.presentation.macroEnabled.12 | PPTM |
| .pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation | PPTX |
Data
| Extension | MIME type | Format |
|---|---|---|
| .arrow | application/vnd.apache.arrow.file | Arrow IPC |
| .atom | application/atom+xml | Atom |
| .avro | application/avro | Avro |
| .bson | application/bson | BSON |
| .cbor | application/cbor | CBOR |
| .dbf | application/dbase | DBF |
| .desktop | application/x-desktop | .desktop |
| .dta | application/x-stata-dta | Stata (DTA) |
| .dtd | application/xml-dtd | DTD |
| .edi | application/edi-x12 | EDI |
| .edi | application/edifact | EDI |
| .eml | message/rfc822 | EML |
| .env | text/plain | .env |
| .feather | application/vnd.apache.arrow.file | Feather |
| .fgb | application/vnd.flatgeobuf | FlatGeobuf |
| .geojson | application/geo+json | GeoJSON |
| .gguf | application/octet-stream | GGUF |
| .gpkg | application/geopackage+sqlite3 | GeoPackage |
| .gpx | application/gpx+xml | GPX |
| .graphql | application/graphql | GraphQL SDL |
| .h5 | application/x-hdf5 | HDF5 |
| .har | application/json | HAR |
| .hl7 | x-application/hl7-v2+er7 | HL7 v2 |
| .ics | text/calendar | ICS |
| .ini | text/plain | INI |
| .json | application/json | JSON |
| .json | application/json | JSON Schema |
| .json | application/fhir+json | FHIR |
| .json5 | application/json5 | JSON5 |
| .jsonl | application/jsonl | JSON Lines |
| .jsonld | application/ld+json | JSON-LD |
| .jwt | application/jwt | JWT |
| .kml | application/vnd.google-earth.kml+xml | KML |
| .kmz | application/vnd.google-earth.kmz | KMZ |
| .ldif | text/plain | LDIF |
| .log | text/plain | Log files |
| .m3u | audio/x-mpegurl | M3U |
| .mat | application/x-matlab-data | MAT (MATLAB) |
| .mbox | application/mbox | MBOX |
| .mbtiles | application/vnd.sqlite3 | MBTiles |
| .msgpack | application/msgpack | MessagePack |
| .nc | application/x-netcdf | NetCDF |
| .ndjson | application/x-ndjson | NDJSON |
| .npy | application/octet-stream | NPY |
| .npz | application/zip | NPZ |
| .nt | application/n-triples | N-Triples |
| .ofx | application/x-ofx | OFX |
| .onnx | application/octet-stream | ONNX |
| .orc | application/x-orc | ORC |
| .osm | application/xml | OSM XML |
| .parquet | application/vnd.apache.parquet | Parquet |
| .pb | application/x-protobuf | Protobuf binary |
| .pcap | application/vnd.tcpdump.pcap | PCAP |
| .pcapng | application/x-pcapng | PCAPNG |
| .plist | application/x-plist | Property list |
| .pls | audio/x-scpls | PLS |
| .properties | text/x-java-properties | .properties |
| .proto | text/plain | Protocol Buffers |
| .qbo | application/vnd.intu.qbo | QBO |
| .qif | application/qif | QIF |
| .rdf | application/rdf+xml | RDF/XML |
| .rss | application/rss+xml | RSS |
| .safetensors | application/octet-stream | safetensors |
| .sav | application/x-spss-sav | SPSS (SAV) |
| .sql | application/sql | SQL |
| .sqlite | application/vnd.sqlite3 | SQLite |
| .tcx | application/vnd.garmin.tcx+xml | TCX |
| .tfrecord | application/octet-stream | TFRecord |
| .tif | image/tiff | GeoTIFF |
| .toml | application/toml | TOML |
| .topojson | application/json | TopoJSON |
| .torrent | application/x-bittorrent | Torrent |
| .ttl | text/turtle | Turtle (RDF) |
| .txt | text/plain | cookies.txt |
| .url | application/x-mswinurl | URL shortcut |
| .vcf | text/vcard | VCF |
| .webloc | application/x-webloc | WEBLOC |
| .wkt | text/plain | WKT |
| .xml | application/xml | XML |
| .xpt | application/x-sas-xport | SAS XPORT |
| .xsd | application/xml | XSD |
| .yaml | application/yaml | YAML |
| .yaml | application/yaml | OpenAPI |
| .yml | application/yaml | YAML |
| .zip | application/zip | Shapefile |
Config Files
| Extension | MIME type | Format |
|---|---|---|
| .cnf | text/plain | my.cnf |
| .conf | text/plain | nginx.conf |
| .conf | text/plain | pg_hba.conf |
| .conf | text/plain | supervisord.conf |
| .dockerignore | text/plain | .dockerignore |
| .editorconfig | text/plain | .editorconfig |
| .gitattributes | text/plain | .gitattributes |
| .gitignore | text/plain | .gitignore |
| .htaccess | text/plain | .htaccess |
| .ini | text/plain | php.ini |
| .js | text/javascript | ESLint config |
| .json | application/json | package.json |
| .json | application/json | tsconfig.json |
| .json | application/json | Prettier config |
| .json | application/json | vercel.json |
| .json | application/json | firebase.json |
| .json | application/json | VS Code settings.json |
| .json | application/json | VS Code launch.json |
| .kts | text/plain | Gradle |
| .mod | text/plain | go.mod |
| .nix | text/plain | Nix flake |
| .npmrc | text/plain | .npmrc |
| .service | text/plain | systemd unit |
| .tf | text/plain | Terraform |
| .toml | application/toml | pyproject.toml |
| .toml | application/toml | Cargo.toml |
| .toml | application/toml | netlify.toml |
| .toml | application/toml | wrangler.toml |
| .ts | text/plain | vite.config.ts |
| .txt | text/plain | requirements.txt |
| .txt | text/plain | robots.txt |
| .xml | application/xml | pom.xml |
| .xml | application/xml | sitemap.xml |
| .yaml | application/yaml | Kubernetes YAML |
| .yaml | application/yaml | Docker Compose |
| .yaml | application/yaml | Helm values.yaml |
| .yml | application/yaml | GitHub Actions |
| .yml | application/yaml | GitLab CI |
| .yml | application/yaml | Ansible |
| .yml | application/yaml | Prometheus config |
| Caddyfile | text/plain | Caddyfile |
| crontab | text/plain | crontab |
| hosts | text/plain | hosts |
| Procfile | text/plain | Procfile |
| ssh_config | text/plain | ssh_config |
Localization
| Extension | MIME type | Format |
|---|---|---|
| .arb | application/json | ARB (Flutter) |
| .ftl | text/plain | Fluent (FTL) |
| .json | application/json | i18next JSON |
| .mo | application/x-gettext-translation | MO (compiled gettext) |
| .po | text/x-gettext-translation | PO (gettext) |
| .pot | text/x-gettext-translation-template | POT (gettext template) |
| .resx | application/xml | RESX |
| .strings | text/plain | Apple .strings |
| .xcstrings | application/json | Xcode String Catalog |
| .xlf | application/xliff+xml | XLIFF |
| .xml | application/xml | Android strings.xml |
Certificates & Keys
| Extension | MIME type | Format |
|---|---|---|
| .crt | application/x-x509-ca-cert | CRT |
| .csr | application/pkcs10 | CSR |
| .der | application/x-x509-ca-cert | DER certificate |
| .key | application/x-pem-file | KEY |
| .p12 | application/x-pkcs12 | PKCS #12 |
| .p7b | application/x-pkcs7-certificates | PKCS #7 |
| .pem | application/x-pem-file | PEM |
| .pub | text/plain | SSH public key |
| id_ed25519 | application/x-pem-file | KEY |
Code
| Extension | MIME type | Format |
|---|---|---|
| .adb | text/x-ada | Ada |
| .c | text/x-c | C |
| .class | application/java-vm | Java class |
| .clj | text/plain | Clojure |
| .coffee | text/coffeescript | CoffeeScript |
| .cpp | text/x-c++ | C++ |
| .cs | text/x-csharp | C# |
| .css | text/css | CSS |
| .d | text/x-d | D |
| .dart | text/x-dart | Dart |
| .elm | text/plain | Elm |
| .erl | text/plain | Erlang |
| .ex | text/x-elixir | Elixir |
| .f90 | text/x-fortran | Fortran |
| .fs | text/plain | F# |
| .gleam | text/plain | Gleam |
| .go | text/x-go | Go |
| .groovy | text/x-groovy | Groovy |
| .h | text/x-c | C header |
| .hs | text/x-haskell | Haskell |
| .ipynb | application/x-ipynb+json | Jupyter Notebook |
| .java | text/x-java | Java |
| .jl | text/x-julia | Julia |
| .js | text/javascript | JavaScript |
| .jsx | text/javascript | JSX |
| .kt | text/x-kotlin | Kotlin |
| .less | text/x-less | Less |
| .lisp | text/x-common-lisp | Common Lisp |
| .lua | text/x-lua | Lua |
| .m | text/plain | Objective-C |
| .map | application/json | Source map |
| .ml | text/x-ocaml | OCaml |
| .nim | text/plain | Nim |
| .pas | text/x-pascal | Pascal |
| .php | text/x-php | PHP |
| .pl | text/x-perl | Perl |
| .pro | text/x-prolog | Prolog |
| .ps1 | text/plain | PowerShell |
| .py | text/x-python | Python |
| .pyc | application/x-python-code | PYC |
| .r | text/x-r | R |
| .rb | text/x-ruby | Ruby |
| .rs | text/x-rust | Rust |
| .s | text/plain | Assembly |
| .sass | text/x-sass | Sass |
| .scala | text/x-scala | Scala |
| .scm | text/x-scheme | Scheme |
| .scss | text/x-scss | SCSS |
| .sh | application/x-sh | Bash |
| .sol | text/plain | Solidity |
| .svelte | text/plain | Svelte |
| .swift | text/x-swift | Swift |
| .tcl | text/x-tcl | Tcl |
| .ts | text/plain | TypeScript |
| .tsx | text/plain | TSX |
| .txt | text/plain | CMake |
| .v | text/x-verilog | Verilog |
| .vhd | text/x-vhdl | VHDL |
| .vue | text/plain | Vue |
| .wasm | application/wasm | WASM |
| .wat | text/plain | WebAssembly text (WAT) |
| .zig | text/plain | Zig |
| Dockerfile | text/plain | Dockerfile |
| Makefile | text/plain | Makefile |
Font
3D Models
| Extension | MIME type | Format |
|---|---|---|
| .3mf | model/3mf | 3MF |
| .amf | application/x-amf | AMF |
| .dae | model/vnd.collada+xml | COLLADA |
| .dxf | image/vnd.dxf | DXF |
| .glb | model/gltf-binary | GLB |
| .gltf | model/gltf+json | glTF |
| .igs | model/iges | IGES |
| .las | application/vnd.las | LAS (LiDAR) |
| .obj | model/obj | OBJ |
| .off | text/plain | OFF |
| .pcd | text/plain | PCD |
| .ply | application/octet-stream | PLY |
| .step | model/step | STEP |
| .stl | model/stl | STL |
| .usda | model/vnd.usda | USD |
| .wrl | model/vrml | VRML |
| .x3d | model/x3d+xml | X3D |
| .xyz | text/plain | XYZ point cloud |
Subtitles
Advertising
| Extension | MIME type | Format |
|---|---|---|
| .gif | image/gif | Animated banner (GIF) |
| .jpg | image/jpeg | Banner (JPG) |
| .json | application/json | OpenRTB |
| .json | application/json | sellers.json |
| .png | image/png | Banner (PNG) |
| .txt | text/plain | ads.txt |
| .xml | application/xml | VAST / VMAP |
| .zip | application/zip | HTML5 banner |
Archive
| Extension | MIME type | Format |
|---|---|---|
| .7z | application/x-7z-compressed | 7Z |
| .ar | application/x-archive | AR |
| .cpio | application/x-cpio | CPIO |
| .csv.br | application/x-brotli | Brotli |
| .csv.bz2 | application/x-bzip2 | BZ2 |
| .csv.gz | application/gzip | GZ |
| .csv.lz4 | application/x-lz4 | LZ4 |
| .csv.lzma | application/x-lzma | LZMA |
| .csv.xz | application/x-xz | XZ |
| .csv.zst | application/zstd | Zstandard |
| .deb | application/vnd.debian.binary-package | DEB |
| .dmg | application/x-apple-diskimage | DMG |
| .gem | application/x-tar | GEM |
| .img | application/octet-stream | IMG (disk image) |
| .iso | application/x-iso9660-image | ISO |
| .jar | application/java-archive | JAR |
| .tar | application/x-tar | TAR |
| .tar.bz2 | application/x-bzip2 | BZ2 |
| .tar.gz | application/gzip | GZ |
| .tar.lz4 | application/x-lz4 | LZ4 |
| .tar.xz | application/x-xz | XZ |
| .tar.z | application/x-compress | Z (compress) |
| .tar.zst | application/zstd | Zstandard |
| .tbz2 | application/x-bzip2 | TBZ2 |
| .tgz | application/gzip | TGZ |
| .txz | application/x-xz | TXZ |
| .vsix | application/zip | VSIX |
| .war | application/java-archive | WAR |
| .whl | application/zip | WHL (Python wheel) |
| .xpi | application/x-xpinstall | XPI |
| .zip | application/zip | ZIP |
Large Files
| Extension | MIME type | Format |
|---|---|---|
| .bin | application/octet-stream | Large binary files |
| .zip | application/zip | Large ZIP files |