MIME Types

Lookup MIME types by file extension or discover associated extensions for any content type.

ExtensionMIME typeDescription
.jsonapplication/jsonJSON data
.xmlapplication/xmlXML document
.htmltext/htmlHTML document
.csstext/cssCSS stylesheet
.jsapplication/javascriptJavaScript script
.tsapplication/typescriptTypeScript script
.pngimage/pngPNG image
.jpgimage/jpegJPEG image
.jpegimage/jpegJPEG image
.gifimage/gifGIF image
.svgimage/svg+xmlSVG vector image
.webpimage/webpWebP image
.icoimage/x-iconIcon file
.pdfapplication/pdfPDF document
.zipapplication/zipZIP archive
.tarapplication/x-tarTAR archive
.gzapplication/gzipGZIP compressed
.mp3audio/mpegMP3 audio
.mp4video/mp4MP4 video
.webmvideo/webmWebM video
.wofffont/woffWOFF font
.woff2font/woff2WOFF2 font
.ttffont/ttfTrueType font
.otffont/otfOpenType font
.csvtext/csvCSV spreadsheet
.txttext/plainPlain text
.mdtext/markdownMarkdown document
.yamlapplication/x-yamlYAML document
.ymlapplication/x-yamlYAML document
.tomlapplication/tomlTOML document

About MIME Types — Detailed Guide

Category: Network & HTTP 100% Browser-Local

The MIME Types Reference tool maps thousands of file extensions to standard IANA Internet media types across text, images, audio, video, web fonts, and application binary streams.

It provides bidirectional lookup: search by extension (e.g., .svg, .wasm) to obtain its canonical Content-Type, or search by MIME string to discover associated file extensions. Loaded locally in your browser, search completes instantly with zero network requests.

#mime #type #extension #content-type

Key Features & Capabilities

  • Exhaustive database of IANA-registered MIME media types and corresponding extensions
  • Bidirectional search capability: extension-to-MIME and MIME-to-extension
  • Categorized by media classes: text, image, audio, video, font, and application
  • 100% offline client-side lookup with one-click copy functionality

How to Use

  1. 1

    Type an extension (e.g., pdf, webp) or MIME keyword into the search bar.

  2. 2

    Review matching records detailing the official MIME type, category, and typical uses.

  3. 3

    Copy the Content-Type string for direct use in API responses or server configuration files.

Common Use Cases

  • → Configuring server mime.types files in Nginx or Apache to serve assets with correct headers
  • → Setting appropriate Content-Type response headers in backend file download APIs
  • → Restricting HTML `<input type="file" accept="...">` attributes to permitted media formats

Related Tools

Frequently Asked Questions & Privacy

What happens if a server returns the wrong Content-Type header?

Modern browsers enforce strict MIME-type checking (X-Content-Type-Options: nosniff). Incorrect types can cause stylesheets or scripts to be blocked.

What is the fallback MIME type for arbitrary binary files?

application/octet-stream is the standard fallback for arbitrary binary files, which prompts browsers to trigger a download.