ToolHarbor

MIME Type Lookup

Look up MIME types by file extension or search by content type. Find the right Content-Type for any file.

Showing 78 MIME types

.json
application/jsonApplication

JSON data

.xml
application/xmlApplication

XML data

.pdf
application/pdfApplication

PDF document

.zip
application/zipApplication

ZIP archive

.gz
application/gzipApplication

Gzip archive

.tar
application/x-tarApplication

Tape archive

.7z
application/x-7z-compressedApplication

7-Zip archive

.rar
application/vnd.rarApplication

RAR archive

.js
application/javascriptApplication

JavaScript

.mjs
application/javascriptApplication

JavaScript module

.wasm
application/wasmApplication

WebAssembly

.doc
application/mswordApplication

Microsoft Word

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

Microsoft Word (OpenXML)

.xls
application/vnd.ms-excelApplication

Microsoft Excel

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

Microsoft Excel (OpenXML)

.ppt
application/vnd.ms-powerpointApplication

Microsoft PowerPoint

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

Microsoft PowerPoint (OpenXML)

.odt
application/vnd.oasis.opendocument.textApplication

OpenDocument text

.ods
application/vnd.oasis.opendocument.spreadsheetApplication

OpenDocument spreadsheet

.bin
application/octet-streamApplication

Binary data

.exe
application/octet-streamApplication

Windows executable

.dmg
application/octet-streamApplication

macOS disk image

.iso
application/octet-streamApplication

ISO disc image

.swf
application/x-shockwave-flashApplication

Adobe Flash

.rtf
application/rtfApplication

Rich Text Format

.yaml
application/x-yamlApplication

YAML data

.yml
application/x-yamlApplication

YAML data

.graphql
application/graphqlApplication

GraphQL query

.sql
application/sqlApplication

SQL query

.woff
application/font-woffFont

Web Open Font Format

.woff2
font/woff2Font

Web Open Font Format 2

.html
text/htmlText

HTML document

.htm
text/htmlText

HTML document

.css
text/cssText

CSS stylesheet

.csv
text/csvText

Comma-separated values

.txt
text/plainText

Plain text

.md
text/markdownText

Markdown document

.ts
text/typescriptText

TypeScript

.tsx
text/tsxText

TypeScript JSX

.jsx
text/jsxText

React JSX

.ics
text/calendarText

iCalendar

.vcf
text/vcardText

vCard

.log
text/plainText

Log file

.env
text/plainText

Environment variables

.png
image/pngImage

PNG image

.jpg
image/jpegImage

JPEG image

.jpeg
image/jpegImage

JPEG image

.gif
image/gifImage

GIF image

.webp
image/webpImage

WebP image

.svg
image/svg+xmlImage

SVG vector image

.ico
image/x-iconImage

Icon format

.avif
image/avifImage

AVIF image

.bmp
image/bmpImage

Bitmap image

.tiff
image/tiffImage

TIFF image

.tif
image/tiffImage

TIFF image

.heic
image/heicImage

HEIC image (Apple)

.heif
image/heifImage

HEIF image

.mp3
audio/mpegAudio

MP3 audio

.wav
audio/wavAudio

WAV audio

.ogg
audio/oggAudio

Ogg audio

.flac
audio/flacAudio

FLAC audio

.aac
audio/aacAudio

AAC audio

.m4a
audio/mp4Audio

MPEG-4 audio

.weba
audio/webmAudio

WebM audio

.midi
audio/midiAudio

MIDI audio

.mid
audio/midiAudio

MIDI audio

.mp4
video/mp4Video

MP4 video

.webm
video/webmVideo

WebM video

.avi
video/x-msvideoVideo

AVI video

.mov
video/quicktimeVideo

QuickTime video

.mkv
video/x-matroskaVideo

Matroska video

.flv
video/x-flvVideo

Flash video

.wmv
video/x-ms-wmvVideo

Windows Media Video

.m4v
video/mp4Video

MPEG-4 video

.3gp
video/3gppVideo

3GPP video

.ttf
font/ttfFont

TrueType font

.otf
font/otfFont

OpenType font

.eot
application/vnd.ms-fontobjectFont

Embedded OpenType

Features

  • Search MIME types by file extension, content type, or description instantly
  • Filter results by category: Application, Text, Image, Audio, Video, and Font
  • Covers 80+ common file extensions used in web development and beyond
  • One-click copy of any MIME type string for use in Content-Type headers
  • Fully client-side lookup with zero external requests or dependencies
  • Complete developer reference for HTTP Content-Type and Accept headers

How to Use

  1. 1Type a file extension (e.g. .json, .png), MIME type (e.g. image/png), or keyword into the search box
  2. 2Browse results or narrow them down by selecting a category filter like Image, Audio, or Text
  3. 3Find the MIME type you need and click "Copy" to copy the full content type string
  4. 4Use the copied MIME type in your Content-Type headers, server configuration, or upload validation
  5. 5Clear the search to browse the full reference of all supported MIME types

Examples

Search for JSON

Input

json

Output

.json → application/json (JSON data)
Search for image types

Input

image

Output

.png → image/png, .jpg → image/jpeg, .gif → image/gif, .webp → image/webp, .svg → image/svg+xml, and more
Look up by extension

Input

.pdf

Output

.pdf → application/pdf (PDF document)

What are MIME Types?

MIME types (Multipurpose Internet Mail Extensions) are standardized identifiers that describe the format and nature of a file or data stream. Originally designed for email attachments, MIME types are now fundamental to the web. Every HTTP response includes a Content-Type header with a MIME type that tells the browser how to interpret and render the data it receives.

A MIME type consists of two parts separated by a slash: a type and a subtype. The type indicates the general category (such as text, image, audio, video, or application), while the subtype specifies the exact format. For example, "image/png" tells the browser the content is an image in PNG format, while "application/json" indicates structured JSON data. Some MIME types also include parameters like charset (e.g. "text/html; charset=utf-8").

Web servers rely on MIME types to serve files correctly. When a server sends a CSS file with the wrong Content-Type (say "text/plain" instead of "text/css"), browsers may refuse to apply the styles. Similarly, serving JavaScript with an incorrect MIME type can cause script execution to fail in strict environments. Configuring correct MIME types in your web server (Apache, Nginx, or CDN) is essential for a functioning website.

Developers frequently encounter MIME types when building file upload features, configuring API responses, setting up download endpoints, or working with the Fetch API and XMLHttpRequest. Knowing the right MIME type for each file format helps you set correct Accept and Content-Type headers, validate uploaded files on the client side, and configure static file serving in frameworks like Express, Next.js, or Django.

This tool provides a searchable reference of the most common MIME types used in web development. It covers documents, images, audio, video, fonts, and application formats. All lookups happen instantly in your browser with no server calls, so you can use it as a quick reference anytime you need the correct content type string.

Frequently Asked Questions

Related Tools