Text Compare

See which words changed between two versions.

FREE - NO SIGN-UP - RUNS ON YOUR DEVICE

Both texts stay in this tab

  • 2texts side by side
  • Wordor line level
  • 2noise switches
  • 0uploads
Specification

Text Compare at a glance

Input
Two boxes, sample loaded
Levels
Word level or line level
Ignore case
Capitals can be ignored
Ignore whitespace
Spacing can be ignored
Output
Marked, counted, copyable
Price
Free
Account needed
None
Where processing happens
On your device
How to

How to use Text Compare

  1. 1

    Put both versions in

    Put both versions in.

  2. 2

    Pick word or line

    Pick word or line.

  3. 3

    Read what moved

    Read what moved.

Questions

Frequently asked questions

Word level or line level?

Word level when a sentence was edited and you want the changed words picked out. Line level when whole lines were replaced, which is how code usually changes.

The whole text looks changed. Why?

Something moved that you did not mean to compare, usually indentation or capitals. Turn on ignore whitespace or ignore case and the real edits stand out.

Can I compare two files?

Open each file, copy the contents and paste them into the boxes. This page compares text you paste; it does not read files from your disk.

Do my texts go anywhere?

No. Both texts stay in this browser tab, and nothing is sent or stored. Closing the tab leaves nothing behind.

Background

Reading the marks

The original goes on the left, the newer version on the right. What was added shows in green, what was removed shows struck through in red, with a count underneath.

  • Green marks what the second version added; struck-through red marks what the first version had.
  • The count follows the level: lines at line level, words at word level.
  • Swapping the two sides describes the same edit from the other direction.
  • The copied version puts a plus, a minus or a space in front of each line.

Full specification

Specification of the Text Compare tool
InputTwo text boxes, filled with a sample so the marking is clear before you paste.
LevelsWord level marks the words that changed; line level marks whole lines.
Ignore caseText differing only in capitals counts as unchanged.
Ignore whitespaceLines differing only in spacing or indentation count as unchanged.
OutputColor marking on the page, a count of what moved, and a plus-and-minus copy.
PriceFree. Supported by clearly labelled ads outside the working area.
Account neededNo.
Where processing happensIn your browser tab. Nothing is uploaded.
Next step

Keep going with the same files

All developer tools: Developer tools on SPOTTOOLS