Compare two texts, line diff

Side-by-side inputs, green/red line diff.

No uploads. No accounts. Runs in your browser.

Loading tool...

About this tool

Paste the original on the left and the changed version on the right; the diff below shows added lines in green and removed lines in red, computed with a proper longest-common-subsequence algorithm.

Use it for config drift, reviewing edits, comparing API responses or checking what a colleague changed in a snippet, without pasting your text into someone else's server. The comparison runs locally.

How it works

  1. Paste your input, or drop a text file onto the box.
  2. The output updates live as you type.
  3. Copy it to the clipboard, or download it as a file.

Related tools