Diff Checker

Compare two blocks of text side-by-side and highlight added, removed, and changed lines. Runs entirely in your browser.

Runs in your browser — nothing uploaded
Original
Modified
Differences
+0 added0 removed
Paste text into both boxes to see the differences

Use this free diff checker to compare two blocks of text and see exactly what changed. Switch between line-level and word-level views, ignore whitespace or case when you don't care about them, and spot every addition or removal at a glance — all without your text leaving the browser.

Private by design — your data never leaves your device

How to use it

No account, no upload — it all happens on your device.

1
Paste the original text in the left box and the modified text in the right box.
2
Pick Line diff for code or Word diff for prose.
3
Optionally ignore whitespace or case to focus on the changes that matter.
4
Scan the Differences panel — added text is green, removed is red, unchanged stays neutral.

When line diff beats word diff (and vice versa)

Pick the granularity that matches the change you care about.

Use line diff forUse word diff for
Source code reviewsEdited paragraphs of prose
Config files and YAML / JSONMarketing copy and emails
Git-style change inspectionTranslation comparisons
Log file comparisonsSpot single-word substitutions
Large multi-line patchesHeadlines, slogans, titles

Line diff treats each newline-bounded run of text as the atomic unit. A one-character change in a long line still highlights the whole line. Word diff goes finer: only the changed words are coloured, which makes prose edits much easier to spot but turns code diffs into noise.

What Ignore whitespace and Ignore case actually do

They normalise both inputs before diffing, not the displayed text.

  • Ignore whitespace collapses runs of spaces and tabs to a single space and strips trailing/leading whitespace on each line. Two files indented with two spaces vs four will compare as identical.
  • Ignore case lowercases everything before comparing. Hello, HELLO, and hello are all the same string.
  • Both options apply beforethe diff runs, so if the only changes are whitespace or case, you'll see a single "identical" badge and no highlighted diff.

Where this fits in your toolbox

For code, git diff, GitHub PRs, and editor diff views remain the gold standard — they understand language syntax, file structure, and history. This tool fills the gap when you have two ad-hoc strings that aren't in version control:

  • Two API responses that should be identical and aren't.
  • Email copy from a colleague vs your latest draft.
  • Two pasted log lines where a timestamp or ID is the only difference.
  • Comparing CMS exports before re-uploading.
  • Bug reports — what the user said vs what your error message actually says.

Because everything runs in the browser, you can paste sensitive text (customer support transcripts, internal docs, private configs) without it leaving your device — useful in contexts where pasting into a third-party diff site would be off-limits.

Frequently asked

Is the text I paste sent anywhere?
No. Both texts are diffed entirely in your browser using the open-source jsdiff library. Nothing is uploaded, logged, or stored.
What is the difference between line diff and word diff?
Line diff is best for code or any text with clear newlines — it highlights whole lines that were added or removed. Word diff is better for prose — it highlights individual words that changed within a paragraph, so you can see fine-grained edits.
Why does Ignore whitespace make my diff disappear?
If the only changes between the two inputs are spaces, tabs, or indentation, ignoring whitespace tells the diff engine those changes don't matter. The two normalized versions are then byte-for-byte identical, so there is nothing to highlight.

Related tools

Word CounterCount words, characters, sentences, and paragraphs in your text. Estimates reading and speaking time. Runs entirely in your browser.Lorem Ipsum GeneratorGenerate Lorem Ipsum placeholder text — paragraphs, sentences, or words. Classic Latin or playful hipster filler. Copy-ready.Markdown PreviewWrite Markdown and see the rendered result side-by-side. GitHub-flavored syntax, sanitized output, copy HTML. Never leaves your browser.