MIME Types
Look up Content-Type by extension or name.
Loading tool
Type .webp or json and get the usual Content-Type. The table is a local list, not a live IANA dump.
How to use this tool
- Enter the source text. Type the URL, password rules, or other input the generator needs.
- Generate. Create the code, image, or snippet in this tab.
- Copy or download. Save the SVG, CSS, or text. Refreshing the page starts over.
Ambiguity
Some extensions map to more than one type. application/octet-stream is the fallback when nothing matches.
Frequently asked
Is text/javascript or application/javascript correct?
HTML living standard prefers text/javascript for classic scripts.
What about .md files?
text/markdown is common. Some servers still send text/plain.
Does this set headers on my server?
No. It is a lookup. Configure nginx, CDN, or your framework separately.
Are vendor types included?
A short set of common vendor types is listed. Obscure ones may be missing.
Can I search by magic bytes?
No. This page matches names and extensions only.