Diff Checker
Compare two blocks of text and see the differences highlighted line by line.
Runs locally in your browser
Original
Modified
Enter text in both panels to compare.
How the Diff Checker works
This diff checker compares two blocks of text line by line using a longest common subsequence approach. Added lines are shown in green, removed lines in red, and unchanged lines in muted text.
Use it for release notes, small config files, copied logs, documentation snippets, prompts, and API examples. For very large source files or merge conflicts, a dedicated git diff tool will be more appropriate.
Does it compare characters inside a line?
No. The comparison is line-based, so it is optimized for readable text blocks rather than fine-grained character diffs.