Original lavender JSON document with a magnifying glass

DATA & DEVELOPER TOOLS

JSON Validator & Diff

Catch a syntax typo, tidy the formatting, or see exactly which paths changed between two versions.

✓ Syntax validation⌘ Pretty formatting↔ Path-by-path diff◈ Private in this tab

YOUR JSON WORKBENCH

Check it. Compare it. Keep it tidy.

Validate syntax, format a clean copy, or compare two documents by their paths. It all stays in this browser.

✓ Private on this device
01

Original JSON

Paste or type a document up to 2 MB

0 / 2 MB
02

Compare with

Optional second JSON document

0 / 2 MB

Documents are parsed in this tab and are never uploaded or saved automatically. This tool checks JSON syntax and structure; it does not validate a separate JSON Schema.

HOW IT WORKS

See the detail without losing the shape.

Objects and arrays are compared by their keys and positions. A JSON diff can show structural changes; it does not decide whether those changes fit your app.

  1. 1
    Paste one JSON document

    Check syntax and pinpoint a parse error with its line and column.

  2. 2
    Format or add a second version

    Copy or download the clean, pretty-printed document.

  3. 3
    Review changed paths

    See additions, removals, and value changes in nested data.