HTTP Content-Type Reference

Reference of HTTP Content-Type values for common file formats.
Extension Library
343 entries
DetailsPick an entry to see its details.

Search or browse the library, then pick an extension to see its Content-Type, category and related extensions. Lookups work in both directions - try an extension or a MIME type.

Good to know
StructureA MIME type has two parts - a top-level type (application, image, audio, video, text...) and a subtype (pdf, png, html...). The server sends it in the Content-Type header so the browser knows how to handle the response.
Not 1:1Extensions and MIME types do not match one-to-one. One format can be served under several MIME types (for example .jpg as image/jpeg and legacy application/x-jpg), and one MIME type can cover many extensions.
Headers winBrowsers trust the Content-Type header over the file name. A misconfigured server can make a browser download a PDF instead of opening it, or fail to play a video - check your server config with the mime.types reference when uploads or downloads behave oddly.
Tool Introduction

This reference lists 343 extension-to-MIME mappings covering 327 unique file extensions, drawn from common web-server and Windows registry data. Every entry shows the file extension, its Content-Type value and the top-level category it belongs to.

Search works on the extension and the MIME type in either direction, so you can look up what serves .woff or which extension maps to application/pdf. Entries marked Common are formats you meet every day on the web. Picking an entry also lists other extensions that share the same MIME type - handy when configuring servers, file-upload rules or download handling.