MIME TYPES

Your go-to reference for MIME types and file extensions across all major formats. MIME types tell browsers and servers how to handle different file types, from images and videos to documents and fonts. Search through our comprehensive database to find the exact MIME type you need for your web projects.

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

Find MIME types by file extension for proper Content-Type headers in web development.

Each MIME type follows a simple structure: a primary type and a subtype separated by a slash. For example, "text/html" indicates an HTML document, "image/png" identifies a PNG image, and "application/json" represents JSON data. This two-part format helps systems quickly identify how to process files.

Web developers use MIME types when setting HTTP Content-Type headers, configuring servers, handling file uploads, and working with APIs. Choosing the correct MIME type ensures browsers display content properly, files download with the right extension, and applications process data correctly.

Our reference covers seven major categories: Text (HTML, CSS, JavaScript), Application (JSON, PDF, Office files), Image (JPEG, PNG, SVG), Video (MP4, WebM), Audio (MP3, WAV), and Font formats (WOFF, TTF). Use the category filters above to narrow your search.