How to compare two texts
- Paste the original version on the left and the edited version on the right.
- Review the highlights — additions and deletions are marked line by line.
- For JSON or other structured text, switch to the structured comparison mode.
- Export or copy the diff when you need to share the changes.
Frequently Asked Questions
Which formats does the text diff support?
It precisely compares plain text, JSON, XML, and other formats, highlighting the differences.
Can the result be exported?
Yes, the comparison result can be exported for easier collaboration and code review.
How do I use the text diff tool?
Type or paste content into the left and right panels, choose the content type, and click 'Compare' to highlight the differences.
How do I read the diff result?
Results are shown side by side: red marks deleted/old values and green marks added/new values; JSON is compared line by line along field paths.
Are keyboard shortcuts supported?
Yes, Ctrl+Enter triggers the comparison.
What do the highlight colors mean?
One color marks additions in the edited text and another marks deletions from the original, so a quick glance shows exactly what changed and where.
Can it compare JSON documents?
Yes. The structured mode understands JSON nesting, so moved or re-formatted blocks are matched sensibly instead of showing as a wall of changes.
Is my text uploaded to a server?
No. The comparison algorithm runs locally in your browser, so drafts, contracts and logs never leave your machine.