Text diff
Compare two texts online for free. See added, removed, and unchanged lines. The comparison runs in your browser.
Differences
Your input stays in this browser.
How to compare two texts
Paste the earlier version into Original text and the later version into Updated text. Select Compare text to see the differences below the editors. If you edit either version, select it again to refresh the comparison. Use Copy diff to paste the result into a message, issue, or review comment.
How to read the result
A line starting with - appeared in the original. A line starting with + appears in the updated version. Unmarked lines stayed the same and give you context around each change. A one-word edit appears as a removed line followed by an added line, so you can read the full sentence both ways.
Example comparison
In the sample below, the meeting place stays the same, while the folder color and time change. Select Try example above to load both versions into the editors and see the marked lines.
Original text
Meet at the station.
Bring the blue folder.
See you at 10.Updated text
Meet at the station.
Bring the green folder.
See you at 11.When a text diff helps
Compare two drafts of an email to find a rewritten sentence, check which lines changed in a configuration snippet, or see what a teammate added to a set of notes. For long documents, compare the relevant section first. If the tool reaches its comparison limit, split the text into smaller sections and compare them one at a time.
Frequently asked questions
Does this compare words or whole lines?
It compares whole lines. Capitalization and spacing can change a line, so a small edit may show both the old and new line. Keep matching line breaks in both versions if you want to focus on changes within the text.
Is my text uploaded when I compare it?
The comparison runs in your browser. If you choose Send with MyClip, the result opens in a draft. The result is shared only when you publish that draft.
Can I compare text from Word or a PDF?
Yes. Copy the passages into the two text fields. The tool compares the pasted plain text. It checks line breaks and spacing, while formatting such as fonts, colors, and tracked changes is outside the comparison.