Text Diff Tool - Paste your original and modified text. Differences are highlighted live as you type.
How the Text Diff Tool Works
Paste your original text into the left pane and the modified text into the right. The diff updates live as you type - no button to press, no file upload, nothing sent to a server. Differences are highlighted in three colors so you can scan them at a glance.
- Red - Removed
- Lines that exist in the original but are missing from the modified version.
- Green - Added
- Lines that are new in the modified version and did not exist in the original.
- Orange - Altered
- Lines that exist in both versions but have been changed. The exact characters that changed are highlighted within the line so you can see which word or token was edited.
- Runs entirely in your browser
- The diff algorithm runs locally in JavaScript. Your text is never uploaded, logged, or stored. You can use the tool offline once the page has loaded.
Common Use Cases
Proofreading edits
Paste the original and the revised draft to see every change a reviewer made without hunting through the document line by line.
Reviewing config or code changes
Quickly compare two versions of a configuration file, a JSON payload, or a code snippet when you do not have access to a full diff tool.
Checking translations
Compare two variants of translated copy to confirm only the intended parts differ.
Auditing generated output
When a script produces text, diff its output against a known-good baseline to catch unintended regressions.
Frequently Asked Questions
Is my text uploaded anywhere?
No. The diff runs entirely in your browser using JavaScript. Your text is never sent to our servers, never stored, and never logged. You can verify this by opening the browser developer tools and watching the Network tab while you type.
What does each color mean?
Red highlights lines removed from the original. Green highlights lines added in the modified version. Orange highlights lines that exist in both but have been changed - within those lines, the specific characters that differ are highlighted so you can spot the exact edit.
Is there a size limit?
There is no hard limit, but for very large inputs the tool falls back from character-level to line-level diff to keep the interface responsive. You will see a notice at the top of the toolbar when this happens.
Can I compare code?
Yes. The tool treats input as plain text, so it works for code, JSON, YAML, log files, and any other text format. It does not do syntax highlighting, but all differences are shown accurately.
How is this different from using git diff?
git diff requires the text to be in a repository and only works with files on your local machine. This tool lets you paste any two pieces of text directly - email drafts, Slack messages, documents - and see the difference without any setup.
Does the tool work offline?
Yes, once the page has loaded. All diffing happens locally in your browser, so you can disconnect from the network and keep using it.
Learn more about Hexbon Diff
Read why we built a diff tool that never uploads your text, and what it is good for.
Read the articleRelated Tools
Other free tools from Hexbon you may find useful.