Shipping an AI app or agent? Security review in 1 working day: $149 / ₹13,900. Request a review →
AI Review Ready
Home / Free tools / Diff checker
Free tool · runs in your browser

Diff checker compare two texts

Paste the old and the new version. See every added and removed line, with line numbers. Nothing leaves your browser.

How the comparison works

The texts are compared line by line with the Myers diff algorithm, the same approach git diff uses by default. It finds the smallest set of added and removed lines that turns the old text into the new one. A changed line shows as one removed line followed by one added line.

Tips

  • Ignore whitespace hides changes that only touch spaces, tabs or indentation, which is useful for re-indented code.
  • Comparing JSON? Format both sides first with the JSON formatter (sort keys on) so key order doesn't show as a change.
  • Comparing configs that contain secrets is safe here: the text never leaves your browser. Still rotate any secret you shared somewhere you don't control.

Sources