Text Compare | Find Differences Between Two Texts

Compare two text blocks line by line and highlight added, removed, and changed content for edits, drafts, and code snippets.

Original Text
Modified Text
Comparison Result
+ Added Parts - Removed Parts

Compare Two Text Versions

Paste an original text and a revised text to see added, removed, and changed lines. It helps review edits in articles, emails, contracts, translations, code snippets, and configuration files.

Read Differences Carefully

Line-based comparison can show where content changed, but it may not understand meaning. Review punctuation, whitespace, casing, and reordered paragraphs before accepting the final version.

When Text Diff Is Useful

Use it before publishing copy, sending revised documents, checking generated text, comparing prompts, or confirming that a code or config change contains only the edits you expected.

About This Tool

Text Diff compares two versions of a text side by side and highlights exactly what changed: added lines, removed lines, and modified words. It is used by editors reviewing drafts, developers checking copied code, and writers comparing document revisions.

When to Use It

Use this when you need to see what was added or removed between two drafts, when reviewing a colleague's edits, or when comparing an original template against a customised version.

How to Use

  1. Paste the original text into the left input panel.
  2. Paste the revised text into the right input panel.
  3. The diff view highlights additions in green and removals in red.
  4. Scroll through the comparison to review every change.

Frequently Asked Questions

Does it compare character by character or line by line?

It compares line by line and also highlights inline word-level changes within modified lines, so small edits are easy to spot.

Can I compare code as well as prose?

Yes. Any plain text can be compared, including source code, configuration files, JSON, and Markdown.

Is the comparison case-sensitive?

Yes, by default the comparison is case-sensitive so capitalisation changes are highlighted as differences.