Home › Programmer & Developer Tools › JSON Diff

JSON Diff

Compare two JSON objects structurally — or two blocks of code/text line by line and word by word — to spot added, removed, and changed values instantly. JSON mode also accepts Python dicts (single quotes, True/False/None), so you can diff dictionary output directly.

How to use JSON Diff

  1. Paste the original on the left and the changed version on the right.
  2. Choose JSON, Line, or Word mode.
  3. Review the highlighted additions, deletions, and modifications.

Frequently asked questions

What does JSON mode do differently?
It compares the parsed structures key by key, reporting added, removed, modified, and type-changed paths instead of raw text lines.
Can I diff two Python dictionaries?
Yes. In JSON mode each side accepts a Python dict or list literal (single quotes, True/False/None, tuples, trailing commas) as well as JSON, so you can compare dictionary output without converting it first.
Is my data private?
Yes — the comparison happens entirely in your browser; nothing is uploaded.

More Programmer & Developer Tools

  • JSON Validator — Validate, parse, and prettify JSON — load it from a URL or curl command, or convert a Python dict (single quotes, True/False/None) to JSON. Identifies syntax errors with precise line number reporting.
  • Code Beautifier — Automatically format your JavaScript, CSS, and HTML with customizable indentation and style rules.
  • Minifier — Reduce bundle sizes by removing whitespace, comments, and optimizing code structure for production.
  • SQL Formatter & Beautifier — Pretty-print and indent SQL queries across dialects (PostgreSQL, MySQL, T-SQL, BigQuery, and more) with configurable keyword casing.
  • XML Formatter — Beautify and validate XML with configurable indentation, or minify it to the smallest valid output — entirely in your browser.
  • RegEx Tester — Build and test regular expressions in real-time with syntax highlighting and match group visualization.
  • Base64 Converter — Quickly encode and decode strings or files to Base64 format for safe data transmission.
  • URL Encoder / Decoder — Percent-encode or decode text, URLs, and query strings — with batch line mode and a parsed parameter breakdown.