Text A
Text B

Compare Text

See every line that changed between two blocks of text or files (.txt, .md, .xml, .html, .sql). Free, no account needed.

How to compare text

  1. Paste your first text block into the left panel — or load a text file straight into it.
  2. Paste or load the second version into the right panel.
  3. Every changed line is highlighted instantly — additions in green, removals in red.

Key features

  • Paste text or load .txt, .md, .xml, .html, .sql and other text files
  • LCS diff algorithm — accurate line-by-line change detection
  • Additions in green, deletions in red, unchanged lines shown for context
  • Ignore-whitespace toggle — free, no account or payment required

Common uses

  • Compare any two text blocks — code, config, prose, notes, or log output
  • Load two versions of a Dockerfile, SQL migration, or config file and diff them
  • Paste clipboard content from any source and see exactly what changed

Frequently asked questions

How do I compare text online?

Paste your first text block into the left panel — or load a text file straight into it. Paste or load the second version into the right panel. Every changed line is highlighted instantly — additions in green, removals in red.

Are my files private when I use this tool?

Yes. All comparison runs locally in your browser. Your files never leave your device and are never sent to any server — not a policy promise, but an architectural fact. There is no server receiving your data.

No AI means no hallucinations

Compare Files uses a deterministic, logic-based engine — not a language model. It reports every change that is actually in your files, and never invents one.

Private

Your files never leave your device. Everything runs in your browser — no uploads, nothing stored.

Certain

No AI, so no hallucinations. A deterministic engine reports every real change and never invents one.

Fast

No upload, no server wait. Comparisons run locally and keep working offline once the page has loaded.