MIME Types Reference

Searchable reference for 100+ MIME types. Look up by extension, type string, or description.

application/jsonApplication

JSON data interchange format

.json
application/ld+jsonApplication

JSON-LD linked data format

.jsonld
application/pdfApplication

Portable Document Format

.pdf
application/xmlApplication

XML data

.xml
application/zipApplication

ZIP compressed archive

.zip
application/gzipApplication

GZIP compressed data

.gz.gzip
application/x-tarApplication

TAR archive

.tar
application/x-7z-compressedApplication

7-Zip compressed archive

.7z
application/vnd.rarApplication

RAR compressed archive

.rar
application/wasmApplication

WebAssembly binary

.wasm
application/octet-streamApplication

Arbitrary binary data / unknown file type

.bin.exe.dll
application/x-www-form-urlencodedApplication

URL-encoded form data

application/graphqlApplication

GraphQL query language

.graphql.gql
application/x-msgpackApplication

MessagePack binary serialization

.msgpack.mp
application/protobufApplication

Protocol Buffers binary format

.proto.pb
application/oggApplication

OGG multimedia container

.ogx
application/epub+zipApplication

EPUB electronic publication

.epub
application/vnd.ms-excelApplication

Microsoft Excel (legacy)

.xls.xlt
application/vnd.openxmlformats-officedocument.spreadsheetml.sheetApplication

Microsoft Excel Open XML spreadsheet

.xlsx
application/mswordApplication

Microsoft Word (legacy)

.doc.dot
application/vnd.openxmlformats-officedocument.wordprocessingml.documentApplication

Microsoft Word Open XML document

.docx
application/vnd.ms-powerpointApplication

Microsoft PowerPoint (legacy)

.ppt.pps
application/vnd.openxmlformats-officedocument.presentationml.presentationApplication

Microsoft PowerPoint Open XML presentation

.pptx
application/javascriptApplication

JavaScript (legacy MIME type)

.js.mjs
application/typescriptApplication

TypeScript source code

.ts
application/sqlApplication

SQL query or script

.sql
application/x-httpd-phpApplication

PHP server-side script

.php
application/vnd.apple.mpegurlApplication

Apple HLS streaming playlist

.m3u8
application/dash+xmlApplication

MPEG-DASH adaptive streaming manifest

.mpd
application/x-bzip2Application

BZIP2 compressed data

.bz2
application/x-shockwave-flashApplication

Adobe Flash (deprecated)

.swf
application/vnd.sqlite3Application

SQLite database file

.sqlite.sqlite3.db
text/htmlText

HTML document

.html.htm
text/cssText

Cascading Style Sheets

.css
text/javascriptText

JavaScript source code

.js.mjs.cjs
text/typescriptText

TypeScript source code

.ts.tsx
text/plainText

Plain text

.txt.log.conf
text/csvText

Comma-separated values

.csv
text/xmlText

XML text data

.xml.xsl
text/markdownText

Markdown text format

.md.markdown
text/yamlText

YAML data serialization

.yaml.yml
text/x-pythonText

Python source code

.py
text/x-java-sourceText

Java source code

.java
text/x-cText

C source code

.c.h
text/x-c++srcText

C++ source code

.cpp.cc.cxx
text/x-shText

Shell script

.sh.bash.zsh
text/x-rubyText

Ruby source code

.rb
text/x-goText

Go source code

.go
text/x-rustText

Rust source code

.rs
text/tab-separated-valuesText

Tab-separated values

.tsv
text/calendarText

iCalendar event data

.ics.ical
text/vcardText

vCard contact data

.vcf.vcard
text/richtextText

Rich text format

.rtx
text/x-tomlText

TOML configuration format

.toml
text/x-sqlText

SQL text

.sql
image/jpegImage

JPEG image

.jpg.jpeg.jfif
image/pngImage

PNG image

.png
image/gifImage

GIF image (animated or static)

.gif
image/webpImage

WebP image format

.webp
image/svg+xmlImage

Scalable Vector Graphics

.svg.svgz
image/x-iconImage

ICO icon file

.ico
image/bmpImage

BMP bitmap image

.bmp
image/tiffImage

TIFF image

.tiff.tif
image/avifImage

AVIF image (AV1-based)

.avif
image/heicImage

HEIC image (Apple devices)

.heic
image/heifImage

HEIF image container

.heif
image/apngImage

Animated PNG

.apng
image/x-xcfImage

GIMP image file

.xcf
image/x-rawImage

Camera raw image data

.raw.cr2.nef
image/jxlImage

JPEG XL next-generation image

.jxl
audio/mpegAudio

MP3 audio

.mp3.mpga
audio/oggAudio

OGG Vorbis audio

.oga.ogg
audio/wavAudio

WAV uncompressed audio

.wav
audio/webmAudio

WebM audio

.webm
audio/aacAudio

AAC audio (Advanced Audio Coding)

.aac.m4a
audio/flacAudio

FLAC lossless audio

.flac
audio/x-aiffAudio

AIFF audio (Apple)

.aiff.aif
audio/midiAudio

MIDI music data

.mid.midi
audio/opusAudio

Opus compressed audio

.opus
audio/x-ms-wmaAudio

Windows Media Audio

.wma
audio/x-m4aAudio

M4A audio container (AAC)

.m4a
audio/amrAudio

AMR adaptive multi-rate audio

.amr
video/mp4Video

MP4 video container

.mp4.m4v
video/webmVideo

WebM video format

.webm
video/oggVideo

OGG Theora video

.ogv
video/quicktimeVideo

Apple QuickTime video

.mov.qt
video/x-msvideoVideo

AVI video (Audio Video Interleave)

.avi
video/x-ms-wmvVideo

Windows Media Video

.wmv
video/mpegVideo

MPEG video

.mpeg.mpg
video/3gppVideo

3GPP video (mobile)

.3gp
video/x-flvVideo

Flash Video (deprecated)

.flv
video/x-matroskaVideo

Matroska multimedia container

.mkv
video/av1Video

AV1 video codec

.av1
video/MP2TVideo

MPEG-2 transport stream

.ts.mts
font/woffFont

Web Open Font Format 1.0

.woff
font/woff2Font

Web Open Font Format 2.0 (Brotli compressed)

.woff2
font/ttfFont

TrueType font

.ttf
font/otfFont

OpenType font

.otf
font/collectionFont

TrueType/OpenType font collection

.ttc
font/sfntFont

SFNT font format

.sfnt
multipart/form-dataMultipart

Multipart form data (file uploads)

multipart/byterangesMultipart

Multipart byte ranges (partial content)

multipart/mixedMultipart

Multipart mixed content

multipart/alternativeMultipart

Multipart alternative representations (e.g. email HTML+text)

multipart/digestMultipart

Multipart digest (message collection)

multipart/relatedMultipart

Multipart related content (MHTML, etc.)

MIME type lookup: find the correct Content-Type for any file extension

Sending the correct Content-Type header is essential for browsers, API clients, and email programs to handle data correctly. Using the wrong MIME type can cause files to download instead of display, APIs to reject payloads, or email attachments to break. This reference lets you look up the correct MIME type for any file extension or search for extensions associated with a given type.

The database covers hundreds of registered IANA media types across all major categories: images, video, audio, text, application data, fonts, archives, and more. Search results show the canonical MIME string and all common file extensions that use it, so you always have the exact value to paste into your server config or code.

Step-by-step guide

  1. 1
    Search by extension or MIME type
    Type a file extension (e.g. .pdf, .mp4) or a MIME type string (e.g. image/webp) into the search box to filter the list.
  2. 2
    Browse by category
    Use the category filters to browse MIME types for images, video, audio, text, application data, fonts, or archives.
  3. 3
    View the full MIME string
    Each result shows the canonical MIME type string exactly as it should appear in a Content-Type HTTP header.
  4. 4
    Check associated extensions
    See all common file extensions that map to a given MIME type: useful when a type has multiple associated extensions.
  5. 5
    Copy the MIME string
    Click Copy to put the MIME type string on your clipboard for use in server configuration, API responses, or code.

Related Tools

Frequently Asked Questions

What is a MIME type?
MIME (Multipurpose Internet Mail Extensions) types are standardised identifiers for the format of a file. They are used in HTTP Content-Type headers, HTML meta tags, file upload validation, and email attachments to tell the recipient what kind of data they are receiving.
What is the format of a MIME type string?
A MIME type consists of a type and a subtype separated by a slash: type/subtype. For example, text/html, image/jpeg, or application/json. An optional parameter may follow, like charset=utf-8 for text types.
What MIME type should I use for JSON?
The correct MIME type for JSON is application/json. This is the standard defined in RFC 4627 and used by virtually all APIs and frameworks.
What is the difference between text/plain and application/octet-stream?
text/plain tells the browser or client that the data is plain readable text. application/octet-stream is a generic binary type used when the specific format is unknown or when you want to force a download rather than inline rendering.
Why does my server send the wrong MIME type?
Servers determine MIME types based on file extension mappings in their configuration. If a type is missing or incorrectly mapped, you may need to update the mime.types file or the server configuration for that extension.
What MIME type should I use for SVG files?
SVG files should use image/svg+xml. Using the wrong type (like image/svg) may cause browsers to download the file rather than render it inline.
What MIME type is used for web fonts?
WOFF files use font/woff, WOFF2 uses font/woff2, TTF uses font/ttf, and OTF uses font/otf. These are the registered IANA types for web fonts.
Is this tool free?
Yes, completely free with no account, no sign-up, and no usage limits.

AlteredIdea vs alternatives

vs server-side converters: AlteredIdea converts in your browser: your data never leaves your device.

vs writing scripts: Instant results, no coding needed.

vs paid tools: Completely free, no account required.