Hex Dump Viewer

View any file as a classic offset-hex-ASCII dump, entirely in your browser.

Ad placeholder (leaderboard)

A hex dump is the classic way to look at the raw bytes of any file. It lines up three columns — the byte offset, the bytes as hexadecimal, and an ASCII sidebar — so you can find file signatures, embedded text, headers and padding inside otherwise opaque binary data. This viewer renders that layout in your browser for any file you drop in, with no upload.

How it works

The tool reads your file into a byte array using the browser’s FileReader API, then formats it row by row. For each row it prints:

  • The offset of the first byte on the line, in hexadecimal, padded to a consistent width.
  • The bytes themselves as two-digit hex values, with a small gap in the middle of the row for readability.
  • An ASCII sidebar where any printable byte (0x200x7e) appears as its character and everything else appears as a dot.

You can choose 8, 16, 24 or 32 bytes per row. Large files are paged 4 KB at a time so the page stays fast even on big inputs, and the offset column always reflects the true position within the whole file.

Tips

Hex dumps are most useful when you know what to look for. A PNG begins with 89 50 4e 47 (.PNG in ASCII), a PDF with 25 50 44 46 (%PDF), and a ZIP with 50 4b 03 04 (PK..). Scan the ASCII sidebar to spot human-readable strings such as metadata, URLs or error messages buried in a binary. Because the offset is shown in hex, you can cross-reference a byte position directly against a file-format specification or a C struct layout. Everything runs locally, so even sensitive files stay on your machine.

Ad placeholder (rectangle)