Online diff

Compare two snippets and spot changes instantly.

Paste two versions of a file or JSON payload to see additions and removals inline. Pair it with the regex tester to validate patterns before committing changes.

Line-by-line diffNo data leaves your browserCopy-friendly output

Left snippet

This is the original or older version.

Characters: 102

Right snippet

This is the new or updated version.

Characters: 155

Diff output

Lines prefixed with + and - show additions and removals.

{
"name": "DevTools Today",
- "features": ["JSON formatter", "curl converter"],
+ "features": [
- "status": "beta"
+ "JSON formatter",
- }
+ "curl converter",
+ "JWT decoder",
+ "Base64 toolkit"
+ ],
+ "status": "live"
+ }

Frequently asked questions

Quick answers for developers landing here from search.

What kind of data can I diff?

Paste plain text, code, or JSON payloads. The tool compares line-by-line so you can review config or copy changes quickly.

Is there a size limit?

You can diff reasonably large snippets, though we recommend keeping inputs under a few thousand lines for performance in the browser.

Does my content leave the browser?

No. Everything runs locally so you can diff sensitive payloads without uploading them to a server.