Text Compare & Diff

Paste an original and a revised version to see added, removed, and changed lines — with inline character highlights for precise edits.

Use it when reviewing contract redlines, config changes, or any two versions of text without installing desktop diff software.

🔒 Privacy first⚡ Instant✦ No signup

Run a comparison to see side-by-side changes with inline character highlights.

Was this tool helpful?

Learn more

How to Compare Two Texts Online (No Software Needed)

Learn how to spot differences between two versions of a text, document, or code snippet — instantly, in your browser, with no tools to install.

Read article →

FAQ

How do I compare two texts?

Paste your original text in the left box and the modified version in the right box, then click Compare. Added lines appear in green, removed lines in red, and unchanged lines in gray.

What does "ignore whitespace" do?

When enabled, differences caused only by extra spaces, tabs, or line endings are not counted as changes.

What does "ignore case" do?

When enabled, uppercase and lowercase differences are ignored — "Hello" and "hello" are treated as identical.

Is my text sent to a server?

No. The comparison runs entirely in your browser. Your text never leaves your device.

Can I compare code with this tool?

Yes. The tool works for any plain text including code, JSON, CSV, or prose.

Related tools