What this hex viewer does
- Inputs: any file (drag and drop or choose), plain text in several encodings, hex bytes, an
xxdorhexdump -Cdump, binary digits, or Base64. - The dump: offset, hex bytes and ASCII side by side, with 8 to 64 bytes per row, byte grouping, hex or decimal offsets, and colour by byte type.
- Large files: only the rows on screen are drawn, so a file of a hundred megabytes scrolls as smoothly as a small one. Analysis and search run in short slices so the page stays responsive.
- Search: find text (UTF-8, UTF-16 or Latin-1, optionally ignoring case) or hex patterns with
??wildcards. Matches are highlighted and counted. - Analysis: exact size, first and last bytes, share of printable and non-printable bytes, UTF-8 validity, entropy, the most common bytes and a magic-number check against about 70 common file signatures.
- Value inspector: the selected bytes as integers (8 to 64 bit, little or big endian), floating point numbers, a Unix time and a UTF-8 character.
Editing safely
Turn on Edit mode to change bytes. You can overwrite by typing hex digits (or characters in the ASCII column), insert and delete bytes, and undo or redo as often as you like. Edits happen on a copy in your browser's memory. Your original file is never touched and cannot be overwritten from a web page. "Save as new file" downloads the result under a new name ending in -edited. Editing is limited to 64 MiB so that undo stays fast.
Privacy
Everything runs in your browser. Files are read locally and held in memory only while the page is open. Nothing is uploaded, logged, stored or placed in the URL. If you use "Send file to", the bytes are held for under a minute in your browser's storage so the next tool can pick them up, then deleted.
Limits
- Files up to 256 MiB are opened, because the whole file is held in memory. Phones and older computers may manage less.
- Copying is limited to 1 MiB at a time. Use the download buttons for more.
- Magic-number detection is a hint based on the first bytes, not proof of what a file really is.
- A hex dump pasted from another tool is read back exactly, but dumps that use
*to collapse repeated lines are only expanded when the following offset makes the length clear.