Skip to content
Jellykit

MIME Type Lookup

Find the MIME type for a file extension, or the extensions for a MIME type, for many lines at once, with outdated names pointed to the right one.

  • Runs on your device
Loading tool

About MIME Type Lookup

Type an extension, a file name or a MIME type, one per line, and get the other half: .webp gives image/webp, application/pdf gives .pdf. A wildcard such as video/* lists every video type in the table, and outdated or unregistered names such as audio/mp3 or image/jpg are pointed at the registered type that servers and browsers expect.

It is handy when setting a Content-Type header, an upload filter or an accept list. The table holds about 140 common types drawn from the IANA registry and everyday use; it is not the complete registry.

How it works

  1. Each line is read on its own. Anything with a slash is taken as a MIME type, with parameters such as charset ignored; anything else as an extension, from a bare "png" to a full path.
  2. Where an extension is used by more than one type, every type is listed, the most usual first.
  3. Unregistered names that are common in the wild (audio/mp3, image/jpg, application/x-javascript) are mapped to the registered type, with a note.

Questions

Why does .ts show a video type?

The registered type for .ts is MPEG transport stream video (video/mp2t), which is older than TypeScript. TypeScript source has no registered type, so the common unregistered name text/x-typescript is listed as well.

Is this the full IANA list?

No. It covers about 140 types that people meet in practice, plus common unregistered names. A type not listed may still exist; the IANA media type registry is the authority.

How many lines can I look up at once?

Up to 500 lines. Each one gets its own rows in the results table.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.