Skip to content

Hex Viewer

Drop a file to see its raw bytes in the familiar offset | hex | ASCII layout, plus its detected type and size.

Processed locally in your browser

Options

What is Hex Viewer?

A hex dump shows the exact bytes of a file: each line starts with the byte offset, then sixteen bytes in hexadecimal (grouped 8+8 for readability), then the same bytes as ASCII characters where printable. It is the fastest way to check magic numbers, spot hidden text inside binary files, see line endings (0D 0A versus 0A) or a byte-order mark.

This viewer reads only the first part of the file (4 KB by default, up to 1 MB), so even very large files open instantly. The output has the same layout as hexdump -C, can use lowercase or uppercase digits, and can be copied or downloaded as a text file. The detected file type from the signature table is shown next to the size.

How does it work?

  1. Drop a file on the drop zone.
  2. Set how many bytes to show (16 to 1,048,576) and lowercase or uppercase hex.
  3. Read the dump: offsets on the left, hex in the middle, ASCII on the right.
  4. Copy the dump or download it as a .txt file.

Common use cases

  • Checking the first bytes of a file to confirm its format (for example 89 50 4E 47 for PNG).
  • Finding out whether a text file uses Windows (CRLF) or Unix (LF) line endings, or starts with a BOM.
  • Spotting readable strings such as paths or error messages hidden inside a binary.
  • Documenting a bug in a binary file format by pasting a small dump.

Examples

Drop a file to see its raw bytes in the familiar offset | hex | ASCII layout, plus its detected type and size.

Privacy

Hex Viewer runs entirely in your browser. The text or files you provide are processed on your device and are not uploaded, logged or stored on our servers.

Limitations

Only the first part of the file is shown (maximum 1,048,576 bytes) and the viewer is read-only: it does not search or edit. ASCII column shows printable ASCII only; other bytes appear as dots.

Frequently asked questions

How do I read a hex dump line?

The first column is the offset of the line’s first byte in hex, the middle columns are 16 bytes as two-digit hex values, and the right column shows the same bytes as text with dots for non-printable ones.

How can I tell CRLF from LF?

Look for 0D 0A (Windows CRLF) versus a lone 0A (Unix LF) at the end of lines in the hex column.

Can I search or edit the bytes?

No, this is a read-only viewer for inspection. It never modifies or uploads your file.

More tools in File Tools →