Text Diff Tool Online
Advanced Text Comparison Tool
This tool lets you visualize differences between two versions of text or code. It runs entirely in your browser; no data is sent to any server.
Frequently Asked Questions
Split view shows both texts side by side with differences aligned. Unified view (like `git diff`) shows a single stream with added lines (prefixed with `+`) and removed lines (`-`).
The tool can compare raw JSON in text mode, but also offers syntax highlighting to easily spot structures. For semantic comparison, format your JSON first with our JSON formatter.
Yes, the "Share" button generates a URL with the full state (both texts and options) encoded in the URL fragment. Copy the link and send it to a colleague — everything is decoded locally.
Yes, within changed lines, added or removed words are highlighted in green and red for maximum precision.
JSON, SQL, YAML, JavaScript, Python, and many more. Auto-detection tries to guess the format. You can also force a language.