Free Line Diff

Compare two texts line by line with line numbers — spot exactly where each change landed.

Word Counter

Runs entirely in your browser — paste text and watch the results update instantly. Nothing is uploaded.

100% Client-Side — Your text stays in your browser. Nothing is uploaded.

How to use this tool

  1. 1

    Paste the original

    Put the starting text in Text A.

  2. 2

    Paste the revision

    Put the updated text in Text B — results render live.

  3. 3

    Follow the line numbers

    Each diff row shows its position in both inputs: old → new.

Key features

ViewDetail
Line numbersOld and new position per row
Added linesGreen, with new line number
Removed linesRed, with old line number
Unchanged linesNeutral, both numbers shown

Privacy: your text never leaves your browser

Every Toolflect Text Tool is 100% client-side. The moment you type or paste text, it is analyzed by JavaScript running inside this browser tab. Your text is never sent to our servers, never stored in a database, and never shared with any third party or AI service.

  • No uploads, no accounts, no sign-up
  • No cookies or tracking of your text
  • Works offline once the page has loaded
  • Close the tab and your text is gone from memory

You can even verify it yourself: open your browser's developer tools, switch to the Network tab, and type into the tool — the only requests you will ever see are this page's own static files (HTML, CSS, JavaScript). Nothing you type is ever transmitted.

Frequently asked questions

How does line-diff differ from text-diff?
Line Diff adds explicit old/new line numbers to every row; Text Diff shows the same changes without the numbering.
What if line counts differ?
No problem — a removed line shows only its old number and an added line only its new number.
Are reordered lines shown?
Yes — the algorithm matches the longest common run, so reordering appears as a remove + add.
Private?
Fully — comparison runs locally in your browser.

More free ToolFlect text tools

All free ToolFlect tools