Home › Diff Checker — Free Online Tool | Wgajaa
± Diff Checker
Compare two texts side by side with line-level highlighting. Free, private and instant — nothing you enter is sent anywhere.
About this tool
Wgajaa's diff checker compares two texts line by line and highlights what changed. Paste two versions of a config file, a snippet of code, a contract clause or a paragraph of prose, and the differences appear instantly — additions, deletions and unchanged context.
The comparison uses a longest-common-subsequence algorithm on the line level, which is the same approach classic diff tools use. Results show both sides in sync: removed lines from the left text in red, added lines from the right text in green, and shared lines in between so you keep your bearings.
How this tool works
Everything runs locally in your browser — no data is sent to any server. Here is exactly how it works:
- Paste the original text on the left and the changed text on the right
- The diff renders automatically as you type
- Switch whitespace handling to ignore indentation-only changes
- Read the colored result — green lines are additions, red lines are removals
Frequently Asked Questions
With a longest-common-subsequence diff on lines — the same core algorithm behind classic command-line diff. It finds the smallest set of deletions and insertions that turns the left text into the right text.
Up to roughly two thousand lines per side, yes. Beyond that the comparison matrix gets too large for a browser tab, and the tool tells you so instead of hanging.
It compares lines with runs of whitespace collapsed and trimmed, so re-indentation or trailing-space cleanups no longer count as changes. Structural edits still show up clearly.
No — this checker works at line granularity, which keeps results readable for code and configs. Whole-line changes are usually what you want when reviewing edits.
No. The diff runs entirely in your browser. Nothing is transmitted, so comparing private or confidential documents is safe.