Text Diff
Runs in your browserCompare SQL, config files, or logs to see line and inline changes.
| Original text | Updated text |
|---|
How to use
Steps
- Paste the old content under Original text and the new content under Updated text. Select Ignore trailing spaces and tabs to disregard whitespace at the end of lines.
- Select Compare text, then inspect the counts for changed, added, and removed lines, the line numbers, and the highlighted text.
- Use Previous change or Next change to cycle through differences. Leave either side blank to review a complete addition or deletion.
Example
On the left, enter status=0. On the right, enter status=1. The result shows one changed line and highlights the numbers on each side.
Tips
- The tool normalizes line endings. A missing final newline still counts as a difference. The whitespace option skips spaces and tabs only at the ends of lines.
- Each side supports up to 200,000 characters and 4,000 lines. Very long changed lines are highlighted in full. Split larger inputs into sections.