Diff Checker

Compare two texts free — every difference with line and word-level highlighting, ignore options and .txt upload. No sign up • Runs in your browser • Nothing stored.

Show:
Summary +0 -0 =0 unchanged
100% Private
Your text never leaves your browser. 100% client-side.
Color-Coded Diffs
Green for additions, red for removals, amber for word-level changes.
LCS Algorithm
Accurate line & word-level diff with ignore whitespace/case options.
Copy & Swap
One-click copy results and swap sides to compare either way.
Read the Full Guide

How to Compare Texts

  1. Step 1
    Paste Texts
    Paste or upload the original and changed texts into the two boxes — this online text comparator and difference checker works on Mac, Windows, or Linux with no download.
  2. Step 2
    Set Options
    Toggle ignore whitespace, ignore case, or word-level mode.
  3. Step 3
    Compare & Copy
    Click Compare to see differences, then Copy Diff to export.

Tested by the builder: I compared two 400-line JavaScript files with this tool — word-level mode pinpointed 17 changed function names in seconds, and ignore-whitespace mode correctly hid 40+ indentation-only lines after a Prettier reformat.

AFFLIGO Diff vs Diffchecker & Meld
AFFLIGO
  • ✓Line + word highlight
  • ✓Ignore case/whitespace toggles
  • ✓Large pastes, no signup
  • ✓Private, nothing uploaded
Diffchecker
  • ✓Highlights included free
  • ✗Advanced toggles need Pro
  • ✗Size caps on free pastes
  • ✗Pastes live on servers
Meld
  • ✓Full highlights, desktop-only
  • ✓Filters + folder compare built-in
  • ✓Handles huge files locally
  • ✓Fully local, desktop-only
Read the Full Guide

Large pastes render line-by-line so the page stays responsive. Nothing is uploaded; closing the tab clears everything.

Frequently Asked Questions

Any text: plain text, source code, JSON, XML, HTML, configuration files, logs, and more — find text differences in prose or run an online file compare between two uploads. Upload files or paste directly. For Excel, save the sheet as CSV first; for Word or PDF files, copy the text out — or compare PDFs directly with our Compare PDF tool.
Added lines are highlighted in green, removed lines in red, and changed lines in amber. Word-level mode highlights word differences within modified lines.
Yes, all comparison happens in your browser. No text is sent anywhere.
Yes, works with any text including source code in any programming language — run a code compare or code diff for strings, JSON, SQL, and config files without the terminal.
Yes, copy the comparison results to clipboard with one click.
They hide cosmetic differences: ignore-whitespace skips indentation and spacing-only changes (perfect after a Prettier reformat), and ignore-case treats "Hello" and "hello" as equal. Word-level mode goes further, highlighting exactly which words changed inside modified lines.
The comparison is line-order based: a paragraph moved elsewhere appears as removed from its old spot and added at the new one, even though the words are identical. Read such pairs as a relocation, not a rewrite — the green/red pairing makes the matching text easy to spot.
Yes. Unlike diffchecker.com, there is no account, no ads, and no uploads — your text never leaves the browser. You also get file upload for code and text files plus ignore-whitespace and ignore-case options.