Skip to main content
Byte Array Tools

Hex Viewer (Hex Dump)

View any file or text as a hex dump with offsets, hex bytes and an ASCII column, like xxd or hexdump -C. Files up to 50 MB are read in your browser, 64 KB at a time.

Open a file to look at its raw bytes - headers, magic numbers, hidden characters or corruption - without installing a hex editor.

Files are read by your browser and never uploaded.

This is a viewer, not an editor - to change bytes, edit the hex and rebuild the file with Byte Array to File.

What Is the Hex Viewer?

A hex viewer shows the raw bytes of a file: on each row, the offset (position) in the file, the bytes in hexadecimal, and the same bytes as ASCII characters. The layout matches hexdump -C and xxd, so you can compare it with command-line output. Files up to 50 MB are read in your browser and shown 64 KB at a time.

When to Use It

  • Checking a file header or magic number when a program refuses to open a file.
  • Finding hidden characters - a byte order mark, tabs, \r\n line endings or non-breaking spaces - in a text file.
  • Looking inside a binary format while writing a parser.

How to Use It

  1. Choose Text to dump typed text as UTF-8, or File to open a file.
  2. Choose 8, 16 or 32 bytes per row and the letter case.
  3. Use Next 64 KB and Previous 64 KB to move through larger files, and copy or download the dump.

Example

The text {"name": "Byteary", "price": "₹99"} followed by a new line and a tab starts like this:

00000000  7B 22 6E 61 6D 65 22 3A  20 22 42 79 74 65 61 72  |{"name": "Bytear|
00000010  79 22 2C 20 22 70 72 69  63 65 22 3A 20 22 E2 82  |y", "price": "..|
00000020  B9 39 39 22 7D 0A 09 54  ...

The rupee sign is the three bytes E2 82 B9, the new line is 0A and the tab is 09.

Understanding the Output

Offsets are in hex: 00000010 is byte 16. In the ASCII column, printable characters are shown as they are and every other byte as a dot, so multi-byte characters and control codes appear as dots.

Limitations

This is a viewer, not an editor. Files above 50 MB are refused so the browser stays responsive. To identify a file type automatically, use the File Signature Checker; to compare two byte sequences, use Byte Array Compare.

Frequently Asked Questions

No. The file is read by your browser and displayed on your device. It is never sent to a server, so you can safely inspect private or confidential files.

Up to 50 MB. The dump is shown 64 KB at a time - use the Next and Previous buttons to move through the file. The offset column shows where you are.

The ASCII column shows only printable ASCII characters. Control characters such as new lines and tabs, and every byte above 127 - including the bytes of accented letters and emoji in UTF-8 - are shown as dots.

The layout matches hexdump -C: an offset, 16 bytes in two groups of eight, and the ASCII column between | characters. xxd groups bytes in pairs by default, but the byte values are the same.
Share this tool: