Sign in

File tools that never upload your files

Compare two texts

See exactly what changed between two versions of a paragraph, a contract clause, a configuration or a piece of code. Paste both and the differences are highlighted. The comparison runs in your browser, so your texts never leave your device.

5 free data and file results; text tools such as the JSON formatter never count. Paid plans have no usage limits.

How it works

  1. 1

    Paste the original

    Put the earlier version on the left.

  2. 2

    Paste the changed text

    Put the new version on the right.

  3. 3

    Read the differences

    Additions and deletions are highlighted, line by line or word by word.

Why work without uploading

Two levels of detail

Line by line for code and lists, word by word for prose.

Counts

The number of added and removed lines is shown.

Private

Contracts and drafts are compared on your device.

Good to know

Deleted text is shown struck through, added text highlighted, and unchanged text in grey, so the eye goes straight to what matters. If both texts are identical, the tool says so.

The comparison uses the same algorithm as many version-control tools (diff-match-patch), which finds the smallest set of changes. Moved paragraphs appear as a deletion and an addition.

To compare whole files, including binary files, use Compare files; for PDFs, use Compare PDF in the PDF tools.

Questions and answers

Line by line or word by word?

Lines for code and lists, words for running text.

Can I compare files?

Use Compare files for files; this tool is for pasted text.

Is my text uploaded?

No. It is compared in your browser.

Are the texts saved?

No. They stay only in this browser tab while you compare them.

What does word by word show?

Changed words inside a line, which suits running text better than whole lines.