{ }jsonkit
Format
Validate
Convert
Query
Generate

MIME type lookup

Look up extensions and media types with charset and compression info.
81 B · paste or drop a file
1 2 3 4 5 6
✓ complete81 B → 24352 B0.0 ms

About MIME Type Lookup

MIME type lookup finds the media types for a file extension or filename. It also works the other way, returning the extensions and metadata for a Content-Type value.

How it works

Lookup in both directions

Enter an extension, a dotted extension or a filename to find its media types. Enter a type/subtype to get its extensions. A wildcard such as image/* lists a limited set from that category.

Registry data

Results come from a pinned copy of mime-db, which combines IANA registrations with Apache and nginx mappings. Each match shows its source, extensions, default charset and whether it compresses well, when known.

Ready-to-use Content-Type

Each match includes a Content-Type value with the default charset. Parameters in your input are ignored, so you can paste a header value from an HTTP response.

Frequently asked questions

Can one extension have several MIME types?

Yes. All matches are shown, with IANA registrations listed before web server or custom mappings.

Does this inspect file contents?

No. Filename lookup uses only the extension. To identify a binary file's real format, you need to check its magic bytes.

Why is compressibility sometimes unknown?

Not every media type has a compression recommendation. The real gain also depends on the file itself.

Sources & last verified

We checked this tool's behavior and the claims on this page against the specifications below on . The tool runs in your browser, so the output you see is exactly what the engine produced.

Found a wrong result or an outdated claim? Report an error and we will check it again.