Diff Checker

Compare two blocks of text and see exactly which lines were added or removed, highlighted in green and red. Runs in your browser with no upload.

Loading tool...

Compare text and spot the differences

This diff checker compares two blocks of text and highlights exactly what changed. Paste an original version on the left and a changed version on the right, then hit Compare. Added lines are shown in green, removed lines in red, and unchanged lines stay neutral, so you can see edits at a glance. The comparison runs entirely in your browser.

How the comparison works

The tool finds the longest common sequence of lines between the two texts, then marks everything else as an addition or removal. That is the same approach code review tools use, so the result reads like a familiar diff: a clear, line-by-line account of what was inserted and what was taken out.

When to use it

  • Check what changed between two versions of an article, contract, or config file.
  • Compare code snippets or log output without a full version-control setup.
  • Proofread edits by seeing exactly which lines a reviewer changed.

Frequently asked questions

How do I compare two texts?

Paste the original on the left and the changed text on the right, then click Compare. Differences are highlighted line by line.

What do the colors mean?

Green lines were added in the changed text, red lines were removed from the original, and unmarked lines are the same in both.

Is my text uploaded to a server?

No. The comparison happens entirely in your browser, so your text never leaves your device.

Can it compare code?

Yes. It compares line by line, which works well for code, config files, logs, and prose alike.