Skip to main content
ToolsBay

Runs in your browser — nothing is uploaded · verify

Text Compare — free, and it runs in your browser

Diff two blocks of text and highlight every addition and removal.

  • See exactly what changed between two versions, line by line.
  • Additions and removals are colour-coded and labelled, so the diff is readable without a legend.
  • Works on contracts, config files, copy drafts — anything you have two versions of.
0 chars · 1 lines
0 chars · 1 lines
  • 70 tools

    Free, with no account and no watermark

  • 0 bytes

    Of your files or text uploaded — this tool runs in the tab

  • No queue

    The work happens in this tab, not in a line behind other users

Three steps, nothing to install

Text Compare in three steps

  1. TEXT123456Paste it in — it never leaves the tab

    Paste both versions

    Put the original on the left and the new version on the right. Neither is transmitted anywhere.

  2. TEXTEvery field, broken out and checked

    Read the differences

    Every changed line is marked as an addition or a removal, with unchanged context kept around it so you can see where each change sits.

  3. Copy DIFF

    Take the result

    Copy the diff to paste into a review, a ticket or an email.

Why use Text Compare

  • A real diff algorithm

    Lines are matched by longest common subsequence rather than compared position by position, so inserting one line at the top does not report the entire rest of the file as changed.

  • Your text stays in the page

    What you paste is not transmitted or stored, so an API response full of customer records, a token or an internal query never leaves your machine.

  • Handles real-world sizes

    Large documents are processed in one pass without pagination or a cut-off, so you are not left wondering which half of the input arrived.

Frequently asked questions

Word diff highlights whole words that changed and is the most readable for prose. Character diff highlights individual characters and is precise but noisy. Line diff treats each line as a unit, which is what Git does and what you want for code.

Choosing a diff granularity

The three modes answer different questions. Line diff, the mode Git uses, treats a line as atomic — change one character and the whole line reads as replaced. That is exactly right for code, where a line is a meaningful unit, and unhelpful for prose, where a paragraph is one long line.

Word diff is the mode to use for writing. It shows that a sentence changed one adjective rather than reporting the entire paragraph as rewritten. Character diff goes finer still, which is useful for spotting a transposed digit in an ID or a single altered character in a hash — and overwhelming for anything longer.

Ignoring what does not matter

Two options exist because two kinds of difference are usually noise. Case differences matter in code and rarely in prose. Whitespace differences almost never matter and are almost always present — a re-indented file, a change of line endings between Windows and Unix, or a trailing space will otherwise mark every line as changed and bury the one real edit.

Related tools

To clean up a list before comparing it, use remove duplicate lines and sort lines alphabetically — sorting both sides first turns a reordering into no diff at all. To compare formatted code fairly, run both sides through the JavaScript formatter or JSON formatter first.

Related guides

More tools

70 tools, none of which want your file

Everything this tool does happens in the page you are looking at. No account, no upload, no watermark.