Skip to content
AVEROPDF

Compare Two Texts

Highlight the differences between two texts, by lines, words or characters.

Processed in your browserFree

About this tool

Compare two versions of a text, a contract, a list or a code file: additions appear in green, deletions in red, with a summary of the changes. Choose the granularity (lines, words or characters), ignore case or whitespace, then copy the diff in unified format.

How to use this tool

  1. 1Paste the original text on the left and the modified text on the right.
  2. 2Choose the granularity (lines, words, characters).
  3. 3Read the highlighted differences or copy the diff.

Limits to know

  • The algorithm (Myers, via the open source "diff" library) finds the smallest set of changes; on very different texts, the result may look less readable than a manual comparison.
  • Texts up to about 2 MB to stay smooth.
Accepted formats
Text
Maximum size
2 MB

Privacy and file processing

The text is processed instantly in your browser: nothing is sent to a server, nothing is kept.

Read our privacy policy

Frequently asked questions

"Words" to proofread a new version of a text, "Lines" for code or lists, "Characters" to spot a typo or a changed digit. Line mode is the most readable on long documents.