About the Text Compare
This free text compare tool shows exactly what changed between two versions of a text. Paste the original and the new version, and every added, removed and changed line is highlighted side by side, down to the individual words that differ.
Use it to check edits to an essay or contract, review changes in a configuration file or code snippet, compare two lists, spot what a colleague changed in a document, or confirm that two texts are identical.
How to use it
- Paste the first version into “Original text” and the second into “Changed text”.
- The differences appear below straight away. Removed lines are red on the left, added lines green on the right, and changed words are highlighted inside each line.
- Choose “Words” or “Characters” to see the changes inline in one flowing text instead of line by line.
- Tick “Ignore upper/lower case” or “Ignore spacing” to hide changes that do not matter, and “Only show changes” to collapse long unchanged parts.
Features
Side-by-side view
Both versions next to each other with line numbers, like professional diff tools.
Word-level highlights
In a changed line, the exact words that differ are highlighted, so small edits are easy to spot.
Three comparison modes
Compare by lines, words or individual characters.
Ignore what does not matter
Optionally ignore differences in capital letters and spacing, and hide unchanged lines.
Fast with long documents
The comparison runs in the background, so the page stays responsive with thousands of lines.
Private by design
Both texts stay on your device. Nothing is uploaded, which matters for contracts and code.
Lines, words or characters: which mode to use
- Lines (default) suits code, lists, configuration files and documents with many lines. It shows both versions side by side and highlights the changed words inside each changed line.
- Words suits prose such as essays, articles and emails, where a paragraph is one long line. Changes are shown inline: removed words struck through in red, added words in green.
- Characters finds the smallest changes, such as a typo, a changed digit in a number or a missing punctuation mark.
Frequently asked questions
How does the text compare tool find differences?
It uses a well-known diff algorithm (the same approach as version control tools such as Git) to find the smallest set of additions and removals that turns the original text into the changed one.
Can I compare two Word documents or PDFs?
Yes, by copying the text from each document and pasting it into the two boxes. Formatting such as bold or fonts is not compared, only the text itself.
What does “Ignore spacing” do?
In line mode it treats lines as equal when they differ only in spaces or tabs, for example extra spaces between words or at the end of a line. Word mode ignores spacing automatically.
Why is a whole paragraph marked as changed?
In line mode, a paragraph is one line, so any edit marks the whole line. The changed words are still highlighted inside it. For prose, the Words mode usually gives a clearer picture.
Is there a size limit?
There is no fixed limit. Documents with thousands of lines compare in a moment. If two very long texts are almost completely different, the tool stops after a few seconds and asks you to compare smaller sections.
Are my texts uploaded or stored?
No. The comparison runs entirely in your browser. Neither text is sent to a server, and both disappear when you close the page.