Hex Viewer: Offset, Hex and ASCII Columns

Open Tool Hex Viewer

Seeing the file byte by byte

A hex view splits the file into bytes, typically sixteen per row, with offsets on the left, hex values in the middle and printable ASCII on the right. Controls page back and forth, load a sample, clear and copy the current page. Judging true file type, spotting hidden bytes and checking encoding all rely on this view.

Steps

  1. Load the file and read the first rows for byte signatures.
  2. Beginnings matter: text starts with visible characters while archives and images carry fixed headers.
  3. Page to the target region, watching the offset column.
  4. Compare middle hex with right ASCII, where blanks mean unprintable bytes.
  5. Copy the current page into a ticket or send it to a colleague.
  6. Clear to restart, then load another file.

Bytes, offsets, headers

An offset is the absolute byte position from zero, shown in hex. A header is the fixed opening signature called a magic number: ZIP starts with 50 4B, PDF with 25 50 44 46, PNG with 89 50 4E 47 and JPEG with FF D8 FF, so a renamed file reveals its true type at the head. UTF-8 Chinese begins with high bytes in the E4 to E9 range followed by two continuation bytes between 80 and BF, while double-byte sequences starting C4 to C9 usually indicate GBK. Line endings appear as 0D 0A on Windows or 0A on Unix, and mixing shows immediately.

Common mistakes

Trusting extensions and misreading renamed files. Ignoring offsets so pages lose position. Calling high bytes corruption when they are Chinese. Treating ASCII blanks as missing data. Concluding from page one while structure sits at the tail. And copying fragments without the offsets that let others verify.

Where a byte view is not content

Readable strings need the extractor. Integrity needs hashes. Structural parsing like image dimensions needs metadata tools. And interpreting bytes always requires format knowledge.

⏫︎