About the Diff Checker
Paste the original and changed versions to see exactly what differs. Line mode shows a side-by-side or unified view with changed words highlighted inside modified lines; word and character modes show inline differences for prose and short strings. Options ignore whitespace or case, and you can export a standard unified .patch.
Comparing prose or two lists rather than code? Text Compare shows a similarity score, word-level changes and list differences.
Tip: format both sides first (e.g. with the JSON Formatter using “Sort keys”) to compare JSON documents semantically.
Features
- Side-by-side and unified views
- Line, word and character granularity
- Intra-line word highlighting
- Ignore whitespace / case
- Upload files
- Export unified .patch
How to use it
- Paste or upload the original and changed text.
- Choose the view and comparison granularity.
- Review the highlighted changes or download a patch.
Frequently asked questions
Are my files uploaded?
No — the diff is computed in your browser with the jsdiff library.
Can I compare JSON regardless of key order?
Format both documents with key sorting enabled first, then diff the results.