Hex Dump Viewer
Paste text or drop a file (up to 64 KB) and see it laid out the way `xxd` or `hexdump -C` would: a hex offset column, the bytes in hex, and an ASCII gutter with printable characters (non-printable bytes show as `.`). Useful for spotting BOMs, hidden control characters, encoding mismatches, or just understanding what's actually in a file.
Hex dump (14 bytes)
00000000 48 65 6C 6C 6F 2C 20 77 6F 72 6C 64 21 0A |Hello, world!.|
All processing happens locally — file contents never leave your browser.
How to use
- Switch to text or file input.
- Pick 8, 16, or 32 bytes per row.
- Read off the hex columns and the ASCII gutter, then copy the dump if needed.
Frequently asked questions
- Why is there a file size limit?
- Rendering a hex dump in the browser is fast for tens of KB but bogs down past 1 MB. The 64 KB cap keeps the UI responsive — for bigger files, use `xxd` on the command line.
- What encoding is the text input?
- UTF-8. A character like `é` shows as two bytes (`C3 A9`) and ASCII letters are single bytes. If you need a specific encoding, paste pre-encoded bytes via the file input.
- Why are non-printable bytes shown as `.`?
- Same convention as `xxd`: bytes outside the printable ASCII range (0x20–0x7E) become `.` in the gutter so the alignment stays readable. The hex column still shows the exact byte.
- Does this upload my file?
- No. The file is read via the FileReader API and the dump is computed in your browser.
Related tools
Bitwise Calculator
AND, OR, XOR, NOT and bit shifts on two integers — shown in binary, hex, unsigned and signed decimal, with selectable 8, 16, 32 or 64-bit width.
ASCII Code Table
Browse and search the 256-row ASCII / extended-ASCII table — decimal, hex, octal, binary, and the named control characters.
Number Base Converter
Convert numbers between binary, octal, decimal, and hexadecimal.
Byte Size Converter (KB / KiB / MB / MiB / ...)
Convert between decimal (KB, MB, GB — SI base 1000) and binary (KiB, MiB, GiB — IEC base 1024) byte units, plus bits.
MessagePack Decoder
Paste base64 or hex MessagePack bytes and read the values — types, nested maps, binary blobs and timestamps — decoded in your browser.
Protobuf Decoder (no .proto needed)
Paste base64 or hex protobuf bytes and read the fields — numbers, wire types, nested messages, strings and packed arrays — without a schema.