Skip to content
DoItJag

Text Diff Checker

Paste two versions of a text to see exactly what changed. Added text is highlighted in green and removed text in red.

About Text Diff Checker

Text Diff Checker puts two versions of a text side by side and shows exactly what changed between them. Removed text is struck through in red and added text is highlighted in green, with a count of how many lines, words or characters were added and removed.

It helps anyone who receives an edited document without tracked changes, from editors and translators to developers comparing config files.

When to use it

  • A supplier sends back “the same” terms and you want to see what they quietly changed.
  • You have two versions of a CV or cover letter and cannot remember which edits you made.
  • Two copies of a configuration file behave differently and you need to spot the line that differs.

Worked example

Original text, three lines: Delivery within 14 days. / Payment due on receipt. / Prices include VAT.

Changed text, four lines: Delivery within 10 working days. / Payment due on receipt. / Prices exclude VAT. / Returns accepted for 30 days.

Compared by Lines, the summary reads “3 lines added, 2 lines removed”. Switch to Words and it becomes “8 words added, 2 words removed”, pointing at 14 → 10, the new word working, include → exclude and the five words of the new line. Characters mode narrows it further, to 4 → 0 and in → ex.

Good to know

  • The combined length of both texts can be up to 1,000,000 characters.
  • Changing the mode or an option re-runs the comparison straight away, but edits to the text only count after you select Compare again.
  • Ignore whitespace is offered in Lines mode only. It treats runs of spaces and tabs as one space and ignores spaces at the start and end of each line.
  • When lines match only because case or spacing was ignored, the changed text’s version is the one shown.
  • For structured data, tidy both sides first with the JSON Formatter so the differences line up.

How to use Text Diff Checker

  1. Paste the original text on the left and the changed text on the right.
  2. Choose to compare by lines, words or characters.
  3. Select Compare.

Privacy: how it works

Everything happens in your browser. Your text is not sent to any server.

Frequently asked questions

Which comparison mode should I use?

Lines suit code and lists, words suit prose, and characters find small typos.

Is there a size limit?

Up to one million characters in total, which covers most documents.