Skip to content

Hex Viewer

Shows any file as an offset/hex/ASCII dump, identifies the magic bytes and highlights a search hit.

A hex dump in the browser: offsets, bytes and printable ASCII side by side, with a search that takes text or hex. It also identifies the file from its first bytes and reports the Shannon entropy, which between them usually answer "what is this thing".

🔒 Runs entirely in your browserhexbinaryinspectdebug

Drop any file to look inside it

Read in this tab. Nothing is uploaded, and a 2 GB file is read the same way as a 2 kB one.

Or type something

Encoded as UTF-8. That is why one Korean syllable takes three bytes and an emoji takes four.

Source

typed text

Size

47 byte

Bytes per row
No magic bytes this tool recognises. That is normal for plain text, source code, CSV and JSON — none of them have a signature.

Find

As

Hex dump

Offset, hexadecimal bytes and printable ASCII.
0000000044726f7020612066696c652c206f7220Drop a file, or
000000107479706520686572652e0aec9588eb85type here.......
0000002095ed9598ec84b8ec9a9420f09f918b.......... ....

Entropy

4.67 bits/byte

Middling. Mixed binary structure, or text with a lot of variety.

How to use it

  1. Drop the file, or type

    Typed text is encoded as UTF-8, which is the quickest way to see why one Korean syllable is three bytes and an emoji is four.

  2. Read the identification line

    It comes from the magic bytes, not the file name — a `.jpg` that says PNG here is a renamed file. Plain text, CSV and JSON have no signature at all, and the page says so rather than guessing.

  3. Search for the bytes you expect

    Text or hex; every hit is highlighted in both columns and listed as a jump button. Useful for finding an embedded string, a header at an offset, or where a truncated file stops.

  4. Glance at the entropy

    Above about 7.9 bits per byte the content is effectively random — compressed, encrypted or already packed. Low entropy means text or heavy repetition. It is a one-number answer to "is this compressed already".

Common questions

Can it open a 2 GB file?

It reads one screenful at a time from the file rather than loading the whole thing, so a large file opens as quickly as a small one. Searching still has to scan, so that part scales with size.

Can I edit the bytes?

No — this is a viewer. Editing means writing a file back, and a hex editor that can silently corrupt something is a different kind of tool with a different set of safeguards.

Why is the ASCII column full of dots?

Because a dot stands for any byte outside printable ASCII, which is most of a binary file — and all of any UTF-8 text above U+007F. Korean text shows as dots in that column while being perfectly readable as UTF-8; the hex is where the truth is.

Feed it from

Next

These accept what this tool produces, so the result can go straight in.