Text & language
Text Diff
Every difference between two texts, colour-highlighted — by line or by word.
Two versions of a contract, a document edited by a colleague, two configuration exports that should be identical: spotting differences by eye is slow and unreliable. Paste the original text on one side, the modified version on the other, and the changes light up immediately — additions in green, deletions in red. Pick line-by-line granularity for code and configuration, or word-by-word for prose, and switch between side-by-side and merged views as you prefer. The comparison runs entirely in your browser, so confidential documents stay confidential. Free, no sign-up, no size games — just paste, compare, and see exactly what changed between the two versions.
How does it work?
- Paste the original text into the first area.
- Paste the modified version into the second.
- Choose your view: side by side or merged, line or word.
- Read the highlighted differences: green for additions, red for deletions.
Frequently asked questions
Line diff or word diff — which should I use?
Line diff for code, configuration and any structured content: the line is the natural unit of change. Word diff for prose — contracts, articles, emails — where a reworked sentence would otherwise show up as a whole line deleted and rewritten, hiding what actually changed.
Do spaces and line breaks count as differences?
Yes: a trailing space, a tab replaced by spaces or a moved line break are real differences, often invisible to the eye. That is one of the main uses of a diff — revealing the gaps that make a script or test fail when “the files look identical”.
Can I compare code with this tool?
Yes, for a quick check: two snippets, a before/after of a function, a config file. To track the history of a whole project, a version control system like Git remains the right tool — this comparer complements it, it does not replace it.
Are my texts sent anywhere?
No: the comparison is computed locally, in your browser. You can paste contracts, customer data or proprietary code without any content ever passing through a server.