Kharabeesh
On-device ع

MIME Types Lookup

Find the MIME type for any extension or the extensions for any type (200+ common formats), and check a real file by its byte signature to spot a wrong name or extension.

Free, no sign-up Your data stays on your device Works offline after first open

The tool

Loading the tool…

How to use

  1. Type an extension (pdf or .docx), a full file name, or a MIME type such as image/png. The direction is detected automatically.
  2. Browse by category (images, documents, code…) and copy the type you need.
  3. Under “Check a file”, pick a file: its extension and browser-reported type are compared with its first bytes.

Privacy & how it works

Processes your data in the browser and stores nothing.

  • Engine: lightweight in-page code, no external libraries.
  • Works offline after you open it once.

Frequently asked questions

What does “unofficial” next to some types mean?

The type is widely used by servers and browsers but is not in the IANA registry (often starting with x-), such as text/x-python. It works, but it is a convention rather than a standard.

Why does .ts have two types?

The same extension is used for MPEG-TS video (video/mp2t) and for TypeScript files. A server cannot tell from the name, so set it yourself in its config.

Does checking a file upload it anywhere?

No. Only the first 64 KB are read, inside your browser. The check knows the common formats (PDF, images, audio, video, ZIP and Office, fonts…); plain text has no fixed signature.

Which type should I use for unknown data?

application/octet-stream is the generic type for binary data, and browsers download it instead of displaying it.

Formulas & sources

Related tools