T
DataToolings

MIME Types Reference

Searchable MIME types reference table. Find the correct Content-Type for any file extension — image, video, audio, text, application, and font.

71 MIME types

image/jpegimage
.jpg / .jpeg— JPEG image
image/pngimage
.png— Portable Network Graphics
image/gifimage
.gif— Graphics Interchange Format
image/webpimage
.webp— WebP image
image/svg+xmlimage
.svg— Scalable Vector Graphics
image/x-iconimage
.ico— Icon format
image/bmpimage
.bmp— Bitmap image
image/tiffimage
.tiff / .tif— Tagged Image File Format
image/avifimage
.avif— AV1 Image File Format
image/heicimage
.heic— High Efficiency Image Coding
video/mp4video
.mp4— MPEG-4 video
video/webmvideo
.webm— WebM video
video/oggvideo
.ogg— Ogg video
video/quicktimevideo
.mov— QuickTime video
video/x-msvideovideo
.avi— Audio Video Interleave
video/x-matroskavideo
.mkv— Matroska video
video/x-flvvideo
.flv— Flash video
video/x-ms-wmvvideo
.wmv— Windows Media Video
video/3gppvideo
.3gp— 3GPP video
audio/mpegaudio
.mp3— MP3 audio
audio/wavaudio
.wav— Waveform Audio Format
audio/oggaudio
.ogg— Ogg audio
audio/flacaudio
.flac— Free Lossless Audio Codec
audio/aacaudio
.aac— Advanced Audio Coding
audio/mp4audio
.m4a— MPEG-4 audio
audio/webmaudio
.webm— WebM audio
audio/opusaudio
.opus— Opus audio
audio/midiaudio
.mid / .midi— MIDI audio
text/htmltext
.html / .htm— HTML document
text/csstext
.css— Cascading Style Sheets
text/javascripttext
.js / .mjs— JavaScript module
text/plaintext
.txt— Plain text
text/csvtext
.csv— Comma-Separated Values
text/xmltext
.xml— XML document (text)
text/markdowntext
.md— Markdown text
text/calendartext
.ics— iCalendar format
text/vcardtext
.vcard / .vcf— vCard contact format
text/rtftext
.rtf— Rich Text Format
application/jsonapplication
.json— JSON data
application/xmlapplication
.xml— XML document
application/pdfapplication
.pdf— PDF document
application/zipapplication
.zip— ZIP archive
application/gzipapplication
.gz— Gzip compressed archive
application/x-tarapplication
.tar— Tape Archive
application/x-7z-compressedapplication
.7z— 7-zip archive
application/vnd.rarapplication
.rar— RAR archive
application/wasmapplication
.wasm— WebAssembly binary
application/javascriptapplication
.js— JavaScript (legacy MIME)
application/octet-streamapplication
.bin— Binary data (generic)
application/octet-streamapplication
.exe— Executable binary
application/mswordapplication
.doc— Microsoft Word document
application/vnd.openxmlformats-officedocument.wordprocessingml.documentapplication
.docx— Word (OOXML)
application/vnd.ms-excelapplication
.xls— Microsoft Excel spreadsheet
application/vnd.openxmlformats-officedocument.spreadsheetml.sheetapplication
.xlsx— Excel (OOXML)
application/vnd.ms-powerpointapplication
.ppt— Microsoft PowerPoint
application/vnd.openxmlformats-officedocument.presentationml.presentationapplication
.pptx— PowerPoint (OOXML)
application/vnd.oasis.opendocument.textapplication
.odt— OpenDocument Text
application/vnd.oasis.opendocument.spreadsheetapplication
.ods— OpenDocument Spreadsheet
application/epub+zipapplication
.epub— EPUB e-book
application/ld+jsonapplication
.jsonld— JSON-LD linked data
application/graphqlapplication
.graphql— GraphQL query
application/yamlapplication
.yaml / .yml— YAML data
application/tomlapplication
.toml— TOML configuration
application/msgpackapplication
.msgpack— MessagePack binary
application/x-www-form-urlencodedapplication
.form— URL-encoded form data
multipart/form-dataapplication
.multipart— Multipart form data (file upload)
font/wofffont
.woff— Web Open Font Format 1
font/woff2font
.woff2— Web Open Font Format 2
font/ttffont
.ttf— TrueType Font
font/otffont
.otf— OpenType Font
application/vnd.ms-fontobjectfont
.eot— Embedded OpenType (legacy IE)

Related Developer Tools

What are MIME Types?

MIME (Multipurpose Internet Mail Extensions) types are standard identifiers used to indicate the nature and format of a document or file. They appear in HTTP headers as the Content-Type field and tell browsers, servers, and APIs how to handle a given file. The format is type/subtype, for example image/png or application/json.

How to Use This Reference

  1. Search by file extension (e.g., .png) or MIME type (e.g., image/)
  2. Filter by category: image, video, audio, text, application, or font
  3. Click the copy button next to any MIME type to copy it to your clipboard
  4. Paste it directly into your HTTP header, Content-Type field, or server config

Features

  • 71 MIME types across 6 categories
  • Search by extension, MIME string, or description
  • Category filter: image, video, audio, text, application, font
  • One-click copy for each MIME type string
  • Color-coded category badges for quick scanning

FAQ

What is the MIME type for JSON?

The correct MIME type for JSON is application/json. Use this as your Content-Type header when sending or receiving JSON data in REST APIs.

What MIME type should I use for file uploads?

For file uploads via HTML forms, use multipart/form-data. For sending raw binary data via API, use application/octet-stream.

What is the difference between text/javascript and application/javascript?

Both identify JavaScript files. text/javascript is the current IANA-registered standard (RFC 9239).application/javascript is an older alternative that is still widely accepted by browsers.

How do I set the Content-Type in a response header?

In most frameworks you set it directly: in Express.js use res.setHeader('Content-Type', 'image/png'), in Python/Flask use Response(data, mimetype='image/png'), and in Nginx use the types block in your configuration.