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.
; charset=utf-8 appended, since text needs an explicit encoding; binary types (images, fonts, archives, etc.) don't take a charset parameter at all.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.