Development
Regex Tester
Test regular expressions against sample text.
Development
Compare two texts and inspect added, removed and unchanged lines.
Compare two versions and inspect their line-level differences.
Enter an original and modified version to inspect added, removed and unchanged lines.
Both texts are compared locally inside your browser and are never uploaded.
About this tool
A diff checker compares two versions of text and highlights which lines were added, removed or left unchanged. It is useful for reviewing source code, configuration files, documentation and generated output.
Features
Frequently asked questions
It compares complete lines and uses a longest common subsequence algorithm to identify unchanged, added and removed lines.
Not yet. This version performs line-level comparison. Word-level highlighting can be added in a future iteration.
Yes. You can compare source code, JSON, SQL, configuration files, logs or any other plain-text content.
No. Both texts are compared entirely inside your browser.
Related tools