EN

Text Compare

Compare two texts and see which lines were added or removed.

Differences

Paste text in both boxes to see the differences.

Built by Jhon WRuns in your browserLast reviewed:

  • Free, no sign-up
  • Your text stays on your device
  • Works on phone and computer
  • 8 languages

Popular tools:Text RepeaterFancy Text GeneratorWord CounterSmall Text Generator

Text Compare is a free online tool that compares two texts line by line and marks each line as added, removed or the same, for up to 2,000 lines in each text. You can ignore case or spaces, show only the lines that changed and copy the differences, with no sign-up.

How to compare two texts

  1. Paste the first text. Paste the older version in the Original text box.
  2. Paste the second text. Paste the newer version in the Changed text box.
  3. Read the differences. The Differences panel lists the lines. A line with - was removed from the original. A line with + was added in the changed text.

What is a text compare tool?

A text compare tool, also called a diff checker, is a tool that takes two texts and shows what is different between them. It saves you from reading both versions side by side to find a change.

This tool compares line by line. A line counts as changed when any character in it is different.

Text diff you can copy

A text diff is the list of differences between two texts. For example, the list Milk, Eggs, Bread, Butter compared with Milk, Eggs, brown bread, Butter, Jam gives the summary Lines added: 2 · Lines removed: 1 · Same: 3, and these marks:

LineMark
MilkNo mark
EggsNo mark
Bread-
brown bread+
ButterNo mark
Jam+

Press Copy differences to copy this diff as plain text. Each added line starts with + and a space, each removed line with - and a space, and each unchanged line with two spaces. Tick Show only the lines that changed to copy the changed lines alone.

Features

  • Line by line comparison of two texts.
  • Clear marks: + for added lines and - for removed lines, with colours.
  • Summary of how many lines were added, removed and left the same.
  • Ignore case and Ignore differences in spaces options.
  • Show only the lines that changed, and copy the differences as text.

How to read the result

MarkColourMeaning
-RedThe line is in the original text but not in the changed text
+GreenThe line is in the changed text but not in the original text
No markNo colourThe line is the same in both texts

A line that was edited appears twice: once with - as the old version and once with + as the new version.

What the Text Compare includes

  • Up to 2,000 lines in each text, and up to 200,000 characters in each box.
  • Whole-line comparison. The tool marks each line that changed. Read the - and + versions of an edited line together to spot the changed word.
  • Moved lines show as removed in one place and added in the other.
  • Plain text. Copy the text out of a Word document or a PDF and paste it in the boxes to compare it.

Is it private?

Yes. The two texts are compared inside your browser. They are not sent to our server and are not saved by us.

Related tools

Three other tools on this site help when two texts differ. The find and replace tool makes the same change everywhere in a text. The tool to remove duplicate lines cleans a list before you compare it. The word counter shows the length of each text.

Frequently asked questions

How do I find the difference between two texts?
Paste the first text in Original text and the second in Changed text. The Differences panel marks the added and removed lines.
What do the plus and minus signs mean?
A minus marks a line that was removed from the original. A plus marks a line that was added in the changed text.
Can it ignore capital letters and spaces?
Yes. Tick Ignore case or Ignore differences in spaces.
Does it show which word changed inside a line?
No. It compares whole lines and marks the lines that are different.
Is Text Compare a diff checker?
Yes. It works as a diff checker for plain text: paste two versions and it marks every line that was added or removed.
Is the Text Compare tool free?
Yes. It is free and you do not need an account.