Diff Viewer

Compare two texts or HEX byte sequences. Line-by-line diff for text, byte-by-byte comparison for HEX — with color-coded additions, deletions, and changes.

How Text Diff Works

The text comparison uses the Myers diff algorithm to find the minimal set of line-level changes between two inputs. Added lines are shown in green, removed lines in red, and identical lines remain neutral. This is the same algorithm used by Git internally.

HEX Mode — Byte-Level Comparison

Switch to HEX mode to compare binary data byte by byte. Paste hex strings like "48 65 6C 6C 6F" or "0x48,0x65,0x6C". The output is a classic hex-dump view with offset, hex bytes, and ASCII columns. Changed bytes are highlighted in orange for quick identification.

Related Tools