How to compare two texts privately
- Paste the original version on the left and the revised version on the right.
- Toggle "Side-by-Side" or "Unified" view, and check "Ignore Whitespace" or "Only Changes" if needed.
- Inspect inline word-level additions and deletions, or click "Copy Diff Patch" to export a unified diff.
Why use an offline diff tool?
Developers regularly compare .env files, production configs, SQL dumps and proprietary source code; lawyers and editors compare redlined NDAs and unpublished drafts. Pasting that text into a server-backed diff site risks logging sensitive secrets. This tool computes the Longest Common Subsequence (LCS) and word-level diff entirely inside your browser memory.
Frequently asked questions
Does it highlight word-level changes inside a modified line?
Yes. Paired modified lines are tokenized and compared at the word level so you can spot a single changed variable or typo immediately.
Can I ignore whitespace or capitalization differences?
Yes. Enable "Ignore Whitespace" or "Ignore Case" in the toolbar to filter out formatting noise.