All Tools

Text Compare

Compare two texts entirely in your browser. No backend, no storage.

Realtime
Original Text
Character count0
Comparison Text
Character count0

Comparison Results

View Mode

Ready to Compare

Enter texts in both editors and click "Compare Texts" to see the differences.

How to compare two texts

  1. Paste the first version in Original Text and the new version in Comparison Text.
  2. Click Compare Texts. With Realtime on, the differences also update as you type; turn it off for very long texts.
  3. Read the result: removed text is struck through in red and added text is highlighted in green.
  4. Switch between the inline view and the side-by-side view, or use Swap Texts to compare in the opposite direction.

Inline vs side-by-side view

The inline view shows a single merged text with deletions and insertions marked in place. It is the quickest way to review small edits in a paragraph, such as a reworded sentence or a changed number.

The side-by-side view keeps both versions next to each other. It works better for longer documents and code, where you want to see the surrounding context of each change.

What you can use it for

  • Reviewing edits to contracts, policies and other documents before you sign or publish them.
  • Comparing two versions of a code snippet, configuration file or SQL query.
  • Checking what changed between two exports, logs or API responses.
  • Proofreading translations, essays and product descriptions after an editor has worked on them.

How the comparison works

The tool uses the diff-match-patch algorithm, the same family of algorithms behind many version control and collaboration tools. Results are cleaned up so that changes are grouped into readable words and phrases instead of scattered single characters.

Everything runs in your browser. The two texts are never uploaded, which makes the tool suitable for confidential documents and private code.

Frequently asked questions

Is my text uploaded or stored anywhere?
No. The comparison runs entirely in your browser and neither text is sent to a server or saved. Closing the tab discards everything.
Can I compare Word or PDF documents?
The tool compares plain text. Open each document, copy its text and paste it into the two boxes. Formatting such as bold, fonts and tables is not compared, only the words.
Can I use it to compare code?
Yes. Paste two versions of a file to see which lines and words changed. The side-by-side view is usually the easiest way to read code differences.
Is there a size limit?
There is no fixed limit, but very large texts are processed by your device and can take a moment. If typing feels slow with long documents, turn Realtime off.
How does it show a paragraph that was moved?
A moved block appears as a deletion where it used to be and an insertion where it is now. Diff tools compare the order of the text, so moves are reported as remove plus add.
Is a diff checker the same as a plagiarism checker?
No. A diff checker compares two texts you provide and shows exactly what differs between them. A plagiarism checker searches other sources on the web for similar passages.