HTTP MimeType / Content-Type Reference - File Extension to MIME Type Lookup

Content-Type / File extension / MIME type quick reference

Text

Data

Image

Audio & Video

File

Development

Font

How to Use

A MIME type is usually written in the HTTP Content-Type header to tell the browser how to parse the content. For actual API debugging, use the HTTP Test Tool; to compare request methods, see the HTTP Methods Guide.

FAQ

What is the relationship between Content-Type and MimeType?

A MIME type identifies the content type; the Content-Type in an HTTP response or request header usually holds the corresponding MIME type.

What does application/octet-stream mean?

application/octet-stream means a generic binary stream, commonly used for files of unknown type or to trigger a browser download.

What does application/json mean?

application/json means the request or response body is in JSON format, commonly used by APIs to transfer structured data.

When is multipart/form-data used?

multipart/form-data is commonly used for form file uploads, carrying text fields and file content at the same time.

What is the difference between text/html and text/plain?

text/html is parsed by the browser as HTML, while text/plain is displayed as plain text.