007.004

MIME TYPES

Complete reference for MIME types and file extensions

Text

text/plain
.txt

Plain text file

text/html
.html.htm

HTML document

text/css
.css

Cascading Style Sheets

text/javascript
.js.mjs

JavaScript

text/csv
.csv

Comma-separated values

text/xml
.xml

XML document

text/markdown
.md.markdown

Markdown

Application

application/json
.json

JSON data

application/xml
.xml

XML document

application/pdf
.pdf

Adobe PDF

application/zip
.zip

ZIP archive

application/gzip
.gz

GZIP compressed file

application/x-tar
.tar

TAR archive

application/x-7z-compressed
.7z

7-Zip archive

application/x-rar-compressed
.rar

RAR archive

application/vnd.ms-excel
.xls

Microsoft Excel (old)

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xlsx

Microsoft Excel

application/vnd.ms-powerpoint
.ppt

Microsoft PowerPoint (old)

application/vnd.openxmlformats-officedocument.presentationml.presentation
.pptx

Microsoft PowerPoint

application/msword
.doc

Microsoft Word (old)

application/vnd.openxmlformats-officedocument.wordprocessingml.document
.docx

Microsoft Word

application/octet-stream
.bin

Binary data

application/x-sh
.sh

Shell script

application/x-httpd-php
.php

PHP script

Image

image/jpeg
.jpg.jpeg

JPEG image

image/png
.png

PNG image

image/gif
.gif

GIF image

image/webp
.webp

WebP image

image/svg+xml
.svg

SVG vector image

image/bmp
.bmp

Bitmap image

image/x-icon
.ico

Icon file

image/tiff
.tif.tiff

TIFF image

image/avif
.avif

AVIF image

Video

video/mp4
.mp4

MP4 video

video/mpeg
.mpeg

MPEG video

video/webm
.webm

WebM video

video/ogg
.ogv

Ogg video

video/x-msvideo
.avi

AVI video

video/quicktime
.mov

QuickTime video

Audio

audio/mpeg
.mp3

MP3 audio

audio/wav
.wav

WAV audio

audio/ogg
.oga

Ogg audio

audio/webm
.weba

WebM audio

audio/aac
.aac

AAC audio

audio/midi
.mid.midi

MIDI audio

audio/x-m4a
.m4a

M4A audio

Font

font/woff
.woff

Web Open Font Format

font/woff2
.woff2

Web Open Font Format 2

font/ttf
.ttf

TrueType font

font/otf
.otf

OpenType font

application/vnd.ms-fontobject
.eot

Embedded OpenType font

ABOUT MIME TYPES

MIME types (Multipurpose Internet Mail Extensions) are a standard way to indicate the nature and format of a document, file, or assortment of bytes. They are used by web browsers to determine how to process a URL.

Format: MIME types consist of a type and a subtype, separated by a slash (e.g., text/html, image/png, application/json).