TOOL · TEXT
Compare texts (diff)
Paste both versions side by side and instantly see what came in and what went out — added lines turn green, removed lines turn red, with a counter on top.
The comparison happens in your browser — no text is sent anywhere.
Processed in your browser — your files never leave your computer.
How it works
-
Paste both texts
The original text goes in the left field; the modified version in the right one. Up to 2,000 lines per side.
-
Click "Compare"
The comparison runs instantly, line by line, inside your browser — no text is sent anywhere.
-
Read the result
Added lines appear in green with "+", removed ones in red with "−", and the counter sums it up: "X added, Y removed". Identical texts get an explicit notice.
Frequently asked questions
Is the comparison by line or by word?
By line. The tool compares the text line by line and marks each whole line as added, removed or equal. If you changed one word inside a line, it shows up as one removed line (the old one) and one added line (the new one) — you can spot the difference by reading them together.
Is there a size limit?
Yes: 2,000 lines per side, so the comparison never freezes your browser. Bigger text? Split it into parts (by chapter, by section) and compare each one.
Are my texts uploaded to a server?
No. The whole comparison happens in your browser, on your device. Contracts, essays, code — nothing leaves your machine.
Does it work with source code?
It works well: the result uses a mono font and preserves spaces, so you can compare two versions of a code file, a config file or any structured text.
What does the "+X −Y" counter mean?
It is the diff summary: X lines that exist only in the modified text (added, in green) and Y lines that existed only in the original (removed, in red). Lines equal in both texts are not counted.
What if both texts are the same?
The tool tells you: "Both texts are identical, line by line." If you expected a difference, check for trailing spaces — a space is a character too.