Hex Viewer

View any file’s bytes in hexadecimal and as text, page by page. Jump to an offset and search for text or hex. Works on large files.

Runs in your browserNo sign-upWorks offline
↑Drop files here

or

Any file type · Files stay on your device

FileSizeStatus
report-final.pdf1.4 MBReady
photos-june.zip38.2 MBReady
notes.txt4 KBReady
Sample files shown

What the Hex Viewer does

The Hex Viewer shows the raw bytes of any file: each row has the offset, sixteen bytes in hexadecimal and the same bytes as text. Move through the file page by page, jump to an offset such as 0x1A0, and search for text or a sequence of hex bytes. It is useful for checking file headers, debugging and learning how file formats work.

How to use it

  1. Drop any file onto the page.
  2. Read the first page of bytes, with the detected file type shown at the top.
  3. Use Previous and Next, or type an offset and press Enter.
  4. Type text or hex bytes such as 50 4B and press Find next.

Example

A text file containing “hello” shows one row: offset 00000000, the bytes 68 65 6c 6c 6f, and the text “hello”. A PNG image starts with 89 50 4e 47 0d 0a 1a 0a, shown as ·PNG····, the signature every PNG file begins with.

Reading the view

The offset on the left counts bytes from the start of the file, in hexadecimal: 00000010 is byte 16. Each pair of hex digits is one byte, from 00 to ff. On the right, bytes that are printable letters, digits and symbols are shown as text, and the rest as a dot.

Only one page, 1,024 bytes, is read at a time, so even very large files open instantly. Search looks through the first 256 MB, starting after the current page.

Questions people ask

Can I edit the bytes?

Not in this tool. It is a viewer, so it can never damage a file.

How do I search for a byte sequence?

Type the bytes in hex, with or without spaces, such as 50 4B 03 04, which is the start of a ZIP file.

Is my file uploaded?

No. It is read on your device, a page at a time.

Related tools