Text diff checker

Compare two texts and highlight what was added and removed.

  • Development
  • 100% free
  • No sign-up
  • Runs in your browser
Text diff checker

What is the text diff checker?

The text diff checker compares an original and a changed text and highlights the differences: added lines in green, removed lines in red, with line numbers on both sides. Switch to word mode to see small edits inside a sentence.

Use it to review content changes, compare two versions of code, configuration or contracts, or find what changed between two copies of a page.

How to use the text diff checker

  1. 1Paste the original text on the left and the changed text on the right.
  2. 2Choose line or word mode, and the ignore options.
  3. 3Press Compare and review the highlighted changes.

Features

Line and word modes

Spot changed lines or single changed words.

Ignore options

Ignore case and extra spaces.

Context

Long unchanged parts are folded around the changes.

Private

Both texts stay in your browser.

Frequently asked questions

How does the diff work?

It finds the longest common sequence of lines or words; everything else is shown as added or removed.

Can I compare code?

Yes, line mode works well for code and configuration files.

Is there a size limit?

Very long, very different texts may be too big to compare at once; split them into parts.

Are my texts saved?

No, nothing is uploaded or stored.