Text Compare (Diff)
Highlight differences between two texts.
Loading tool…
Processing happens on your device using your browser's CPU/GPU. Results are kept only in this tab's memory and are wiped when you click “Clear” or close the page.
About Text Compare (Diff)
Text Compare puts two versions of a text side by side and highlights exactly what was added and what was removed, with a running count of each. Compare by word, by line or by single character depending on how fine a difference you are chasing. Useful for contract drafts, code snippets and edited articles. Both texts stay in your browser and are never uploaded.
How to use Text Compare (Diff)
- Paste the original version into the left box.
- Paste the changed version into the right box; the comparison runs automatically.
- Switch Compare by between Words, Lines and Characters to change the detail level.
- Read the highlighted result below, where additions and deletions are marked separately.
What people use it for
- Checking what a client changed in the latest draft of an agreement
- Comparing two versions of a configuration file or code snippet
- Seeing what an editor altered in your submitted article
- Confirming two supposedly identical lists really do match
Good to know
Word mode is the best default for prose, line mode suits code and configuration files, and character mode catches a single changed digit in an amount or an account number. The counts show added and removed pieces at the level you selected. A badge tells you when the two texts are exactly identical, including whitespace.