MIME Type Lookup
Look up common file extensions and MIME types without leaving the page.
Extension ↔ MIME type
Serving a file with the wrong MIME type causes downloads to fail or content to render incorrectly. This lookup maps common file extensions to their MIME types and back, so you can set the right Content-Type or figure out what a type refers to.
Having the mapping instantly saves a search when configuring a server, an upload validator, or a data URI. Enter an extension or a MIME type and get its counterpart, drawn from an embedded reference — no lookup, no network needed.
Correct types, locally
Serving the right MIME type is what stops a file downloading instead of rendering, or the reverse. The lookup runs entirely in your browser.
Frequently asked questions
What is a MIME type?
A label like text/html or image/png that tells browsers and servers what kind of file they are handling.
Which file types are included?
Common web types such as HTML, CSS, JavaScript, JSON, XML, SVG, PNG, JPEG, WebP, GIF, PDF, CSV, WebAssembly, and ZIP.
Why does the MIME type matter?
Servers send it in the Content-Type header. The wrong type can stop scripts from running or make files download instead of display.
Related tools
Practical utilities for everyday web development work.