Category: Text tools

Text Diff

System ideaMissing a tool?

Word and line differences between two texts

Paste two versions of a text and see the words or lines that were added and removed, highlighted inline.

2 added, 2 removed

The quick brown fox jumpsleaps over theone lazy dog.

Both texts stay in the page. Nothing is uploaded or stored.

Everything on this page is processed in your browser. Nothing is uploaded.

What this tool does

A line-level diff tells you which lines changed, but not what changed inside a long paragraph that only lost one word. Switching to word mode here runs the same comparison at the level of individual words, so an edit inside a sentence shows as one inserted and one removed word rather than the whole line turning red. Line mode is still there for comparing code, lists or anything else where the line is the unit that matters. Both modes ignore case or surrounding whitespace on request, for the times a diff should look past formatting rather than get noisy over it.

How to use it

  1. Paste the original text into Text A and the changed version into Text B.
  2. Switch between word and line comparison, and toggle case or whitespace.
  3. Read the inserted and removed words or lines, highlighted inline.

Privacy

This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.

Frequently asked questions

How is this different from Text Compare?
Text Compare shows whole lines that changed. Text Diff can go a level deeper and highlight the individual words that changed inside a line, which is closer to how a word processor's tracked changes look.
Can I compare code with it?
Yes, line mode works well for code and lists where the line is the meaningful unit; word mode suits prose and sentences.
Is either text uploaded?
No. The comparison runs in the page. Neither text is sent, stored or logged anywhere.