<link rel="stylesheet" type="text/css" href="/mirawhite.css">

Text compare: find the differences between two texts

Paste the original text on the left and the new version on the right. The differences appear as you type, aligned line by line, with the changed words highlighted. Free, with no sign-up.

Free, no sign-up, no limit Runs in your browser: your text and files are never sent or saved.

Compare two texts

Options
Display

Differences

Paste a text in each box: the differences appear here.

How to use it

  1. Paste the original text in "Original text" and the new version in "Changed text".
  2. Read the result: red is what disappeared, green is what was added. Inside a changed line, only the changed words are highlighted.
  3. For long texts, tick "Show only changed lines" and scroll through the result.

Example

Input

Original text:
Meeting notes
Date: March 3
Attendees: Anna, Ben
Budget approved
Next meeting in two weeks

Changed text:
Meeting notes
Date: March 5
Attendees: Anna, Ben, Chloe
Next meeting in two weeks
Action: send the report

Output

2 changed lines, 1 added line, 1 removed line

Good to know

  • Lines are aligned first, then words are compared inside lines that changed. A line rewritten almost entirely is shown as removed and added.
  • Spaces and capitals count as differences unless you tick the matching options.
  • A moved paragraph appears as removed in one place and added in another.

Frequently asked questions

How do I compare two Word documents?

Copy the text of each document (Ctrl+A, Ctrl+C) and paste them into the two boxes: changed, added and removed lines appear at once. Only the text is compared, not the formatting. Inside Word, Review > Compare > Compare also builds a document with tracked changes.

Can I compare two PDF files?

Use “Compare PDF”, which works in your browser and shows the words added and removed, or the pixels that differ page by page. You can also copy the text out of each PDF and paste it here, but line breaks copied from a PDF often differ, which adds noise.

How do I compare text in Notepad++ or VS Code?

In VS Code, select two files in the Explorer, right-click and choose “Compare Selected”. Notepad++ needs the free Compare plugin (Plugins > Plugins Admin). This page does the same without installing anything, and works on a phone too.

How do I compare text in two Excel cells or columns?

For two cells, =EXACT(A1,B1) returns TRUE only if they are identical, capitals included. For two columns, copy each one into a box here: rows are aligned, so a missing or changed value stands out. To compare lists regardless of order, use “Compare two lists”.

What do the colors mean?

Red is what disappeared from the original, green is what was added in the new version. When a line was only partly edited, it is shown once on each side and only the changed words are highlighted. Tick “Show only changed lines” to hide identical passages in a long text.

Are my texts uploaded anywhere?

No. The comparison runs in your browser, so contracts, drafts or code stay on your device and nothing is stored. You can ignore spacing or capital-letter differences with the two options above the result.

← Back to all tools