Text diff
Compare two texts and highlight every addition and removal.
Analysis & comparison100% client-side
Original
Modified
About this tool
Compares two blocks of text and marks what was added, removed and left alone. You can diff line by line, which suits code and configuration, or word by word, which reads better for prose and copy review.
Options for ignoring case and trailing whitespace keep the noise down when the real change is buried under reformatting. A summary counts the changed lines so you can size the difference at a glance.
How to use it
- 1Paste the original text on the left and the new version on the right.
- 2Pick line or word granularity.
- 3Read the highlighted result and the change summary.
Privacy
This tool runs entirely in your browser. Nothing you type or paste is sent to a server, and your local history is stored only on this device.
Related tools
- List analyzerCount totals, uniques and duplicates in a pasted list.
- Character & word counterCount characters, words, sentences and reading time as you type.
- JSON formatter & validatorPretty-print, minify and validate JSON with precise error positions.
- XML formatter & validatorIndent, minify and well-formedness-check XML documents.
