Text Difference Checker

Paste the old version on the left and the new one on the right. Removed lines show in red, added lines in green.

No comparison yet.

Use this for

This is useful for editing drafts, checking client revisions, reviewing code snippets, and comparing document versions without needing a separate diff app.

Your data stays in your browser

This tool runs on JavaScript inside your browser. Nothing you add here is uploaded to our server, so it works for confidential data too. How we handle data

  • No upload
  • Processed on your device
  • No account

How does the comparison work?

It compares the two texts line by line, in order: line 1 with line 1, line 2 with line 2 and so on. When a pair is the same, it shows in grey. When it differs, the old line shows in red and the new one in green. This is quick and clear for edits within lines, like a changed price or a reworded sentence.

Why does one added line mark everything after it as changed?

Because lines are matched by position. If you insert a new line near the top, every line below moves down by one and no longer lines up with the original. For texts where whole lines were added or removed, compare section by section, or put each paragraph on one line first.

What can I use it for?

Checking what an editor changed in your draft, comparing two versions of a contract clause, or spotting a changed value between two config files. Clean up lists first with Remove Duplicate Lines, check lengths with the Word Counter, and fix capitals with the Case Converter so case differences don't show as changes.

Questions people ask

Is the comparison case sensitive?

Yes. "Hello" and "hello" count as different. Run both texts through the Case Converter first if capitals don't matter.

Does it show changes inside a line?

It marks the whole line as changed and shows the old and new versions one under the other, so you can spot the difference.

Why are lines after an insertion all marked as changed?

Lines are compared by position, so one inserted line shifts everything below it. Compare smaller sections to avoid this.

Can I compare code?

Yes. It works with any plain text, including code and config files.

Related tools