Free tool · runs in your browser

MIME Type Lookup

Search by extension, type or subtype to find the Content-Type a server or client should use.

Type, subtype and parameters

A media type has the form type/subtype, optionally followed by parameters such as charset=utf-8. The type is the broad family — text, image, audio, video, application, multipart — and the subtype is the specific format. Registration lives in the IANA media type registry, though many real-world types are vendor extensions.

The Content-Type header is what matters on the wire. A file extension is only a hint; servers can and do send a different type, and the client must trust the header rather than the name.

Getting Content-Type right

Serving JSON as text/html invites content sniffing and can turn a data response into script execution in a browser. Send application/json and pair it with X-Content-Type-Options: nosniff so the browser does not second-guess you.

For text formats, declare the charset (text/html; charset=utf-8). For images, audio and video, the subtype selects the decoder; a wrong type usually produces a download prompt or a broken player rather than a visible error.

All media types, searchable

Every entry links to its full reference page. The search box above filters this list.

application-gzipapplication/gzip The media type for gzip-compressed files (.gz), distinct from Content-Encoding: gzip. application-jsonapplication/json application/json is the media type for JSON documents exchanged between clients and servers. application-ld-jsonapplication/ld+json application/ld+json is JSON-LD: JSON that encodes linked-data structured markup. application-octet-streamapplication/octet-stream application/octet-stream is the generic media type for arbitrary binary data with no more specific type. application-pdfapplication/pdf application/pdf is the media type for PDF documents. application-x-www-form-urlencodedapplication/x-www-form-urlencoded application/x-www-form-urlencoded is the default encoding for HTML form submissions. application-xmlapplication/xml application/xml is the media type for generic XML documents. application-zipapplication/zip application/zip is the media type for ZIP archives. audio-mpegaudio/mpeg audio/mpeg is the media type for MP3 audio. audio-oggaudio/ogg Ogg container audio, typically Vorbis or Opus, identified with a codecs parameter. font-woff2font/woff2 font/woff2 is the media type for WOFF2 web fonts. image-avifimage/avif AVIF images built on the AV1 codec, with alpha and HDR support. image-jpegimage/jpeg image/jpeg is the media type for JPEG photographs and other lossy raster images. image-pngimage/png image/png is the media type for PNG images — lossless raster graphics with transparency. image-svg-xmlimage/svg+xml image/svg+xml is the media type for SVG: scalable vector graphics written in XML. image-webpimage/webp image/webp is a modern image format with lossy and lossless modes and transparency. multipart-form-datamultipart/form-data multipart/form-data is the media type for forms that include files or binary fields. text-csstext/css text/css is the media type for Cascading Style Sheets. text-csvtext/csv text/csv is comma-separated values — a plain-text table with one record per line. text-htmltext/html text/html is the media type for HTML documents — the format browsers parse into a page. text-javascripttext/javascript text/javascript is the standard media type for JavaScript source files. text-plaintext/plain text/plain is unformatted text: no markup, no structure, just characters and line breaks. video-mp4video/mp4 video/mp4 is the media type for MP4 video files.

Frequently asked questions

Is a MIME type the same as a Content-Type?

In practice, yes. MIME type is the older name; Content-Type is the HTTP header that carries the media type and optional parameters.

What Content-Type should JSON use?

application/json. The older application/javascript and text/json are not correct for API responses.

Does the file extension decide the type?

No. The server sets Content-Type, and clients should use it. Extensions are a convenience for servers and users.

New tools, straight to your inbox

One short email when we add tools worth using. No spam, unsubscribe anytime.