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.
More Byte Array Tools
View all 17This 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\nline endings or non-breaking spaces - in a text file. - Looking inside a binary format while writing a parser.
How to Use It
- Choose Text to dump typed text as UTF-8, or File to open a file.
- Choose 8, 16 or 32 bytes per row and the letter case.
- 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
Explore More Tools
Keep going with related categories and our most used tools.