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
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 use Text Compare
- 1
Put both versions in
Put both versions in.
- 2
Pick word or line
Pick word or line.
- 3
Read what moved
Read what moved.
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.
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
| Input | Two text boxes, filled with a sample so the marking is clear before you paste. |
|---|---|
| Levels | Word level marks the words that changed; line level marks whole lines. |
| Ignore case | Text differing only in capitals counts as unchanged. |
| Ignore whitespace | Lines differing only in spacing or indentation count as unchanged. |
| Output | Color marking on the page, a count of what moved, and a plus-and-minus copy. |
| Price | Free. Supported by clearly labelled ads outside the working area. |
| Account needed | No. |
| Where processing happens | In your browser tab. Nothing is uploaded. |
Keep going with the same files
All developer tools: Developer tools on SPOTTOOLS