Skip to content
FreeToUse

Text Diff Checker — Compare Text Free

Compare two texts and highlight every addition and deletion by line, word or character. Free online diff checker, fully private.

Runs in your browser. Nothing you enter is sent anywhere.

Compare by

About Text Diff Checker

Find out exactly what changed between two versions of a document, contract, essay or code snippet. Additions are highlighted in green and deletions in red, so even a single changed comma is easy to spot.

How to use Text Diff Checker

  1. Paste the original text into the left box.
  2. Paste the changed text into the right box.
  3. Choose whether to compare by line, word or character.
  4. Click "Compare" to see removed lines in red on the left and added lines in green on the right. Edit either text below the result and it updates automatically.

Tips

  • Use line mode to review code or configuration changes, the same way version-control tools show them.
  • Word mode is ideal for checking edits made to a contract, article or essay by someone else.
  • Turn on "Ignore whitespace" when text has been reformatted, so you only see the real changes.
  • The summary above the comparison counts the lines added and removed, so you can gauge how much changed.

How to read the comparison

The result is laid out like a GitHub code review. Your original text is on the left with removed lines in red, and the changed text is on the right with added lines in green. Matching lines stay level with each other, line numbers show where you are, and a darker shade marks the exact words or characters that differ. On a phone the same result appears in a single column.

Compare documents, code and contracts

Paste two versions of an article, contract, configuration file, translation or email to find what changed between them. Both texts stay editable under the result, and the comparison refreshes as you type, so you can fix differences one by one until the texts match. Ignore case or whitespace to hide changes that come only from reformatting. To compare Word or PDF files, copy their text and paste it in.