Back to Reference

MIME Types Reference

A complete reference for MIME types (media types) — what Content-Type to send for JSON, PDF, images, fonts, archives, and every other common file format.

application/graphql

A non-standard type occasionally used for raw GraphQL query bodies, though most GraphQL APIs use JSON instead.

application/gzip

Identifies gzip-compressed data — used both for standalone compressed files and HTTP response compression.

application/json

Identifies JSON data in HTTP responses, API requests, and structured files.

application/ld+json

Identifies JSON-LD, a JSON-based format for linked/structured data, heavily used for SEO schema markup.

application/octet-stream

The generic fallback type for arbitrary binary data when the specific format is unknown or unspecified.

application/pdf

Identifies PDF documents — the standard format for fixed-layout, print-ready files.

application/rtf

Identifies Rich Text Format documents — a cross-platform formatted text format supported by nearly every word processor.

application/sql

Identifies SQL script files — database dumps, migrations, and query files.

application/vnd.openxmlformats-officedocument.presentationml.presentation

The modern Microsoft PowerPoint presentation format — a ZIP archive containing XML slide data, layouts, and media.

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

The modern Microsoft Excel spreadsheet format — a ZIP archive containing XML worksheet data, formulas, and formatting.

application/vnd.openxmlformats-officedocument.wordprocessingml.document

The modern Microsoft Word document format — a ZIP archive containing XML content, styles, and resources.

application/vnd.rar

Identifies RAR archive files — a proprietary compressed archive format popular for large file distribution.

application/wasm

Identifies WebAssembly binary modules — compiled code that runs in browsers and other WASM runtimes at near-native speed.

application/x-7z-compressed

Identifies 7z archive files, known for higher compression ratios than ZIP at the cost of less universal support.

application/x-tar

Identifies TAR archives — a Unix-standard format that bundles files together without compression.

application/x-www-form-urlencoded

Encodes form field data as key-value pairs in the URL-encoded format — the default HTML form submission type.

application/x-yaml

Identifies YAML data — a human-readable configuration and data serialization format used heavily in DevOps tooling.

application/xhtml+xml

Identifies XHTML documents — HTML written to strict XML well-formedness rules.

application/xml

Identifies structured data formatted as XML, used in SOAP APIs, config files, and legacy data interchange.

application/zip

Identifies ZIP compressed archive files, the most universally supported archive format.

audio/mpeg

Identifies MP3 audio files — the most universally supported compressed audio format.

audio/ogg

Identifies Ogg-container audio, most commonly Vorbis or Opus-encoded — an open, royalty-free alternative to MP3.

audio/wav

Identifies WAV audio files — an uncompressed or minimally-compressed format favored for audio production and editing.

audio/webm

Identifies audio-only WebM files, typically containing Opus or Vorbis-encoded audio in the same container used for WebM video.

font/otf

Identifies OpenType font files — a modern desktop/print font format supporting advanced typographic features, less compact than WOFF2 for web use.

font/ttf

Identifies TrueType font files — a widely supported desktop/print font format, less space-efficient than WOFF2 for web delivery.

font/woff

Identifies WOFF web fonts — the predecessor to WOFF2, still used as a legacy-browser fallback for @font-face.

font/woff2

Identifies WOFF2 web fonts — the modern, most compressed format for delivering custom fonts via CSS @font-face.

image/avif

A modern image format based on the AV1 video codec, often achieving better compression than WebP or JPEG.

image/bmp

Identifies BMP bitmap images — an old, largely uncompressed Windows-native image format.

image/gif

Identifies GIF images — a format known primarily for simple animation support and limited (256-color) palettes.

image/jpeg

Identifies JPEG images — the standard lossy-compressed format for photographs.

image/png

Identifies PNG images — a lossless format with transparency support, ideal for graphics and screenshots.

image/svg+xml

Identifies SVG vector graphics — infinitely scalable, XML-based images ideal for icons, logos, and diagrams.

image/tiff

Identifies TIFF images — a flexible, high-fidelity format used heavily in print, scanning, and professional photography workflows.

image/webp

A modern image format offering both lossy and lossless compression, typically smaller than JPEG/PNG at equivalent quality.

image/x-icon

Identifies ICO files — the traditional favicon format, capable of bundling multiple icon sizes in one file.

multipart/form-data

Encodes form submissions that include file uploads, splitting the body into distinct named parts.

text/css

Identifies CSS stylesheets — required for the browser to apply styles from a linked file.

text/csv

Identifies comma-separated tabular data, the standard interchange format for spreadsheets and simple datasets.

text/html

Identifies HTML documents — the fundamental content type of the web.

text/javascript

Identifies JavaScript source files — the correct modern type is text/javascript, not the older application/javascript.

text/markdown

Identifies Markdown-formatted text — the lightweight markup language standard for READMEs, docs, and content authoring.

text/plain

Identifies unstructured, unstyled plain text content with no markup or parsing rules.

video/mp4

Identifies MP4 video files — the most universally supported video container format for web and device playback.

video/quicktime

Identifies QuickTime container files (.mov) — Apple's video format, common in professional editing and iPhone-recorded video.

video/webm

An open, royalty-free video container format, commonly used as a web-optimized fallback or alternative to MP4.

video/x-msvideo

Identifies AVI video files — an older Windows-native container format, largely superseded for modern web video.

No MIME types match your search.