MIME Types & Content-Type Header Directory

Search common web MIME types, file extensions, Content-Type HTTP response headers, NGINX / Apache configs, and web security advisories.

Showing 21 of 21 MIME TypesClick any MIME type for server configs & code snippets
application/jsonApplication

JSON (JavaScript Object Notation)

Extensions:.json

application/json is the universal MIME type for exchanging structured data in modern REST APIs, GraphQL, and configuration files. Defined in RFC 8259, it does not require a charset parameter as UTF-8 is mandated by default.

Header:
Content-Type: application/json; charset=utf-8
application/pdfApplication

PDF (Portable Document Format)

Extensions:.pdf

application/pdf represents Adobe Portable Document Format files. Widely used for invoices, printable reports, whitepapers, and legal contracts across web browsers.

Header:
Content-Type: application/pdf

JavaScript / ECMAScript

Extensions:.js, .mjs

application/javascript is the official IANA standard MIME type for JavaScript source code (superseding text/javascript in RFC 4329, though both are accepted by modern browsers).

Header:
Content-Type: application/javascript; charset=utf-8
application/wasmApplication

WebAssembly Binary (Wasm)

Extensions:.wasm

application/wasm is the required MIME type for streaming WebAssembly binaries. WebAssembly.instantiateStreaming() strictly rejects any response that does not send application/wasm.

Header:
Content-Type: application/wasm
application/xmlApplication

XML (Extensible Markup Language)

Extensions:.xml

application/xml is used for XML documents, SOAP APIs, RSS/Atom feeds, and XML sitemaps.

Header:
Content-Type: application/xml; charset=utf-8
application/zipApplication

ZIP Archive

Extensions:.zip

application/zip denotes standard PKZIP compressed file archives.

Header:
Content-Type: application/zip

Binary Data / Arbitrary Byte Stream

Extensions:.bin, .exe, .dll, .iso

application/octet-stream is the RFC 2046 fallback MIME type for unknown binary files. Web browsers typically prompt the user to download the file rather than rendering it.

Header:
Content-Type: application/octet-stream

WebP Image

Extensions:.webp

image/webp is Google's modern web image format providing both lossy and lossless compression with alpha transparency. WebP files are typically 25–34% smaller than comparable JPEGs and PNGs.

Header:
Content-Type: image/webp

SVG (Scalable Vector Graphics)

Extensions:.svg

image/svg+xml is the XML-based vector graphics format for two-dimensional interactive graphics, icons, and logos.

Header:
Content-Type: image/svg+xml

PNG (Portable Network Graphics)

Extensions:.png

image/png is the standard raster graphics format supporting lossless data compression and full 8-bit alpha transparency.

Header:
Content-Type: image/png

JPEG / JPG Image

Extensions:.jpg, .jpeg

image/jpeg is the most universally supported lossy compression format for digital photographs and realistic images.

Header:
Content-Type: image/jpeg

AVIF Image (AV1 Still Image File Format)

Extensions:.avif

image/avif is the next-generation image codec derived from AV1 video frames. Delivers up to 50% better compression efficiency than JPEG with HDR and wide color gamut support.

Header:
Content-Type: image/avif

HTML (HyperText Markup Language)

Extensions:.html, .htm

text/html is the foundational MIME type of the World Wide Web, telling browsers to interpret the payload as an interactive DOM document.

Header:
Content-Type: text/html; charset=utf-8

CSS (Cascading Style Sheets)

Extensions:.css

text/css instructs browsers to parse the file as styling rules. In strict mode, modern browsers will refuse to load stylesheets with non-text/css MIME types.

Header:
Content-Type: text/css; charset=utf-8

CSV (Comma-Separated Values)

Extensions:.csv

text/csv is the IANA MIME type for tabular data formatted with comma delimiters as defined in RFC 4180.

Header:
Content-Type: text/csv; charset=utf-8

Markdown Document

Extensions:.md, .markdown

text/markdown is defined in RFC 7763 for plain text documents utilizing Markdown formatting syntax.

Header:
Content-Type: text/markdown; charset=utf-8

WOFF2 (Web Open Font Format 2.0)

Extensions:.woff2

font/woff2 is the recommended W3C font format for the web, utilizing Brotli compression to achieve ~30% smaller file sizes than WOFF 1.0.

Header:
Content-Type: font/woff2

MP4 Video (MPEG-4 Part 14)

Extensions:.mp4

video/mp4 is the universally supported digital multimedia container format for H.264/AVC or H.265/HEVC video with AAC audio.

Header:
Content-Type: video/mp4

MP3 Audio (MPEG Audio Layer III)

Extensions:.mp3

audio/mpeg is the standard MIME type for MP3 compressed digital audio tracks and podcast streams.

Header:
Content-Type: audio/mpeg

Multipart Form Data (File Uploads)

Extensions:None

multipart/form-data is used in HTTP POST requests when submitting HTML forms containing file uploads (`<input type="file">`). Each form field is separated by a unique boundary delimiter string.

Header:
Content-Type: multipart/form-data; boundary=---------------------------974767299852498929531610575

URL-Encoded Form Data

Extensions:None

application/x-www-form-urlencoded is the default encoding for standard HTML form submissions, formatting key-value pairs as query parameters separated by `&` with percent-encoding.

Header:
Content-Type: application/x-www-form-urlencoded; charset=utf-8