IJM
File ToolsArchive & File

Magic Byte File Type Detector

Identify a file's true format from its leading binary magic bytes (PDF, PNG, JPEG, WebP, ZIP/XLSX/DOCX, WAV, GZIP, SQLite, ELF).

Processed in browserNo upload

Guide · File Tools / Archive & File

About Magic Byte File Type Detector

Identify a file's true underlying container format from leading magic bytes (PDF, PNG, JPEG, WebP, GIF, ZIP/OOXML, WAV, GZIP, SQLite, ELF, WASM) regardless of its extension.

When to use this tool

Critical for spotting misnamed downloads, stripped extensions, or deceptive disguised attachments before opening them.

How to use Magic Byte File Type Detector

  1. Upload any local file—even one with an unknown or missing extension.
  2. Review detected magic bytes, signature match, and MIME category.

Supported inputs, options, and outputs

  • Input: Any local file.
  • Outputs: Leading hex bytes, detected true format signature, and extension consistency note.

Accuracy notes and limitations

  • ZIP-based containers (DOCX, XLSX, PPTX, APK, JAR) share PK.. (50 4B 03 04) magic bytes and report as ZIP/OOXML family.
  • Plain-text formats without BOM (CSV, JSON, HTML) have no binary magic number.

Privacy and browser processing

PDFs, archives, binary files, and metadata stay strictly inside browser memory via pdf-lib, DataView, and Web Crypto—zero files are transmitted to IJM servers. Hosted deployments load cookie-free analytics and Google Fonts.

Read the full IJM Privacy Policy or browse all File Tools.

Related Tools

Ranked by matching inputs, outputs, and workflow compatibility

View all 96 in File Tools →