Category: Text tools

Text Diff

System ideaMissing a tool?

Word and line differences between two texts

Paste two versions of a text and see added and removed words or lines highlighted inline. Compare by word or by line, all in your browser.

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

Paste two versions of a text and see the words or lines that were added and removed, highlighted inline. 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; as soon as both sides have content, the inserted and removed words or lines appear highlighted inline.
  2. Choose the unit that matches what you are comparing: word mode for prose, where a single edit inside a sentence shows as one inserted and one removed word, and line mode for code, lists and anything else where the line is the meaningful unit.
  3. When the two versions differ only in capitalisation or spacing and you do not care about that, turn on the case or whitespace toggle and read the highlighted result again.

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 do I use Text Diff?
Paste the original text into Text A and the changed version into Text B, then pick word or line comparison. The words or lines that were added and removed are highlighted inline on the page as you work.
Which inputs and options does Text Diff support?
The inputs are two blocks of plain text you paste yourself: the original in Text A and the changed version in Text B. The options are word or line comparison, ignore case, and ignore surrounding whitespace. There are no other formats or settings.
How do I view or copy the result?
The result is shown inline on the page, with the inserted and removed words or lines highlighted in place, so you read it directly where you pasted the text. The tool does not generate an export, a download or a patch file.
Is my input, file, or result uploaded?
No. Inputs, settings and results stay in the browser and are not uploaded to LocalTools. The comparison happens on your own device, so a contract, an internal document or an unpublished draft never leaves it.
What does this tool not support?
Comparison happens at the word or line level only — there is no character-level mode — and there are no file uploads, batch comparisons, accounts or saved history. To compare a Word or PDF document you have to copy its text out and paste it in as plain text.