Hex Viewer (Hex Dump)

View any file as a hex dump with offsets and ASCII, and identify its real type from the magic bytes.

How do I see the hex of a file?

Choose a file and the viewer shows its bytes as hexadecimal in rows of 16, with offsets and the matching ASCII characters, starting from any offset. It also reads the first bytes (the “magic number”) to tell you the real file type — PNG, JPEG, PDF, ZIP, EXE and more — whatever the extension says.

Common magic bytes

TypeFirst bytes
PNG89 50 4E 47
JPEGFF D8 FF
PDF25 50 44 46 (%PDF)
ZIP / DOCX50 4B 03 04 (PK)
Windows EXE4D 5A (MZ)

Frequently asked questions

How much of the file is shown?

Up to 64 KB at a time from any offset.

Is the file uploaded?

No.

Can I edit bytes?

This is a viewer; it does not modify files.