Files never leave your device

Compare two texts

Find which lines changed between two versions and download a readable text comparison. Your inputs stay on your device.

Set up your task

Up to 200,000 characters. Nothing is sent to a server.

Ready. Processing stays in this browser.

How to use Compare two texts

Find what changed between two pasted passages, such as email drafts, configuration notes or a short revision of a document. The comparison runs on your own device.

  1. Paste the older version into the first text box.
  2. Paste the newer version in the second box and compare.
  3. Read the added and removed lines or save the plain-text report.

Supported inputs and limits

Each side supports up to 500 lines and 200,000 characters. It compares complete lines after standardising line endings.

How it works

A line with a minus sign comes from the first version and a line with a plus sign comes from the second. Unchanged lines appear as context. When a single word changes inside a line, both complete lines appear. This makes the change easier to review in a short document without assuming where punctuation or sentences begin.

The comparison preserves whitespace within each line. A new indent, a missing space or reordered punctuation can therefore count as an edit. Windows and Unix line endings are treated the same. Text that wraps visually in the form may still be one source line, which matters when comparing copied passages from a formatted document.

When the same wording appears in several places, more than one alignment can describe what happened. The output aims at a compact description of added and removed lines rather than guessing whether a sentence was moved. The report can contain text from both drafts, so read it before sharing, especially when the new draft intentionally leaves out private content.

Example

Paste an old email draft on one side and the revision on the other. Check which lines start with a plus or minus.

Questions about Compare two texts

Can the text comparison find a single changed word?

It shows the full old and new lines for any word change, so you can read the surrounding context.

Is moving a line detected as a move between positions?

A move is usually shown as a removal and addition. The tool compares logical lines and does not infer editorial intent.

Can I export the differences in a readable file?

Yes. The TXT contains the same prefixes and context as the comparison, including both versions of changed lines.

Related tools

Last updated