跳到正文

STEMSTUDIO

Compare two texts

Text · compared on this device

Compare two texts

See changed lines — and the changed words inside them — highlighted, with a similarity score.

  • Free, no account
  • Nothing is sent

Help

The two texts use different line endings (one CRLF, one LF). They are unified before comparing, so that alone will not mark every line as changed. Too many changed lines to highlight every word, so the word-level marks were skipped on some rows. The line-level verdict (added, removed, changed) is complete for every row.

Processing, communication and stored data

Paste two versions and see which lines were added, removed or replaced — and, inside a replaced line, which words actually changed. It all runs in the page, so contract drafts and internal config files can be compared without leaving your machine.

Questions

Is there a size limit?

20,000 lines per side. Above that, the tool stops with a warning instead of comparing only part of the input. For anything larger, use git diff or a similar command-line tool.

Is my text stored?

No. Everything happens in the page and nothing is sent to a server. Close the tab and it is gone.

What is the unified diff for?

It is the standard "--- / +++ / @@" format that git and patch understand, with three lines of context around each change. Copy it into a review comment, or save it as a patch file.

Can I compare Word or PDF files directly?

No — this compares pasted text, so extract the text first. Formatting differences such as bold or colour are not part of the comparison.

Side-by-side or unified?

Side by side is better for checking which old line became which new one. Unified fits a narrow screen and reads top to bottom when you just want to walk through the changes. The underlying comparison is identical.

For Japanese input on Windows: Asteria

Ratings from users

Ratings appear once there are 10.

Report a problem or suggest something

The tool name, this page’s path and your browser type are sent with it. Files are never sent. For a reply, use the email on the Contact page.