security

Text Compare — Find Differences Between Two Texts Online

Compare two texts with unified, context, or ndiff output (difflib).

Local Processing What you type (or the file you choose) stays on your device — it is processed in this browser and never sent to Fah Swe servers.

What is Text Diff / Compare?

Text Diff / Compare is a free online diff checker that compares two pieces of text and highlights what was added, removed or changed. It shows a similarity percentage with unified, context or ndiff views.

Compare two texts online with difflib. See unified or context diffs and similarity — free text diff tool on Fah Swe Tools.

Key features

  • Unified, context and ndiff output
  • Similarity percentage
  • Works with code, documents and lists
  • Private — text is not stored

Common uses

  • Compare two versions of a document or contract
  • Review code or config changes
  • Find changes between two lists

Also known as: Diff Checker, Compare Text Online, Text Difference Finder.

How to use

  1. Paste text A and text B.
  2. Choose diff mode.
  3. Review similarity % and the diff.

FAQ

Max size?

About 200,000 characters per side.

How do I compare two texts?

Paste the original in the first box and the new version in the second, then run the comparison.

Can I compare code?

Yes. The diff works line by line, which suits source code and config files.

↑↓ move Enter open CtrlK search anywhere

Add Fah Swe Tools to your Home Screen

  1. Tap the Share button in your browser.
  2. Scroll and choose “Add to Home Screen”.
  3. Tap “Add”. Fah Swe Tools then opens full screen from your Home Screen.