Hexdump Viewer
Inspect bytes, offsets and ASCII gutters in your browser — no uploads, no server.
Bytes
Hexdump
No bytes to display
Load an example, paste hex bytes or open a binary file.
Examples
PNG signature
89 50 4E 47 0D 0A 1A 0A00000000 89 50 4E 47 0D 0A 1A 0A |.PNG....|Confirms a file really is a PNG before opening it.
Little-endian integer
01 00 00 00u32 LE = 1, u32 BE = 16777216Byte order is only visible when you inspect the raw bytes.
About this tool
The Hexdump Viewer shows the raw bytes of a file or a pasted hex string as an offset-addressable dump: hexadecimal pairs on the left, a printable ASCII gutter on the right. It is the standard first stop when checking magic bytes, padding, endianness or suspected corruption — before reaching for a format-specific inspector.
Everything is computed in your browser. Paste hex bytes, open a local file, jump to an offset written in hex (0x1F400) or decimal (128000), search for ASCII text or a hex byte pattern, and copy the visible bytes as xxd, hexdump -C, plain hex, space-separated bytes or a C array. No file contents are uploaded, stored or sent anywhere.
What this tool does not do
- The browser editor previews up to 256 KB of pasted bytes at once; it is not a full multi-hundred-MB virtualized file viewer.
- Copy output uses simple line layout: it does not compress repeated lines with `*` or emit hexdump -C's trailing total-offset line.
How to use this tool
Load bytes
Paste a hex byte string, load one of the examples, or open a file from disk with Open file.
Navigate
Choose 8, 16 or 32 bytes per row and enter an offset in the Go to field — hex and decimal are both accepted.
Search
Switch between ASCII and hex search, type a pattern and read the hit offsets.
Copy
Pick a copy format, then click Copy or Download; the xxd and hexdump styles include offsets and an ASCII column.
Use cases
Verify a download
Check the first bytes of a download locally before trusting its extension.
Debug a wire format
Inspect a captured payload's header, padding and alignment without uploading it.
Write an issue report
Copy a xxd-style excerpt of the offending bytes into a bug report.
Copy formats
| Format | Example |
|---|---|
| xxd | 00000000: 89 50 4E 47 ... .PNG |
| hexdump -C | 00000000 89 50 4E 47 |.PNG| |
| hex | 89504E47 |
| spaced | 89 50 4E 47 |
| c-array | 0x89, 0x50, 0x4E, 0x47 |
Large pastes are capped at 256 KB in the editor; use smaller slices for bigger files.
Common mistakes
Mistake:Treating digit-only offsets as hex
Fix:In this tool, 1000 means decimal 1000; write 0x1000 or 1000 with letters for hex.
Mistake:Expecting a full editor
Fix:This is a read-only viewer — byte editing belongs in a dedicated hex editor.
Frequently asked questions
Is my file uploaded anywhere?
No. Bytes are read locally through the browser File API and pasted hex is parsed in the page. There is no upload endpoint and no content telemetry.
How do I jump to a specific offset?
Enter a decimal number, a plain hex value such as 1f400, or a 0x-prefixed value such as 0x1F400 in the Go to field. Digit-only values are treated as decimal; offsets past the end are clamped with a notice.
Can I search bytes or text?
Yes. Switch the Find field to ASCII for case-insensitive text or to Hex for a byte pattern such as 4D 5A. Matching offsets are listed above the dump.
What is the difference between xxd and hexdump -C output?
Both show offsets, hex pairs and an ASCII column, but xxd groups bytes in two blocks of eight with a colon after the offset, while hexdump -C uses a pipe-delimited ASCII column. This tool emits the familiar line layout; it does not compress repeated lines with an asterisk.
How large a file can it open?
Opening a local file is limited only by your browser, but the textarea editor previews up to 256 KB of bytes at a time. For very large files, inspect smaller slices with a dedicated hex editor.
References & standards
Related tools
Base32 Encoder / Decoder
Encode and decode Base32 (RFC 4648) with hex input mode and Crockford variant. Handles TOTP secrets. Runs in-browser.
Base58 Encoder / Decoder
Convert hex or text to Base58 and back, with Base58Check validation (version byte + checksum). IPFS CIDs too. In-browser.
Base64 Toolbox
Professional Base64 workspace for text, files and images with Base64URL, MIME, Data URI, strict validation, image preview and ready-to-use snippets.
BibTeX to JSON Converter
Parse .bib bibliographies into structured JSON with authors, months, macros and LaTeX cleanup, all in-browser.
C# to VB.NET Converter
Convert a subset of C# — classes, methods, variables, loops — into VB.NET
CSV Data Viewer
Paste CSV and inspect it as a sortable, searchable table with delimiter detection and inline export.