About this tool
Paste two texts and see the line-by-line differences, with additions, removals, and changes highlighted. Useful for comparing versions of a document, detecting changes between drafts, identifying modifications in a config file, or simply confirming that two texts that look the same actually are.
How to use
- Paste the original text in the left box.
- Paste the modified text in the right box.
- Differences appear highlighted: removed (red), added (green), unchanged (gray).
- Visually identify where the changes are.
Frequently asked questions
- Is the comparison done by lines or characters?
- By lines. When a line changes, it's shown as one removed line and one added. There's no within-line (word or character) comparison, which makes reading clearer but can be less precise for small changes within long lines.
- Do whitespaces count as differences?
- Yes, any character-level difference counts. Extra or missing trailing spaces, mixed tabs and spaces, or changes from Unix to Windows line endings (CRLF vs LF) can appear as differences even when the visible content is the same.
- Can I compare long texts?
- Yes, but performance drops with very large texts (many thousands of lines) or very numerous differences. For comparing huge files, consider dedicated tools using algorithms optimised for that purpose.