Text Compare
About this tool
Compare an original and modified version of any text with granular diff modes: line, word, or character level. Toggle ignore options for case, whitespace, blank lines, and punctuation, then review changes in side-by-side or unified layout with highlighted additions and deletions.
How to use
- Line, word, and character diff granularity
- Side-by-side and unified view modes
- Ignore case, whitespace, blank lines, punctuation
- Import both sides from local files
- Export diff summary as text
- Paste A and B: Enter original text in panel A and modified text in panel B.
- Set diff options: Choose granularity, view mode, and ignore checkboxes.
- Review highlights: Added, removed, and changed segments are color-coded.
Examples
- Review contract or policy revisions before signing
- Compare config file versions during deployments
- Proofread translated copy against source text
- Audit changelog edits in README or release notes
Limitations
- Very large texts trigger a performance warning above the threshold
- Diff is computed in-browser; extremely long inputs may lag
- The text entered in the tool is processed directly in your browser and is not sent to a server.
FAQ
- When should I use word vs line diff?
- Use line diff for code or logs; word diff for prose edits; character diff for typos in short strings.
- What does ignore whitespace do?
- Leading, trailing, and repeated internal spaces are normalized before comparing.
- Can I compare files?
- Yes. Use the import buttons on each panel to load local text files into A and B.
- Side-by-side vs unified?
- Side-by-side shows two columns; unified merges changes into a single stream like git diff.