Searchable reference for common file extensions and MIME types with one-click copying.
Loading tool
About MIME Types Cheat Sheet
Searchable list of MIME types and the file extensions they map to. Look up the Content-Type for an extension or full filename, or list every extension for a MIME type, and filter by top-level type such as image, video or font. Exact extension matches are shown first with a copy button.
Common uses
- Set the correct Content-Type header when serving or uploading a file
- Fill in an accept attribute or an upload allowlist
- Find which extensions belong to a MIME type like application/vnd.ms-excel
- Configure content types for a static file server or object storage bucket
FAQ
- What is the MIME type for JSON?
- application/json. For JavaScript files the current standard type is text/javascript.
- What MIME type should I use for an unknown binary file?
- application/octet-stream is the generic type for arbitrary binary data; browsers usually download it rather than display it.
- Is the MIME type the same as the Content-Type header?
- The Content-Type header carries a MIME type, optionally followed by parameters such as charset, for example text/html; charset=utf-8.