Text Diff Checker

Paste two versions of text or code and see exactly what changed — line by line. Everything runs in your browser; nothing is uploaded.

How it works

This compares the two inputs line by line using a longest-common-subsequence diff (the same idea behind git diff): lines only in the original are marked removed (), lines only in the changed version are added (+), and matching lines are shown as context. It runs entirely locally, so it's safe for private code or documents.

Working with JSON?

For comparing JSON by structure (keys and values) rather than by line, use the JSON diff tool, or explore a file in the JSON viewer.