Hex dump viewer for files and text
Shows offsets, hex columns, and an ASCII column, with search and paging.
Input
Loading editor…
Hex dump
Byte offsets, hex, and readable text side by side, 64 rows per page.
Reading a hex dump
Each row starts with an offset: the position of its first byte, counted from the start of the file in hexadecimal. Next come the bytes as two-digit hex values, then the same bytes as text in the ASCII column, where anything that is not a printable character shows as a dot.
File signatures worth knowing
Most formats start with a fixed run of bytes. If the first bytes do not match the extension, the file was renamed or is not what it claims to be.
| 89 50 4E 47 0D 0A 1A 0A | PNG image |
| FF D8 FF | JPEG image |
| 47 49 46 38 | GIF image (the text GIF8) |
| 25 50 44 46 | PDF document (the text %PDF) |
| 50 4B 03 04 | ZIP archive, and formats built on ZIP such as DOCX, XLSX, and JAR |
| EF BB BF | UTF-8 byte order mark at the start of a text file |
Line endings
Windows text files end each line with 0D 0A (CR LF), while Linux and macOS use 0A alone. Editors often hide the difference, and a hex dump shows it at once.
More encoding tools
All encoding toolsWas this tool useful?