File Identity Checker
Detect the real file type by analyzing magic bytes (file signatures), regardless of the file extension.
What are magic bytes?
Magic bytes (also called a file signature) are a short sequence of bytes at the very start of a file that identifies its format. JPEG starts with FF D8 FF, PNG starts with 89 50 4E 47, ZIP starts with 50 4B 03 04. Because these bytes live inside the file — not in its name — the signature reveals what a file actually is even when the extension is wrong, missing, or deliberately misleading.
Runs in your browser. The file is read locally and never uploaded.
or drag and drop
Frequently Asked Questions
Why not just trust the file extension?
Extensions are part of the filename — anyone can rename a file from .exe to .pdf without changing its contents. Magic bytes live inside the file and reveal its true format.
Which formats are detected?
Common image, video, audio, archive, and document formats — including JPEG, PNG, GIF, WebP, HEIC, MP4, MP3, PDF, ZIP, RAR, 7z, ELF, and more.
What does "low confidence" mean?
The signature partially matched a known format or matched several formats that share a prefix. The reported type is a likely guess; check the bytes yourself in Safe File Preview's Hex view.
Can two formats share the same magic bytes?
Yes. ZIP-based formats (DOCX, XLSX, JAR, EPUB, APK) all start with the ZIP signature. The detector inspects deeper bytes to disambiguate when possible.