File Type Identifier

Find a file’s real type from its content (magic bytes), not its name. Spots wrong extensions and programs disguised as documents. About 70 formats, any file size.

Tool

Was this tool useful?

About this tool

About File Type Identifier

Got a file with no extension, the wrong extension, or one that will not open? Drop it here and the identifier reads its first bytes – the “magic number” every format starts with – and tells you what it really is: PDF, JPEG, PNG, HEIC, MP4, ZIP, DOCX, XLSX, APK, EXE, SQLite and many more. It warns when a program is named like a document (invoice.pdf.exe tricks) and shows a hex view of the first bytes.

How it works

Formats are recognised by fixed byte patterns, e.g. %PDF- for PDF, 89 50 4E 47 for PNG, FF D8 FF for JPEG and 50 4B 03 04 for ZIP-based files (then the inside is checked for Word, Excel, APK…).

Example

photo.png that starts with FF D8 FF is really a JPEG – renaming it to photo.jpg makes it open everywhere.

How to use this tool

  1. Choose or drop one or more files – any size.
  2. Read the real type and the name check.
  3. Rename the file with the right extension if needed.

Frequently asked questions

Why does a .docx show as ZIP-based?

Word, Excel, PowerPoint, EPUB, JAR and APK files are ZIP archives inside; the tool looks inside to name the exact type.

Can it detect viruses?

No. It only tells you the real type. A disguised program is a strong warning sign – do not open it.

Is my data uploaded?

No. Everything is processed in your browser and stays on your device.

Are my files uploaded by the File Type Identifier?

No. The File Type Identifier reads your files in your browser, so your data stays on your device. Very large files may be slow on older phones.