Skip to main content

Free tool by GoodAI Life

Text Diff

Paste an original and a changed version to see exactly which lines were added, removed or left unchanged. Your text never leaves your browser.

Differences

Enter text on both sides to compare.

How it works

The tool compares the two texts line by line using a longest common subsequence algorithm, the same idea behind most diff tools. Removed lines are shown in red and added lines in green.

Useful options

  • Ignore whitespace to skip differences in indentation and spacing
  • Ignore case to treat upper and lower case letters as equal
  • Swap the two sides to see the reverse comparison

Frequently asked questions

Does it compare words or characters?+

It compares whole lines. A line that changed is shown as one removed line and one added line.

Is there a size limit?+

Very large inputs (tens of thousands of changed lines) are rejected to keep your browser responsive. Identical beginnings and endings are skipped automatically.

Is my text uploaded?+

No. The comparison runs locally in your browser.

Related tools

Looking for AI tools with demo videos?

Browse GoodAI Life