Joy of Tools

Text compare

Paste the original on the left and the revised text on the right. Differences are marked at once.

Your files and text are not uploaded. Everything happens on this page.

Original0 characters
Revised0 characters

Enter two texts to see what changed.

How to use it

  1. Paste two texts, or open a text file for each side.
  2. Choose side by side, stacked or letter-by-letter, and compare by line, word or letter.
  3. Step through the changes, or copy a list of what changed.

Questions

What is the difference between comparing by line, word and letter?

By line marks whole lines that differ, which suits code and lists. By word shows edits inside a sentence. By letter catches single-character changes such as a typo.

How is the similarity percentage worked out?

It counts the letters the two texts share in the best alignment, doubles that, and divides by the total letters in both. Identical texts score 100%.

Which files can I open for comparison?

Plain-text files up to 4 MB, such as TXT, Markdown, CSV, JSON, HTML and source code. For Word or PDF files, copy the text and paste it in.

Is the text I compare uploaded anywhere?

No. Both texts are compared on this page and are not sent or stored.

More tools