Tool guide
About this tool.
- A media type identifies a representation, such as application/json or image/svg+xml. File extensions are naming conventions, not proof of content.
- This local reference maps a curated set of extensions and media types. It accepts bare/dotted extensions, filenames, hierarchical URL paths or a known MIME type.
- Reverse lookup can return multiple extensions for one type. MIME parameters are ignored for lookup, but can still be important when interpreting the actual content.
- Check a familiar extension or Content-Type spelling.
- Find bundled extension aliases for a known media type.
- Inspect an URL pathname without downloading its resource; use content-aware tooling for actual file identification.
Leave the input empty to browse the bundled mapping table.
Enter an extension, filename, URL or known type, or apply a sample.
Read all returned aliases; unknown inputs are reported explicitly.
Copy or download the text. No file is opened or uploaded.
- json, .JSON or report.JSON → json: application/json.
- image/jpeg → jpeg: image/jpeg and jpg: image/jpeg.
- application/json; charset=utf-8 → json: application/json, ignoring the parameter.
- https://example.com/report.json?q=pdf → json: application/json, from the path, not the query.
- Empty input → all 24 bundled mappings, from .css: text/css to .zip: application/zip.
- file.unknown → No MIME mapping found in the bundled reference.
- Raw input is limited to 4,096 UTF-16 characters; surrounding whitespace is ignored and extension/type matching is case-insensitive.
- Only the final filename suffix is considered, so compound extensions and extensionless content may not be identified.
- The mapping table is intentionally limited, not the full IANA media type registry or a universal extension database.
- MIME parameters are ignored for this exact-type lookup; wildcard Accept negotiation is unsupported.
- A filename or supplied Content-Type can be misleading. No magic-byte detection, download, file parsing or safety check occurs.
- An unknown mapping does not imply an invalid or unregistered media type.
- Registry reference: https://www.iana.org/assignments/media-types (checked 2026-10-13).