About the Text Compare (Diff Checker)
Paste the original text on one side and the modified text on the other to see exactly which lines were added, removed or changed. It works for code, configuration files, documents and JSON. An option to ignore whitespace helps when only indentation changed.
How to use it
- Paste or drop the modified text on the left and the original on the right.
- Press Process to see highlighted differences and a summary count.
- Use Swap to reverse the sides, or tick Ignore whitespace to hide indentation-only changes.
Common use cases
- Code and config review: see what changed between two versions.
- Documents: find edits between drafts of contracts or articles.
- JSON: format both sides first, then compare data changes only.
Reading the result
Green lines are additions, red lines are removals, and the summary counts both. Use Swap if you pasted the sides the wrong way round, and Ignore whitespace to hide indentation-only changes. More in comparing two JSON files.
Frequently asked questions
How is the comparison done?
The tool compares line by line using a longest-common-subsequence diff, the same idea used by version control tools.
Can I compare two JSON files?
Yes. Format both with the JSON Formatter first so key order and indentation are consistent, then compare.