Skip to content
ToolsNow
Guides All tools
Text

Diff checker — compare two texts line by line

Paste two versions and see exactly what changed — line by line, with additions and deletions marked. Useful for contract revisions, copy edits and configuration files.

Runs in your browser — your input is not uploaded to ToolsNow.

Original
0 chars0 words0 lines
Changed
0 chars0 words0 lines

How to use

  1. Paste the original. On the left, the version you are comparing against.
  2. Paste the changed version. On the right. The comparison runs immediately.
  3. Read the result. Green lines marked + were added, red lines marked − were removed. Line numbers for both versions run down the side.
  4. Reduce the noise. Ignore case or whitespace, or show only the lines that changed, when reformatting has muddied the comparison.

Questions

Does it compare word by word or line by line?

Line by line. That matches how developers and editors normally review changes, and it keeps long documents readable.

Is the diff the smallest possible?

Yes. It uses a longest-common-subsequence algorithm, which finds a provably minimal set of insertions and deletions rather than guessing with a heuristic.

Why does a reformatted paragraph show as entirely changed?

Because rewrapping changes every line. Switch on "Ignore whitespace" so lines that differ only in spacing are treated as equal.

Are my documents uploaded?

No. Both versions stay in your browser, making it safe for contracts and other confidential text.

Published by ToolsNow. How tools and sources are checked · Report a problem

Read more

Related tools