Compare two texts
Find what changed between two versions of a contract, an article, a list or source code. Paste both texts: added lines appear in green, deleted lines in red, and in modified lines the exact words that changed are highlighted. Unchanged passages are folded so you can focus on the differences. The comparison runs in your browser: your texts are never sent.
Your data never leaves your device
Differences
Paste two texts to compare them.
How to use Text Compare
- 1
Paste the original text on the left and the modified text on the right.
- 2
Read the differences: green for additions, red for deletions, words highlighted in modified lines.
- 3
Ignore case or spaces if needed, and switch between the unified and side by side views.
Frequently asked questions
Are my texts sent to a server?
No. The comparison is done by your browser, on your device. You can safely compare contracts, confidential documents or private source code: nothing is sent or stored.
How are the differences shown?
Line by line: green lines were added, red lines were deleted. When a line was modified, both versions are shown and only the words that changed are highlighted. Long passages without changes are folded; click them to show them.
What do “ignore case” and “ignore spaces” do?
“Ignore case” treats “Hello” and “hello” as the same. “Ignore spaces” ignores spaces at the start and end of lines, useful when only the indentation changed.
Can I compare code?
Yes. Line numbers of both versions are shown, and the side by side view lines up the two versions like a code review tool.
Is there a size limit?
Texts of several thousand lines are compared instantly. Very long texts that are completely different may take too long; the tool then tells you, instead of freezing the page.
Related tools
-
Word Counter
Count words, characters, sentences and paragraphs as you type, with reading time. -
JSON Formatter
Format, minify and validate JSON with precise error messages (line and column). -
Base64 Encoder and Decoder
Encode text or files to Base64 and decode Base64 back, data URLs and Base64url included. -
Password Generator
Create strong random passwords: length, character types, look-alike characters.