mime · content-type · extensions · live

Find any MIME type by extension

Click any row to copy. Search by file extension, MIME type, or category. Runs entirely in your browser.

MIME Type Lookup
Total
66
registered
Visible
66
all
Query
—
no filter
Size
1.6 KB
ext → mime
catalog · mime types
summary · categories
text15
.txt, .html, .css, .csv, .tsv, .md…
image11
.png, .jpg, .jpeg, .gif, .webp, .avif…
audio7
.mp3, .wav, .ogg, .m4a, .flac, .aac…
video5
.mp4, .webm, .mov, .avi, .mkv
font5
.woff, .woff2, .ttf, .otf, .eot
document9
.pdf, .doc, .docx, .xls, .xlsx, .ppt…
archive6
.zip, .tar, .gz, .7z, .rar, .bz2
binary5
.bin, .wasm, .exe, .dmg, .iso
form3
form-urlencoded, multipart-form, multipart-mixed
Click any row in the catalog to copy the MIME string.
Quick Start

How to look up a MIME type

Search by extension or MIME, then click a row to copy.

  1. 01

    Search the catalog

    Type .webp, application/json, or video.

    Lookups reference the IANA registries (MIME, HTTP status, TLDs) bundled at build time — no live network calls, no rate limits, no leaked queries.

    searchIANAregistryofflinelive
    query · querywebp · IANA
    .webp → image/webp
    loaded · IANA bundlespec · ready
  2. 02

    Browse by category

    Categories include image, video, application, text, audio, and font.

    Builders emit canonical syntax per the relevant RFC (9110 for HTTP, 5322 for headers, 3986 for URLs) so the output passes spec-compliant parsers.

    browseRFC 9110canonicalspec-compliantlive
    cat · optionsimage · live
    .png .jpg .svg .webp
    options applied · livecanonical
  3. 03

    Copy a MIME

    Click any row to grab the canonical type/subtype string for a Content-Type header.

    Validation flags common pitfalls — uppercase header names, smart quotes inside Content-Type, missing ;charset=utf-8 — before they bite production.

    copyvalidationlintpitfallslive
    row · looked upjson · ready
    application/json
    result · livevalidated
  4. 04

    Use in a header

    Set on your response: Content-Type: application/json; charset=utf-8.

    Copy writes the snippet directly into your clipboard; downloads emit the right extension and MIME so curl/httpie pick them up correctly.

    useclipboardMIME-correctblobcurl-ready
    ok · copiedready · done
    Content-Type: application/json
    shipped · ready to shipsuccess
Pro tips

Web-spec details that bite later

Idempotency saves retries

POST/PUT/DELETE should be safely retried. Use idempotency keys and return the same response on duplicate requests.

Match RFC 9110 status codes

Don’t invent codes. 422 for validation errors, 409 for conflicts, 429 for rate limits. Standard codes work with off-the-shelf clients.

Set <code>Cache-Control</code> deliberately

Default browser caching is conservative. Use max-age + stale-while-revalidate for hot endpoints.

Validate Open Graph in dev

OG tags break silently. Use a previewer like OG Generator + Facebook’s debugger before launch.

CORS is a server concern

The browser sends the preflight; the server decides. Wildcard origins disable credentials — be explicit.

MIME drives behaviour

Servers must send the right Content-Type. Browsers sniff but the spec says they shouldn’t — be explicit to avoid surprises.

Use Cases

When to look up a MIME

File uploads, downloads, content-negotiation.

Setting Content-Type

Pick the canonical MIME for the response. Bundled from IANA registries at build time — no live network call, no rate limit, no leaked queries. The MIME, TLD, and status-code tables are baked in so the tool works offline once loaded.

spec-compliant

File-upload allow-lists

Restrict uploads to the right MIMEs. Output is canonical per the relevant RFC (9110 for HTTP, 5322 for headers, 3986 for URLs), so spec-compliant parsers accept it as-is. Cross-browser and cross-library behaviour stays consistent.

offline

Static asset serving

Configure nginx/Apache mime.types. Pairs with the curl-to-fetch converter for end-to-end test stubs — copy the curl from DevTools, paste, get an idiomatic fetch() body. Drop into Playwright/Vitest fixtures without manual translation.

IANA-backed

Email attachments

Set the MIME on multipart parts. Catches common pitfalls (uppercase header names, smart quotes inside Content-Type, missing ;charset=utf-8) before they bite production. Validation flags rather than auto-corrects so you stay in control.

RFC-aligned

Browser sniffing

Pair with X-Content-Type-Options: nosniff. Validation runs as you type — copy only when the output is shaped correctly. The output drops directly into nginx, Apache, or CDN configs without re-formatting or re-quoting.

production-grade

Content negotiation

Match Accept request headers to served MIMEs. Same input plus same options always produces identical canonical output, so the tool is safe to embed in CI scripts that diff against expected configs.

negot.
FAQ

Frequently asked questions

A two-part identifier (e.g. text/html, image/png) that tells the browser how to render or download a resource.
Vendor-prefixed (e.g. application/vnd.ms-excel) and IANA-registered variants both exist. Prefer the IANA-registered name.
For text/* types, append ; charset=utf-8 to avoid mis-detection.
Use image/webp, image/avif, application/wasm, etc. Older fallbacks (image/jpeg) are still widely used.
No — the catalog is static and the filter runs locally in your browser.
Suggest a tool

Something missing?

Tell us what you need. We ship the top requests every two weeks.

Sent straight to the maintainers · no account needed
47 in queue·8 shipped this month
Request queued. Thanks!