Compare two texts and highlight added, removed, and unchanged lines instantly.
Enter the original or older version of the text in the left panel.
Enter the new or updated version in the right panel.
Green lines are additions, red lines are removals. Unchanged lines are shown in the middle.
A diff checker compares two pieces of text and highlights what changed between them: lines that were added, lines that were removed, and lines that stayed the same. Developers use it to review code changes, writers use it to compare drafts, and anyone can use it to spot the differences between two versions of a document.
Paste your original text on one side and the new version on the other. The tool aligns the two and color-codes every difference so you can see the changes at a glance instead of reading both versions line by line.
Reviewing a pull request, confirming what changed between two config files, checking which lines an editor altered in your article, comparing two exports of the same data, or finding the one line that broke a script. In all of these, scanning color-coded differences is far faster and more reliable than reading both versions and trying to spot changes by eye.
Lines only in the original are marked as removed, lines only in the new version are marked as added, and lines present in both are shown as unchanged for context. A changed line usually appears as a removal followed by an addition, since the old version went away and a new version took its place.
If you only care about content and not formatting, normalize indentation before pasting. Comparing minified code is hard because everything is on one line, so format both sides first. For long files, comparing the relevant section rather than the whole file makes the differences much easier to follow.
JSON Diff
Compare two JSON objects and highlight the differences between them.
Hash Comparison
Compare two hash values to check if they match.
Hash Generator
Generate SHA-1, SHA-256, and SHA-512 hashes from any text input.
Empty Line Remover
Remove all empty and blank lines from text.
Color Contrast Checker
Check WCAG AA and AAA contrast ratios between two colors to ensure your design meets accessibility standards.
CSS Validator
Validate CSS syntax and find common errors like unmatched braces and missing semicolons.