ToolboxHub

📁MIME Type Lookup

Look up MIME types by file extension for web and API development.

Share:
ExtensionMIME TypeDescription
.htmltext/htmlWeb pages
.csstext/cssStylesheets
.jsapplication/javascriptJavaScript files
.jsonapplication/jsonJSON data
.xmlapplication/xmlXML data
.pdfapplication/pdfPDF documents
.zipapplication/zipZIP archives
.tarapplication/x-tarTAR archives
.gzapplication/gzipGZip archives
.pngimage/pngPNG images
.jpgimage/jpegJPEG images
.gifimage/gifGIF images
.svgimage/svg+xmlSVG vector images
.webpimage/webpWebP images
.icoimage/x-iconIcon files
.mp4video/mp4MP4 video
.webmvideo/webmWebM video
.mp3audio/mpegMP3 audio
.wavaudio/wavWAV audio
.oggaudio/oggOgg audio
.wofffont/woffWeb font WOFF
.woff2font/woff2Web font WOFF2
.ttffont/ttfTrueType font
.csvtext/csvCSV data
.txttext/plainPlain text
.mdtext/markdownMarkdown files
.yamlapplication/yamlYAML data
.tomlapplication/tomlTOML data

About MIME Type Lookup

Look up the correct MIME type (Content-Type) for any file extension. Covers web assets (HTML, CSS, JS), images (PNG, JPEG, WebP), data formats (JSON, XML, YAML), media (MP4, MP3), fonts, and more. Essential for setting correct Content-Type headers in APIs and web servers.

How to Use MIME Type Lookup

  1. 1

    Search by extension

    Type a file extension (e.g. .json, .mp4) or MIME type in the search field.

  2. 2

    Find your MIME type

    Browse the filtered results to find the correct Content-Type value.

  3. 3

    Use in your code

    Copy the MIME type for use in HTTP headers, API responses, or server configurations.

Common Use Cases

  • Setting correct Content-Type headers in API responses
  • Configuring web server MIME type mappings
  • Understanding browser file handling for different formats
  • Debugging file download and media streaming issues

Frequently Asked Questions

What is a MIME type?
A MIME type (Multipurpose Internet Mail Extensions) identifies the format of a file. For example, text/html for HTML files or application/json for JSON. Browsers and servers use MIME types to handle files correctly.
Why does the Content-Type header matter?
Browsers use the Content-Type header to determine how to process a response. Incorrect MIME types can cause files to be downloaded instead of displayed, or prevent JavaScript from executing.

Related Tools