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
Popular 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
- Paste text A and text B.
- Choose diff mode.
- 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.