Realm by Rook
AI product engineeringProduct designAI implementationWorkflow automationSystems integrationDomain strategyAI product engineeringProduct designAI implementationWorkflow automationSystems integrationDomain strategy
Text & Content Tools

Text Diff Checker

Compare two texts and find differences

How to use

  1. Paste original text in the left panel
  2. Paste modified text in the right panel
  3. View differences highlighted below

Use cases

  • Code review
  • Document comparison
  • Version control
  • Content editing

About the Text Diff Checker

A text diff checker shows the difference between two versions of any text — code, prose, JSON, logs, contracts — by identifying which lines were added, removed, or kept. Instead of reading both documents end-to-end, you see only what changed, which is how engineers review pull requests and editors review revisions. This tool runs fully client-side using a longest-common-subsequence algorithm, so your content never leaves the browser.

Features

  • LCS-based line diff — shows real insertions and deletions, not just pairwise changes
  • +/− change counts per diff
  • CRLF / LF normalized automatically
  • Copy unified patch for use in git or code review
  • Handles 8,000+ line documents

How it works

  1. Paste the original version into the left panel.
  2. Paste the modified version into the right panel.
  3. Changes are highlighted instantly: green for additions, red for removals, neutral for unchanged lines.
  4. Use 'Copy Patch' to grab a unified-diff output for code review or changelogs.

Frequently asked questions

What is a text diff?

+

A text diff is a visual comparison between two versions of text that shows what was added, removed, or left unchanged. It's the same concept git uses in pull requests.

Is my text sent to a server?

+

No. All comparison runs entirely in your browser. Nothing is uploaded, logged, or stored.

Can I compare long documents?

+

Yes — the tool comfortably handles documents up to around 8,000 lines combined before falling back to a pairwise view.

Does it work with non-English text?

+

Yes. Unicode is handled correctly, including CJK, Arabic, and emoji.

Can I export the diff?

+

Yes — click 'Copy Patch' to copy a unified-diff style output you can paste anywhere.