Diff Checker
Compare two snippets side by side with colour-coded additions and deletions.
Compare two snippets
Waiting for textSide-by-side comparison
● added ● removed ● changedType or paste into both boxes and the comparison appears here instantly.
How to check the differences between two texts
Paste the original
Drop the "before" version into the left text area — code, articles, config files or plain notes.
Paste the changed version
Put the "after" version on the right. The comparison refreshes automatically as you type.
Read the colour-coded rows
Green rows are additions, red rows are removals and amber rows are lines that were modified.
Copy the unified diff
Hit "Copy unified diff" to get a standard @@ hunk patch you can paste into a terminal or GitHub pull request.
Diff checker — frequently asked questions
The checker compares the amount of content the two texts share using a character-level commonality score (the Dice coefficient). 100% means the texts are identical, 0% means they share no content at all. A score above 90% usually indicates only a few words changed.
Green marks lines that exist only in the changed text, red marks lines that exist only in the original, and amber marks lines that were edited. Inside an amber row the changed words are marked up with inline insertion and deletion markers so you can see exactly which part moved.
Never. The comparison engine is a local JavaScript library that ships with the page. Your snippets stay inside your browser tab, which makes the tool safe for confidential code, contracts and internal notes.
Yes. The "Copy unified diff" button produces a standard unified patch with ---, +++ and @@ hunk headers. You can paste it into a chat, save it as a .patch file and apply it with git apply.
Related Text Tools
Word & Character Counter
Count words, characters, sentences, reading time and keyword density.
Open toolCase Converter
Switch text to UPPERCASE, lowercase, Title Case, camelCase, snake_case or kebab-case.
Open toolDiff Checker
Compare two snippets side by side with colour-coded additions and deletions.
Open toolLorem Ipsum Generator
Generate dummy placeholder text by paragraphs, sentences or words.
Open toolMarkdown Live Editor
Write Markdown with a live HTML preview, word stats and one-click export.
Open tool