What is Text Diff?
Paste the original text, a line containing ---, then the changed text. Lines prefixed with - were removed, + were added, and unchanged lines are kept for context.
How to use Text Diff
- Paste your input into the editor above, or select Sample to load an example.
- Select Compare text. If the input cannot be processed, a message explains what to fix.
- Use Copy or Download to take the result with you, and Clear to start again.
Example
Input
port=80
host=api.internal
---
port=443
host=api.internalOutput
- port=80
+ port=443
host=api.internalPractical use cases
- Review copy changes
- Compare configuration snippets
- Spot edits in logs
Common problems
- Leaving out the separator
- Expecting semantic comparison
- Ignoring newline format differences
Frequently asked questions
Is Text Diff Checker free to use?
Yes. Text Diff Checker is free and does not require an account.
Does my input leave the browser?
No. This tool performs its processing locally in your browser and does not need to upload your input.
