Utils365

MIME type checker

Drop a file to see its true type, and whether its extension is telling the truth.

  • 100% free
  • No sign-up
  • Runs in your browser

Look up an extension or a MIME type

Next: Hash generator · View metadata · What is my browser

Report a problem with this tool

How to use MIME type checker

  1. Drop your files

    Add one file or many, of any kind and any size. Only the first 16 KB of each is read, so even huge files are checked instantly.

  2. Compare the three answers

    For each file you see the type found in its contents, the type its extension implies, and the type your browser reports.

  3. Check the warnings

    A file whose contents don’t fit its name is flagged, with a stronger warning when it is really a program.

Why use Utils365

  • Reads the file, not the label

    The type comes from the file’s signature, the magic number in its first bytes, which stays the same however the file is renamed.

  • Sees inside containers

    Word, Excel and PowerPoint files, OpenDocument files, EPUB books, APKs and JARs are all ZIP archives; the tool looks at what’s inside to tell them apart.

  • Catches disguised programs

    A Windows program named invoice.pdf, or a script named photo.png, gets a clear warning before you open it.

  • Private by design

    Files are read on your device with nothing uploaded, so it’s safe for confidential documents.

Frequently asked questions

What is a MIME type?

It’s a standard label for a kind of file, written as type/subtype: image/png, application/pdf, text/html. Web servers send it in the Content-Type header, and browsers, email and upload forms use it to decide how to handle a file.

How can a file’s type be told from its contents?

Most formats start with fixed bytes called a signature or magic number. Every PNG begins with the bytes 89 50 4E 47, every PDF with %PDF-, every ZIP with PK. Reading those bytes shows the real format whatever the file is called.

Why does my browser report a different type?

Browsers don’t look inside the file. They take the extension and look it up in the operating system’s list, so a PNG renamed to photo.jpg is reported as image/jpeg. An extension the system doesn’t know gives an empty type.

Which file types does it recognise?

Around 90 formats: images (PNG, JPEG, GIF, WebP, AVIF, HEIC, BMP, TIFF, ICO, PSD, SVG), PDF and Office files, archives (ZIP, RAR, 7z, gzip, bzip2, xz, tar), audio and video (MP3, WAV, FLAC, Ogg, MP4, MOV, WebM, MKV, AVI), fonts, programs (EXE, ELF, Mach-O, WebAssembly), SQLite and text such as JSON, XML and HTML.

Why does it say Microsoft Office or ZIP instead of the exact format?

Some formats share a container. A .docx is a ZIP archive, and old .doc, .xls and .ppt files share one too. If the part that tells them apart lies beyond the first 16 KB, the tool names the container and accepts any extension that uses it.

Does a matching type mean the file is safe?

No. This checks what format a file is, not whether it’s harmful. A real PDF or Word document can still carry something malicious, and this tool isn’t a virus scanner. A mismatch is a reason for care, not proof of anything.

Can it be wrong?

Occasionally. Plain text has no signature, so text formats are judged from how they begin, and a file can be built to carry one format’s signature in front of another’s data. It reads only the start of the file, so damage further in isn’t noticed.