Illustration of file extensions .webp, .json, and .pdf resolving to their MIME types next to a search box

MIME Type / Content-Type Lookup

Search by extension or MIME type (try .webp or "image"). Each result includes the exact Content-Type header value to send — text-based types get ; charset=utf-8, binary types don't. Runs entirely in your browser — the full list is embedded on the page.


ℹ️ About this list
  • Covers the file extensions someone doing web/DevOps work actually runs into — not exhaustive (there are hundreds of registered MIME types).
  • Search matches the extension, MIME type, and category, so typing "image" surfaces every image format at once.
  • The Content-Type line is the exact header value to send: text-based types (HTML, CSS, plain text, CSV, etc.) get ; charset=utf-8 appended, since text needs an explicit encoding; binary types (images, fonts, archives, etc.) don't take a charset parameter at all.
  • Runs entirely client-side — nothing you type here is ever sent anywhere.
💻 Show API usage examples (cURL)

Look up a single extension:

curl -sS https://devops.majbase.com/mime-lookup/api/extension/webp

Returns {"extension": ".webp", "mime_type": "image/webp", "category": "Image", "content_type_header": "image/webp"}, or a 404 with {"error": "..."} if it's not in the list. The leading dot is optional.

List every entry, or filter by keyword:

curl -sS https://devops.majbase.com/mime-lookup/api
curl -sS "https://devops.majbase.com/mime-lookup/api?q=image"

Returns a JSON array of matching entries in the same shape as above.

🤖 Use this API as a Claude Skill

Want an AI agent (Claude Code, claude.ai, or anything else that supports the Agent Skills format) to use this tool for you on request? Download the skill below and add it:

⬇️ Download SKILL.md · View raw