Text Diff
Compare two texts line by line. Additions and removals stay in this tab.
Added 2026-10-24
What it does
Text Diff compares two texts line by line in a worker. Paste the original on the left and the newer text on the right. Changed lines are shown with a little surrounding context. A changed word marks the whole line. Characters inside the line are not highlighted. Ending a file with a newline is not listed as an extra blank line. Copy writes a unified diff. Very large inputs are refused instead of freezing the page. The texts are not uploaded. This is not a JSON path comparison: reordered keys inside an object show up only when those lines of text differ. Use JSON Diff when the structure matters more than the line breaks.
How to use it
- Paste the original on the left and the new text on the right.
- Changed lines are listed with a little surrounding context. A final newline by itself is not a change.
- Copy produces a unified diff. Very large files are refused instead of freezing the page.
Common mistakes
- This compares lines, not characters. A changed word marks the whole line. It does not highlight the characters inside the line.
- A final newline is ignored. Ending a file with a newline does not show up as an extra blank line.
Both texts stay in this tab. They are not uploaded.