Text Diff Checker





What is a text diff checker?

A diff (difference) checker compares two blocks of text line by line and shows you exactly what changed — which lines were added, which were removed, and which stayed the same. It’s invaluable for comparing versions of code, config files, contracts or any document. This tool highlights additions in green and removals in red, and runs entirely in your browser.

Frequently Asked Questions

How does it decide what changed?

It uses a longest-common-subsequence algorithm (the same idea behind Git’s diff) to find the smallest set of line additions and deletions that turn the original into the changed version.

Does it compare word by word?

It compares line by line — a changed line shows as one removed line (red) plus one added line (green), so you can see both versions.

Is my text uploaded anywhere?

No. The comparison runs entirely in your browser with JavaScript — nothing is sent to a server, logged or stored.

What can I compare?

Anything text-based: source code, JSON or config files, SQL, contracts, articles, email drafts — any two versions you want to see the differences between.