Local-only · nothing leaves your browser
How do I compare two text blocks side by side?
Paste two texts to see a character-level diff with additions highlighted in green and deletions in red. Great for comparing code snippets, config files, or any text. Runs entirely in your browser.
Paste both texts and click Compare...
⚠ JavaScript is required for this tool — the page content above works without it.
F.A.Q. — Questions, answered
- What is Text Diff Tool?Paste two texts to see a character-level diff with additions highlighted in green and deletions in red. Great for comparing code snippets, config files, or any text. Runs entirely in your browser.
- Is Text Diff Tool free?Yes. Text Diff Tool runs entirely in your browser. No data is uploaded or stored.
- Does Text Diff Tool work offline?Yes. Once loaded, Text Diff Tool works fully offline except for the QR code generator which uses a pinned CDN with SRI.
Keep exploring
Top Developer Tool Repos →
Live rankings updated daily — the chart behind this tool.