BYTETOOLS

Hex Dump Viewer

View any file as a classic hex dump in your browser — offsets, hex bytes and an ASCII column, xxd style. Nothing is uploaded. Copy or download the dump.

Drop any file here or click to browseThe file is read locally in your browser — nothing is uploaded.

What is the Hex Dump Viewer?

The ByteTools Hex Dump Viewer displays the raw bytes of any file in the classic xxd/hexdump layout: an offset column, the bytes in hexadecimal, and an ASCII gutter where printable characters appear and everything else is a dot.

  • Classic xxd-style layout: offset, hex bytes, ASCII gutter
  • Works on any file type and size
  • Selectable row width: 8, 16 or 32 bytes
  • Full dump downloadable as text; on-screen view stays fast
  • Non-printable bytes shown as dots, exactly like xxd
  • 100% local — the file is never uploaded

How to use the Hex Dump Viewer

  1. 1

    Drop a file onto the tool or click to browse.

  2. 2

    Choose 8, 16 or 32 bytes per row.

  3. 3

    Read the offsets, hex bytes and ASCII column.

  4. 4

    Copy the dump, or download the full dump as a .txt file.

About the Hex Dump Viewer

The ByteTools Hex Dump Viewer displays the raw bytes of any file in the classic xxd/hexdump layout: an offset column, the bytes in hexadecimal, and an ASCII gutter where printable characters appear and everything else is a dot. It is the quickest way to check a file's magic number, spot hidden bytes or verify exactly what a program wrote.

Drop in any file — binary, image, executable, database, text — and choose 8, 16 or 32 bytes per row. Very large files are truncated in the on-screen view to keep the page fast, while the download button generates the complete dump as a text file. The dump is also copyable for pasting into bug reports and forums.

The file is read with the browser's own File API and never leaves your machine — no upload, no server, and it works offline.

Frequently asked questions

What is a hex dump?

A hex dump is a byte-by-byte listing of a file shown as hexadecimal numbers, usually with a running offset on the left and an ASCII interpretation on the right. It is the standard way to inspect binary data, because every byte is visible exactly as stored, with nothing interpreted or hidden.

How do I identify a file type from its hex dump?

Look at the first few bytes — the magic number. PNG files start with 89 50 4E 47, JPEGs with FF D8 FF, PDFs with 25 50 44 46 (%PDF), ZIP-based formats like DOCX with 50 4B (PK). If a file will not open, comparing its magic number against its extension is the first diagnostic step.

Why do some bytes show as dots in the right-hand column?

The ASCII column only renders printable characters (bytes 0x20 to 0x7E). Control characters, null bytes and anything above 0x7E are shown as a dot so every row stays aligned. The dot is a placeholder — the true value is the hex byte on the left.

Is there a file size limit?

You can open files of any practical size. To keep the page responsive, the on-screen view shows the first 256 KB and notes the truncation; the Download button writes the complete dump for the whole file, however large it is.

Is my file uploaded to a server?

No. The file is read locally with your browser's File API and rendered directly in the page. It is never transmitted anywhere, which makes the tool safe for confidential documents and proprietary binaries.

Related tools