Compare two texts and see the differences highlighted side by side.
Our diff checker uses the diff-match-patch algorithm to find the minimum set of changes between two texts. Additions are highlighted in green, deletions in red, and unchanged text is shown normally.
Yes. You can compare any text including source code, configuration files, SQL queries, or plain text documents. The tool preserves formatting and whitespace.
There is no hard limit. Since all processing happens in your browser, performance depends on your device. Texts up to several megabytes work smoothly on modern devices.
Inline view shows changes within a single panel with additions and deletions marked inline. Side-by-side view shows the original and modified text in two columns with line numbers, similar to GitHub's diff view.
Yes. For best results with JSON, format both texts first using our JSON Formatter, then compare. For SQL, use the SQL Formatter first. This makes structural differences much clearer.