Text Diff
Text Diff Checker (Compare Two Texts)
Paste the original text on the left and the revised text on the right. Added lines are shown in green and deleted lines in red, and the changed characters inside a line are highlighted. Handy for checking contract drafts, website copy and settings files. Your text never leaves this page.
Differences
Enter text in both boxes to see the differences.
- Lines are compared one by one. If a line was moved, it appears as deleted in one place and added in another.
- Line endings (Windows / Mac) are treated as the same. Very long texts may take a moment to compare.
About this tool
Compare two texts and see added lines in green and removed lines in red. Within changed lines, the exact characters that differ are highlighted, so small edits are easy to spot. You can ignore differences in spaces or letter case and fold unchanged lines. Your text is compared in your browser and never sent to a server.
How to use
- Paste the original text into Original on the left and the new version into Revised on the right.
- The Differences section shows the number of added, removed and unchanged lines, with each change color-coded.
- Tick options to ignore spaces or letter case, or to fold unchanged lines.
- Use Swap left and right to reverse the comparison, or Clear to start over.
Useful for
- Finding what changed between two versions of a contract or terms
- Checking that corrections were applied when proofreading
- Listing wording changes on a website
- Comparing two versions of a configuration file or code
FAQ
What is a diff?
The differences between two texts or files. This tool shows which lines were added or removed and which characters changed within a line.
Can I compare Word or PDF files directly?
No. Copy the text from each file and paste it into the two boxes.
How are moved lines shown?
Lines are compared one by one, so a moved line appears as removed in its old place and added in its new place.
Is my text sent anywhere?
No. The comparison runs entirely in your browser.
Updates to this tool
All updatesReleased 17 new tools, including SSL, DNS and IP checks, JSON-LD, llms.txt and favicon generators, a tax calculator and a Japanese era converter
Other free tools
All 183 free tools- Character CounterCount characters, lines and words, and compare with limits for search results and social media.
- Japanese Proofreading CheckerCheck Japanese text for spelling variations, keigo errors, long sentences and common misuse.
- Full-width / Half-width ConverterConvert Japanese full-width and half-width letters, numbers, kana and spaces.
- List Cleaner (Dedupe and Sort)Remove duplicates and blank lines from a list and sort it.
- Bulk Find and ReplaceReplace text with several find-and-replace rules at once, with case, regex and whole-word options.
- Hiragana / Katakana ConverterConvert hiragana and katakana, or half-width and full-width kana, with voicing marks handled correctly.
- Furigana GeneratorAdd furigana to kanji automatically. Ruby, brackets, hiragana, katakana or romaji.
- Text to SpeechRead text aloud in Japanese, English and more, with adjustable speed and pitch and sentence highlighting.