← Cheat Sheets
Common MIME Types
Content types for files and APIs.
# Common MIME Types
Content types for files and APIs.
| Extension | MIME type |
|---|---|
| .html | text/html |
| .css | text/css |
| .js | text/javascript |
| .json | application/json |
| .txt | text/plain |
| .csv | text/csv |
| .xml | application/xml |
| .pdf | application/pdf |
| .zip | application/zip |
| .png | image/png |
| .jpg / .jpeg | image/jpeg |
| .gif | image/gif |
| .webp | image/webp |
| .svg | image/svg+xml |
| .mp3 | audio/mpeg |
| .mp4 | video/mp4 |
| (binary) | application/octet-stream |
| form | application/x-www-form-urlencoded, multipart/form-data |