Text Compare

Compare two texts and see what changed.

How to use it

  1. Paste your original text into the left box.
  2. Paste the changed text into the right box.
  3. Click "Compare" to see the differences highlighted.
  4. Red lines were removed from the original. Green lines were added in the changed version.

Examples and use cases

Reviewing document edits

Compare a draft and its revision to see exactly what was changed, added, or removed.

Checking code changes

Paste two versions of a config file, script, or snippet to spot differences without a full IDE.

Verifying copy-paste accuracy

Compare a source text and its pasted copy to catch missing words, extra spaces, or encoding issues.

Contract and legal review

Compare two versions of a contract or policy document to identify what changed between drafts.

Translation comparison

Compare two translations of the same source text to see where they diverge.

Frequently asked questions

How does the comparison work?
The tool compares the two texts line by line using a longest common subsequence algorithm. It identifies lines that were removed, added, or stayed the same, and highlights the differences.
Does it compare words or lines?
By default, it compares line by line. For texts without line breaks, it treats the entire text as a single line and shows a character-level comparison.
Can I compare files?
Not directly from your file system. Copy the contents of each file and paste them into the two input boxes. The tool works with any plain text you can paste.
Is there a size limit?
No hard limit. The comparison runs in your browser, so performance depends on your device. Texts up to tens of thousands of lines work well on most modern browsers.
Is my text sent to a server?
No. All comparison is done locally in your browser using JavaScript. Neither text is sent anywhere.
What do the colors mean?
Red background means the line was in the original but removed in the changed version. Green background means the line was added in the changed version. Unmarked lines are identical in both versions.

About this tool

Comparing two versions of a text is a fundamental editing task. Developers use diff tools constantly, but writers, editors, and anyone working with document revisions need them too. Most diff tools are built into code editors or version control systems — they are not easily accessible for quick, one-off comparisons.

The Wordshed text compare tool gives you a clean, line-by-line diff with color-coded output. Paste your two texts, click compare, and see what changed. No accounts, no installs, and your text never leaves your browser.