Text compare
Paste an original and a changed version and see exactly which lines and words differ.
About Text Compare (Diff Checker)
A diff compares two pieces of text and reports what was added, removed or changed. Paste the original on the left and the new version on the right. The page lines them up, marks lines that exist in only one version, and for lines that were edited it highlights the words that changed. It finds the longest set of lines the two texts have in common and treats the rest as differences, the same idea as the tools used for source code. Nothing leaves your browser.
- Seeing what an editor changed in your draft.
- Checking two copies of a contract or a policy.
- Comparing two config files or two lists.
- Confirming that a find and replace did only what you meant.
How to use Text Compare (Diff Checker)
Step 1
Paste the original text on the left and the new text on the right.
Step 2
Set options such as ignore case or ignore spaces.
Step 3
Read the summary and the highlighted rows.
Good to know
- The comparison works line by line first. A paragraph that was re-wrapped shows as changed, so remove or normalise line breaks before you compare prose.
- Ignore spaces treats runs of spaces and tabs as one and ignores them at the ends of lines.
- Each side is limited to about 4,000 lines. Above that, split the text and compare it in parts.
Common questions
What do the colours mean?
Red marks text that is only in the left version, green marks text that is only in the right one, and a changed line shows both with the differing words highlighted.
Can it compare files?
It compares pasted text. Open the file, copy its contents and paste them in.
Is the text sent to a server?
No. The comparison runs in your browser and your text stays on your device.