Text Diff
Find the differences between two versions of text or code, line by line or word by word, with added and removed counts. Ideal for comparing configs and snippets you can't paste into online services.
Runs locally · nothing uploaded
How to use the Text Diff
- 1
Paste the original text on the left and the changed text on the right.
- 2
Choose Lines or Words.
- 3
Review additions in green and removals in red, with counts at the top.
What happens to your data
Both texts are compared in your browser and never leave your device.
Frequently asked questions
Can I compare private code or configs?
Yes. The comparison runs in your browser, so nothing you paste is uploaded.
Which algorithm is used?
The Myers diff algorithm, the same approach used by Git, which finds a minimal set of changes.

