Skip to main content

Hex Dump Viewer, Offset + Hex + ASCII

Offset, hex bytes and ASCII side by side, the classic xxd / hexdump -C layout, fully in your browser

  • Runs locally
  • Category Developer & DevOps
  • Best for Formatting, validating, shrinking, or inspecting code-adjacent text.
Bytes / row
Case
Input text
Hex dump
The hex dump appears here.

What this tool does

Free online hex dump viewer that turns any text into the classic three column layout you know from xxd and hexdump -C: an 8 digit offset on the left, the raw bytes in the middle grouped two digits at a time, and an ASCII preview on the right. It encodes your input as UTF-8 first, so a Chinese character such as 中 shows up as its real three bytes e4 b8 ad and an emoji shows as four bytes, exactly the way a file, a socket or a hex editor would store them. Printable characters appear in the ASCII column unchanged; control bytes and anything non printable collapse to a single dot so the column stays aligned. Pick 8, 16 or 32 bytes per row, flip the digits between lower and upper case, and copy the whole dump with one click. Everything runs locally in the page, nothing is uploaded, and the input plus your options round trip through the URL so a shared link reopens the exact same dump.

Tool details

Input
Text + Numbers
The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
Output
Live result + Copy + Preview
The result area focuses on usable output, with copy, download, or preview actions when supported.
Privacy
Browser-side processing
The main tool logic does not call an external API, so inputs normally stay in the current tab.
Save / share
Shareable URL state
Key settings are encoded in the URL so another person can reopen the same setup.
Performance budget
Initial JS <= 9 KB
No WASM budget is declared, keeping the tool quick to open on mobile.
Best fit
Developer & DevOps · Developer
Category and role tags drive related tools, internal links, and quick fit checks.

How to use

  1. 1. Input

    Paste or drop your content into the tool panel.

  2. 2. Process

    Click the button. All processing is local in your browser.

  3. 3. Copy / Download

    Copy the result or download to disk in one click.

How Hex Dump Viewer fits into your work

Use it in the small gaps between coding, reviewing, debugging, and shipping.

Developer jobs

  • Formatting, validating, shrinking, or inspecting code-adjacent text.
  • Preparing snippets for documentation, tickets, commits, or handoff.
  • Checking a small payload quickly without switching tools.

Developer checks

  • Run irreversible transforms like minify or obfuscate on a copy.
  • Keep secrets out of pasted snippets unless the tool explicitly stays local.
  • Use your normal tests or linter before shipping transformed code.

Good next steps

These links move the current task into a more complete workflow.

  1. 1 ASCII Table Reference Complete 0–127 ASCII table: decimal, hex, octal, binary, character, name, HTML entity and escape — control codes explained, click to copy, fully searchable. Open
  2. 2 Number Base Converter Number base converter — binary, octal, decimal, hex, and any base 2-36. Bitwise too. Open
  3. 3 Text to Hex Converter Text ⇄ hexadecimal by UTF-8 bytes — Chinese and emoji safe, picks your separator and case, decodes messy pasted hex — runs in your browser Open

Real-world use cases

  • Inspect exactly what bytes a string contains

    You suspect a config value has a stray byte, maybe a non breaking space or a hidden BOM. Paste the string and the dump shows every byte by offset. A normal space is 20, a non breaking space is c2 a0, and a BOM is ef bb bf, all of which jump out in the hex column the moment you look, where the rendered text hid them.

  • Teach or learn how UTF-8 encoding works

    Type one ASCII letter, one accented letter, one CJK character and one emoji on the same line and watch the byte counts: 1, 2, 3 and 4 bytes. The offset column makes the growth concrete and the ASCII column shows dots for every continuation byte, which is the clearest way to see why string length and byte length differ.

  • Preview an xxd dump before opening a terminal

    You want to know what xxd would print for a short snippet but you are in a browser, not a shell. Paste the text, set 16 bytes per row, and you get the same offset, hex and ASCII layout you would see from xxd, ready to copy into a bug report or a chat message.

  • Share a byte level view as a link

    Debugging an encoding issue with a teammate over chat? Build the dump here, the input and your row width and case live in the URL, and send the link. They open it and see the identical three column dump without you having to paste a wall of pre formatted text.

Common pitfalls

  • Counting a Chinese character or emoji as one byte. In UTF-8 a CJK character is three bytes and most emoji are four, so the byte length is larger than the visible character count. The dump shows the true byte count per row, which is what matters for buffer sizes and file lengths.

  • Reading the offset as decimal. The offset column is hexadecimal, so 00000010 is byte 16, not byte 10. If you need a decimal position, convert the hex offset first, or the row math will be off by the base.

  • Expecting the ASCII dots to be meaningful characters. A dot is just a placeholder for any non printable byte, it does not mean the byte is a period (which would be 2e). Two different control bytes both show as a dot, so always read the value from the hex column, not the ASCII preview.

Privacy

The whole dump, the UTF-8 encoding, the offset math and the ASCII preview, is plain JavaScript that runs inside your browser tab. The text you paste never leaves the page and nothing is logged. The one thing to know: the input and your options are stored in the page URL so a shared link can reopen the same dump, which means a link pasted into chat will record your text in the recipient server access log. For anything sensitive, use the copy button and paste the dump text rather than sharing the URL.

FAQ

Tool combos

Folks in your role tend to reach for these alongside this tool.

Made by Toolora · 100% client-side · Updated 2026-05-29