EASY ONLINE TOOLS
Text diff: compare lines and characters
Compare text or code locally, highlight additions and deletions, normalize line endings, ignore trailing whitespace and download a complete diff report.
How to use
- Put the original text on the left and the updated text on the right.
- Choose line or character comparison and the relevant ignore options.
- Run the comparison, review changes and download the complete report.
A verifiable example
Original / Updated
same old value
same new value
Frequently asked questions
Do whitespace and line endings matter?
By default the original text is compared. Options can ignore trailing whitespace or normalize line endings. Review these settings when comparing code.
Are long results truncated?
Long previews are capped to keep the interface responsive and show a notice. The downloadable report uses the complete diff, not the truncated preview.
Is my text uploaded?
The comparison runs locally in a worker. Tool input is excluded from anonymous metrics and feedback; submitting feedback is a separate action.