Line-based comparison
A changed line appears as one removal and one addition, making the exact before-and-after content visible.
Text Tools · Local processing
Compare two blocks of text and highlight added, removed, and unchanged lines privately.
Compare locally
The practical guide
The comparison uses a longest-common-subsequence diff and offers inline or side-by-side views.
A changed line appears as one removal and one addition, making the exact before-and-after content visible.
A safety limit prevents extremely large comparisons from exhausting browser memory.
Privacy by architecture
The selected files, inputs, settings, and outputs are processed in this page and are not uploaded to any server.
Questions, answered
No. Both inputs and the generated diff remain in this browser.
The tool reports the old line as removed and the new line as added.
Yes. The comparison preserves line content, although it does not provide language-specific syntax highlighting.