About this tool
Paste two versions of a text and see exactly what changed. Lines that were added, removed or modified are highlighted, and within a changed line the exact words (or characters) that differ are marked, so a single changed comma doesn’t hide in a long paragraph. Useful for contracts, articles, configs, translations, emails and any text where you need to review edits.
How to compare text
- Paste the original on the left and the new version on the right. The comparison runs as you type.
- The summary shows how many lines changed, were added and were removed.
- Side by side puts the versions next to each other; Unified shows one column with
−and+lines, likegit diff. - Unchanged stretches are collapsed to keep the focus on the edits. Turn on Show unchanged lines to see everything.
Options
- Highlight words / characters / lines only: word-level highlighting is best for prose; character-level for codes, IDs and typos.
- Ignore case: “Hello” and “hello” count as the same.
- Ignore whitespace: differences in spaces, tabs and indentation are ignored, which helps with reformatted text and code.
The comparison uses the Myers diff algorithm, the same approach as git diff, to find the smallest set of changes. Both texts stay in your browser. For JSON, use the JSON diff checker, which ignores key order and compares the data itself.
FAQ
How do I compare two texts?
Paste the original text on the left and the changed text on the right. Differences are highlighted instantly, line by line and word by word.
Can I ignore differences in spaces or capitalization?
Yes. Turn on Ignore whitespace and Ignore case.
What is the difference between side-by-side and unified view?
Side by side shows the two versions in two columns. Unified shows one column with removed lines marked − and added lines marked +, like git diff.
Is there a size limit?
Large texts work, but very large texts that are almost completely different may be too slow to compare line by line; you will see a message if so.
Is my text uploaded?
No. The comparison runs in your browser.