AXS TXT

Text Diff Checker

Compare two blocks of text and see the lines that were added or removed.

Spotting what changed between two versions of text by eye is slow and unreliable. Text Diff Checker compares two blocks line by line and highlights exactly what was added and removed, so you can see the differences at a glance.

How to use text diff checker

  1. 1. Paste the original text and the changed text.
  2. 2. The lines added or removed are highlighted.
  3. 3. Review the differences.

When to use Text Diff Checker

Compare two drafts

See what changed between versions of a document or message.

Review edits

Check exactly which lines someone added or deleted.

Spot config changes

Compare two config or data snippets to find the difference.

How the comparison works

The two texts are compared line by line and the longest run of lines they have in common is kept; everything else is marked as removed (red, −) or added (green, +), in the order it appears. A changed line therefore shows up as one removed line followed by one added line. A count at the top tells you how many lines were added and removed, or that the texts are identical.

Invisible differences

A line that looks the same but is marked as changed usually differs in whitespace: a trailing space, a tab instead of spaces, or a non-breaking space pasted from a web page or Word. Run both texts through Text Cleaner first if you only care about the words.

Frequently asked questions

Does it compare line by line?

Yes — it highlights the lines that differ between the two blocks, showing additions and removals.

Can it handle large texts?

Yes, up to about 2,000 lines on each side, which covers most documents and configuration files. For longer texts, compare them in sections.

Is my text private?

Yes — the comparison runs entirely in your browser.

Your text is processed entirely in your browser and never uploaded — read more on the security page. Looking for more? Browse our full set of text tools or read guides on the blog.