Compare two text snippets
Original: The signup form saves drafts. Changed: The signup form saves draft answers.
Word diff highlights the added word answers and shows the summary counts.
Compare text, code, config, or JSON snippets locally and highlight additions, removals, and unchanged content.
Compare two pieces of text, code, config, logs, or JSON in your browser. This diff checker shows added, removed, changed, and unchanged content without uploading your snippets to a remote comparison service.
Runs locally in your browser. Compared text, JSON, settings, and generated diffs are not uploaded.Comparison happens locally in this browser tab. Text, code, JSON, settings, generated diffs, and copied output are not uploaded or placed in the URL.
Copy patterns and edge cases worth checking.
Original: The signup form saves drafts. Changed: The signup form saves draft answers.
Word diff highlights the added word answers and shows the summary counts.
Use Ignore whitespace when indentation changed but the actual values did not.
timeout: 3000 retries: 2 changed to timeout: 5000 retries: 2 cache: true
Line diff marks the timeout change and the new cache line.
Invalid JSON is shown as a local parse error with the side that failed.
{"name":"Ada","roles":["admin"]}
changed to
{"roles":["admin","editor"],"name":"Ada"}JSON mode parses both inputs, pretty-formats them, then compares the normalized JSON.
Short answers before you paste real data.
No. Text comparison, JSON parsing, diff rendering, summary generation, and copy actions run in the current browser tab.
Use line diff for code, config, logs, and paragraphs. Use word diff for sentence edits. Use character diff for short strings where one symbol matters.
JSON mode parses both inputs as standard JSON, pretty-formats valid values with stable indentation, and compares the formatted output line by line.
This browser tool is intended for snippets and small files. Very large character-level comparisons can be slow, so the tool asks you to use line mode or a smaller snippet when needed.
Useful next steps that also run locally in your browser.
Format, minify, and validate JSON with calm parse errors and copy-ready output.
Decode JWT headers and payloads, inspect claims, or encode unsigned and HMAC-signed JWTs locally in your browser.
Encode UTF-8 text to binary bytes or decode binary back to text locally in your browser.