Diff Checker
WEBCompare two blocks of text and instantly highlight every added, removed, and unchanged line or word — free and in your browser.
Type or paste text in both panes to see the differences.
What it does
Diff Checker is a free, in-browser tool for spotting exactly what changed between two versions of any text. Paste your original on one side and the changed text on the other, and Carbide highlights every difference in place — additions in green, deletions in red, untouched content left plain. Switch between a line-by-line view (ideal for code, config files, and logs) and a word-by-word view (ideal for prose, contracts, and copy edits), turn on "ignore whitespace" to skip noisy indentation changes, and use swap to flip which side is the baseline. A running summary shows how many lines or segments were added and removed, and you can copy the result as a clean unified diff to paste into a review, ticket, or commit message. Everything runs locally on your device, so your text never leaves the browser — it works offline-friendly once loaded and keeps your content private. No sign-up, no upload, no limits.
How to use the Diff Checker
- Paste the original text into the left pane.
- Paste the changed text into the right pane.
- Choose line or word comparison.
- Toggle ignore whitespace if indentation noise gets in the way.
- Read the highlighted differences and the +added / −removed summary.
- Copy the unified diff to share or save.
Frequently asked questions
- What is the difference between line and word comparison?
- Line mode compares the texts one line at a time and is best for code, configuration, and logs where line breaks matter. Word mode compares them word by word within each line, which is better for prose and copy edits where you want to see exactly which words changed.
- Is my text uploaded anywhere?
- No. The entire comparison runs locally in your browser using JavaScript. Your original and changed text are never sent to a server, so the tool is private and works even on sensitive content.
- What does "ignore whitespace" do?
- It tells the comparison to skip differences that are only leading or trailing spaces, tabs, or indentation. This is useful when two files differ only in formatting and you want to focus on real content changes.
- What is the copied unified diff?
- It is a plain-text patch where added lines start with a plus sign, removed lines with a minus sign, and unchanged lines with a space. You can paste it into a code review, an issue tracker, or a commit message.