Skip to content

Compare text

Paste the original and the changed text to see the differences highlighted by word, character or line.

Compare by

Differences

Put text in both boxes and the differences appear right away: green is added, red struck-through is removed.

Texts are compared inside this tab and never sent anywhere.

Instant conversion

There is no upload or server queue, so conversion starts the moment you drop a file and finishes as fast as your device can process it.

Your files stay private

Files are processed entirely inside your browser. They are never sent to, stored on, or seen by any server.

Nothing to install

Works on Windows, macOS, Linux, Android and iOS in any modern browser. No software, no extensions, no account.

How to use Compare text

  1. 1

    Paste the original text in the left (top) box and the changed text in the right (bottom) box.

  2. 2

    Check the green (added) and red struck-through (removed) parts under "Differences".

  3. 3

    If needed, change the comparison unit (word, character or line) or turn on "Ignore spacing differences".

When to use it

  • Checking what you changed in a revised essay or cover letter
  • Finding the clauses that changed in a contract revision someone sent you
  • Comparing an old and new version of a notice or report

Reading the result

Mark Meaning
Green underline Added in the changed text
Red strikethrough Removed from the original
No mark The same in both

The “n added · n removed” badges next to the heading count the changed chunks. If the texts match exactly, you only see “The two texts are identical.” In line mode, added lines start with + and removed lines with -, and unchanged lines are greyed out.

What you compare Compare by Ignore spacing differences
Edits to an essay or report Word Off (to see spacing fixes too)
Typos, a changed letter or digit Character Off
Clauses in a contract or terms Word, then Character if needed On
Lists, rosters, config files, code Line On

Skim the whole text by word first, then switch to character for parts that need close checking, such as amounts and dates. In character mode, a change from “1,000,000” to “1,500,000” is marked down to the single digit.

When the result looks odd

  • A whole paragraph looks deleted and re-added: line mode marks the whole line when even one character changes. Switch to word or character to see the change inside the sentence.
  • Text copied from a PDF or web page: line breaks often fall in different places in each copy, and those show as differences. “Ignore spacing differences” only covers spaces and tabs, so line breaks have to be matched by hand.
  • Almost everything is marked: usually the two boxes hold different documents rather than two versions, or the original and changed text are in the wrong boxes. If they are reversed, click “Swap”.
  • Very long texts: above 60,000 characters in total, the tool switches to line mode and says “The texts are long, so they were compared line by line.” For a closer look, paste one chapter or clause at a time.

Click “Clear” to empty both boxes when you are done. To check the length of the revised text, paste it into the Character counter.

Text formats this tool accepts

This tool accepts files made of text, such as TXT, CSV, SMI/SRT/VTT subtitles, Markdown, JSON, XML and HTML. Two files can show the same words yet store the characters differently (their encoding): UTF-8 is standard today, while older files often use regional encodings such as Windows-1252, EUC-KR or Shift_JIS.

When the encoding is wrong, text turns into gibberish such as “é”. This tool detects the original encoding and saves the file again in the one you choose, without changing the words themselves.

Frequently asked questions

What is the difference between word, character and line?

Word compares each space-separated word, which makes edits to sentences easy to read. Character finds even single-letter typos, and line suits text split into lines, such as code or lists.

Can I ignore differences in spacing?

Yes. With "Ignore spacing differences" on, runs of spaces and spaces at line ends are treated as the same.

How long can the texts be?

Dozens of pages work. When the two texts together exceed 60,000 characters, they are compared line by line for speed.

I pasted the original and the changed text the wrong way round.

No need to paste again. Click "Swap" and the two boxes trade places, with additions and removals recalculated the other way.

Are capital letters and line breaks compared too?

Yes. Upper and lower case count as different characters. "Ignore spacing differences" only treats spaces and tabs as the same; line breaks in different places still show as differences.

Is my text stored or sent anywhere?

No. The comparison happens inside this tab, and the text is never sent or stored. It is gone when you close the tab.

Related guides

Related converters