Fast and local
Real-time comparison runs in your browser with no upload step.
Paste two versions, edit in place, format structured text, and review differences without sending your content to a server.
Text Comparison
Your text is compared locally in your browser. Nothing is uploaded.
Real-time comparison runs in your browser with no upload step.
Clean up JSON, JavaScript, HTML, CSS, Markdown, YAML, and XML before comparing.
Use line, word, or character highlighting for code, prose, hashes, and IDs.
Why it works
Compare Diff highlights text changes as you edit. Switch between side-by-side and stacked layouts, ignore whitespace, blank lines, or case, fold unchanged content with context lines, and apply the active change in either direction.
The editor, diff engine, formatter, syntax highlighting, folding, and display settings run entirely in the browser. Your pasted text stays on your device.
Blog
Workflow
A practical guide to choosing line, word, and character diff modes for code, prose, hashes, and configuration files.
Read guidePrivacy
Learn what browser-side diffing means, when it helps, and why sensitive snippets should stay on your own device.
Read guideFormatting
Structured formatting can turn noisy one-line payloads into a reviewable diff before you copy changes back.
Read guideFAQ
Yes. Select JSON, then format the left side, right side, or both sides before reviewing the diff. The same formatter menu also supports JavaScript, TypeScript, HTML, CSS, Markdown, YAML, and XML.
No. The comparison workflow runs locally in your browser. Display preferences may be saved in local storage so the editor feels the same the next time you open it.
Use line mode for code and documents, word mode for prose, and character mode for short values such as checksums, hashes, IDs, or compact strings.