Diff Checker

Compare two texts line by line and see exactly which lines were added or removed, with an option to ignore whitespace changes.

Runs on your device

Result

Results appear here after you select “Compare”.

What it does

Paste an original and a changed version of a config file, SQL query or paragraph. The checker computes the longest common subsequence and marks removed lines with − and added lines with +.

How to use it

  1. Paste the original text on the left.
  2. Paste the changed text on the right.
  3. Compare and read the marked lines.

Example

The example fills in realistic values and runs the tool. Select Try an example above to see it.

When it helps

  • Reviewing config changes before deploying.
  • Comparing two versions of a contract clause.
  • Spotting what changed in an exported query.

Questions

Does it compare words inside a line?

It compares whole lines, like git diff. A changed line appears as one removal and one addition.

How large can the texts be?

Up to roughly 5,000 lines each. Larger comparisons are refused to keep the page responsive.

More developer tools

See all 25

People also use

Browse all 200 tools