Text Diff Checker
Free online tool to compare two texts and highlight added, deleted, and changed lines. It runs line-by-line comparison with the Myers diff algorithm, the same family Git uses, and supports inline diff within lines.
| 1 | 1 |
Embed
What is Text Diff Checker?
Free online tool to compare two texts and highlight added, deleted, and changed lines. It runs line-by-line comparison with the Myers diff algorithm, the same family Git uses, and supports inline diff within lines.
How to Use
- 1Enter text— Enter text in the left (original) and right (modified) panels.
- 2Select view mode— Choose between Unified or Side-by-side view.
- 3Check results— Green (+) indicates added lines, red (-) indicates deleted lines.
- 4View statistics— Check the number of added/deleted lines and similarity in the stats bar.
- 5Swap direction— Use the swap button to reverse the comparison direction.
Related Tools
Frequently Asked Questions
It performs line-by-line comparison based on the Myers diff algorithm, the same family of algorithms used by Git.
Yes, inline diff that highlights changed parts within a line is also supported.
No. Only text-based comparison is supported.
Up to 500KB is supported. Larger texts may cause browser performance issues.
No. All comparison operations are performed in the browser.