Text Diff
Compare two texts and highlight differences
π 100% client-side β your data never leaves this pageOriginal
Modified
Diff Result
Diff will appear once you fill both panels
About this tool
Compare two blocks of text and instantly see what changed. Added lines are highlighted in green, removed lines in red. Perfect for comparing code snippets, config files, or any text where you need to spot changes quickly.
Frequently Asked Questions
What does this tool compare?
It performs a line-by-line comparison of two text blocks, highlighting added lines, removed lines, and unchanged lines.
Is my text sent to any server?
No. The comparison runs entirely in your browser using JavaScript. Nothing is uploaded.
Can I use this to compare code?
Yes. Paste any code, config file, or plain text into both panels and the differences will be highlighted immediately.