liminfo

MIME Type Reference

Free web tool: MIME Type Reference

77 results
ExtensionMIME TypeCategoryDescriptionCopy Header
.htmlTextHTML Document
.htmTextHTML Document
.cssTextCSS Stylesheet
.jsTextJavaScript
.mjsTextJavaScript Module
.jsonDataJSON Data
.jsonldDataJSON-LD Linked Data
.xmlDataXML Data
.csvDataCSV Data
.yamlDataYAML Data
.ymlDataYAML Data (short ext)
.tomlDataTOML Configuration
.txtTextPlain Text
.mdTextMarkdown Document
.rtfDocumentsRich Text Format
.pdfDocumentsPDF Document
.docDocumentsWord Document (legacy)
.docxDocumentsWord Document
.xlsDocumentsExcel Spreadsheet (legacy)
.xlsxDocumentsExcel Spreadsheet
.pptDocumentsPowerPoint (legacy)
.pptxDocumentsPowerPoint Presentation
.pngImagesPNG Image
.jpgImagesJPEG Image
.jpegImagesJPEG Image
.gifImagesGIF Image
.webpImagesWebP Image
.svgImagesSVG Vector Image
.icoImagesIcon Image
.bmpImagesBMP Image
.tiffImagesTIFF Image
.avifImagesAVIF Image
.heicImagesHEIC Image (Apple)
.mp3AudioMP3 Audio
.wavAudioWAV Audio
.oggAudioOGG Audio
.flacAudioFLAC Audio (lossless)
.aacAudioAAC Audio
.m4aAudioM4A Audio
.opusAudioOpus Audio
.midiAudioMIDI Audio
.webmVideoWebM Video
.mp4VideoMP4 Video
.aviVideoAVI Video
.movVideoQuickTime Video
.mkvVideoMatroska Video
.wmvVideoWMV Video
.tsVideoMPEG Transport Stream
.flvVideoFlash Video
.zipArchiveZIP Archive
.gzArchiveGzip Compressed
.tarArchiveTAR Archive
.rarArchiveRAR Archive
.7zArchive7-Zip Archive
.bz2ArchiveBzip2 Compressed
.zstArchiveZstandard Compressed
.woffFontsWOFF Web Font
.woff2FontsWOFF2 Web Font
.ttfFontsTrueType Font
.otfFontsOpenType Font
.eotFontsEOT Font (IE)
.wasmOtherWebAssembly
.binOtherArbitrary Binary Data
.exeOtherWindows Executable
.dmgOthermacOS Disk Image
.isoOtherISO Disk Image
.icsOtheriCalendar File
.vcfOthervCard Contact
.gpxOtherGPX GPS Data
.kmlOtherKML Geographic Data (Google Earth)
.rssDataRSS Feed
.atomDataAtom Feed
.sqlDataSQL Query
.graphqlDataGraphQL Query
.msiOtherWindows Installer Package
.debOtherDebian Package
.apkOtherAndroid Package

About MIME Type Reference

MIME types (Multipurpose Internet Mail Extensions) are the standard way browsers and servers communicate about the format of a file. When a web server sends a response, the Content-Type header — carrying a MIME type like "image/png" or "application/json" — tells the browser how to interpret the data. This reference covers over 60 of the most commonly used MIME types, organized across ten categories: Text, Data, Documents, Images, Audio, Video, Archive, Fonts, and Other.

Web developers, backend engineers, and system administrators rely on accurate MIME types when configuring servers, writing fetch() calls, building file upload forms, or setting HTTP response headers. Getting the wrong MIME type can cause browsers to refuse to render a file, trigger a download instead of displaying content, or block cross-origin requests. This tool provides an instant lookup table searchable by file extension (like ".webp"), the full MIME string (like "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"), or a plain-English description.

The reference includes both legacy formats (like .doc using application/msword) and modern standards (like .avif using image/avif and .woff2 using font/woff2). Each entry is displayed in a sortable table with a click-to-copy button on every MIME string, making it quick to paste a value directly into your code or configuration file. The entire tool runs in the browser with no network requests, so it works offline and your lookups are never logged.

Key Features

  • Covers 60+ MIME types across Text, Data, Documents, Images, Audio, Video, Archive, Fonts, and Other categories
  • Instant search by file extension, MIME type string, or description
  • One-click copy for any MIME type value directly to the clipboard
  • Category filter tabs for fast browsing within a specific file type group
  • Includes both legacy formats (.doc, .xls) and modern formats (.avif, .woff2, .wasm)
  • Shows exact IANA-registered MIME strings including long Office Open XML identifiers
  • 100% client-side — no network requests, works offline, no logging
  • Dark mode support and fully responsive table layout for mobile use

Frequently Asked Questions

What is a MIME type?

A MIME type (also called a content type or media type) is a two-part identifier in the format "type/subtype" — for example "text/html" or "image/jpeg". It tells browsers and servers what kind of data a file contains so they know how to process it. MIME types are used in HTTP Content-Type headers, HTML <input accept=""> attributes, and API responses.

What is the MIME type for a PNG image?

The correct MIME type for PNG images is "image/png". Use it in your Content-Type response header when serving PNG files from a server, or in an <img> tag's srcset when working with Blob URLs.

What MIME type should I use for JSON APIs?

Use "application/json" for JSON data. This is the standard type expected by fetch() calls and XMLHttpRequest, and it signals to the client that the response body should be parsed as JSON.

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

"text/javascript" is the currently correct and IANA-registered MIME type for JavaScript files. "application/javascript" was historically used but has been deprecated. Modern servers and browsers accept both, but "text/javascript" is the recommended value per the WHATWG HTML specification.

What MIME type should I set for a file download?

To force a browser to download a file rather than render it, set the Content-Type to "application/octet-stream". You should also add the header "Content-Disposition: attachment; filename=yourfile.ext" to control the suggested filename.

Why does the Office Open XML MIME type look so long?

Modern Microsoft Office formats (.docx, .xlsx, .pptx) are part of the Open XML specification maintained by ECMA International. Their MIME types follow a structured naming pattern — for example, "application/vnd.openxmlformats-officedocument.wordprocessingml.document" — that encodes the vendor, specification name, and document type. The long string is intentional and precise.

What is the correct MIME type for SVG files?

The correct MIME type for SVG is "image/svg+xml". Because SVG is XML-based, the "+xml" suffix is required. Some older configurations incorrectly use "image/svg", which can cause rendering issues in some browsers.

How do I look up a MIME type for a file extension I do not see here?

This reference covers the most commonly used MIME types. For uncommon or vendor-specific types, consult the IANA Media Types registry at iana.org/assignments/media-types or your operating system's MIME database. On Linux, you can run "file --mime-type yourfile" to detect a file's type by content rather than extension.