Original
Modified
Statistics
Diff Result
✓100% local ✓No server ✓No signup ✓No tracking

Frequently Asked Questions

How does the diff algorithm work?

It uses a Longest Common Subsequence (LCS) algorithm to find the optimal alignment between two texts, then highlights additions (green), deletions (red), and unchanged lines.

What is word-level diff?

Word-level diff shows exactly which words changed within a modified line, rather than highlighting the entire line. This makes it easier to spot small changes.

What statistics are shown?

Total lines, lines added, removed, changed, and unchanged between the two texts.

Is my data safe?

Yes. All comparison happens in your browser. No text is ever sent to any server.

Can I compare code?

Yes. The tool works with any text — code, prose, config files, CSV data. Monospace font ensures accurate alignment.