All tools / Text Diff Checker

Text Diff Checker

Paste two versions of a text to see exactly what was added, removed or changed, line by line, word by word or letter by letter. Side-by-side or inline view, and a copyable unified diff. Runs in your browser.

Compare by
View
Paste two texts above to see the differences.

How to compare two texts

Paste the older version on the left (Original text) and the newer version on the right (Changed text). The differences appear below: removed text is red, added text is green, and unchanged lines stay plain. Choose Word to see which words changed inside a sentence, Character to catch single-letter typos, or Line for a quick overview. On a phone the inline view is used by default because it fits a narrow screen better.

Example: compare Ang pulong ay sa Lunes, 9:00 AM. with Ang pulong ay sa Martes, 10:00 AM. In word mode, Lunes and 9 are marked as removed and Martes and 10 as added, and the summary shows 1 line added and 1 line removed (one changed line). In character mode only the changed letters and the digit are highlighted.

Tips

  • Check an edited essay or thesis chapter: paste your draft and your adviser's version to see every change they made.
  • Compare contract or policy versions: turn on Only changed lines to jump straight to the clauses that changed.
  • Review code or config changes: use line mode with Ignore whitespace to skip indentation-only changes, then copy the unified diff for a pull request or ticket.
  • Swap exchanges the two sides if you pasted them the wrong way round.

Frequently asked questions

Is my text uploaded anywhere?

No. The comparison runs entirely in your browser. Nothing you paste is sent to a server, so it is safe to compare contracts, essays, code and other private documents.

What is the difference between line, word and character mode?

All three line up the two texts line by line. Line mode only colours the lines that changed. Word mode also marks the exact words that were added or removed inside a changed line, which is best for essays and articles. Character mode marks single letters, which helps you spot typos, extra spaces or a changed digit in a number.

What do "ignore whitespace" and "ignore case" do?

Ignore whitespace treats lines as the same when they only differ in spaces or tabs, for example extra spaces between words or indentation. Ignore case treats "Manila" and "MANILA" as the same. Use them when you only care about real wording changes.

What is a unified diff or patch?

It is the standard text format that Git and the patch command use to describe changes: lines starting with - were removed, lines starting with + were added, and @@ headers give the line numbers. "Copy unified diff" copies one for your two texts, which you can paste into a code review, a ticket or an email, or apply with git apply. It always describes the exact text, even if the ignore options are on.

Can it handle long documents?

Yes. Texts of several thousand lines compare in about a second. For short texts the result updates as you type; for very long texts press Compare when you are ready, so typing stays smooth. Turn on "Only changed lines" to hide long unchanged sections.