JSON Tools

One Tool for
All Your JSON Tasks

Format, validate, query, diff, flatten, convert. Zero dependencies. One Python file. Works with pipes.

10 Commands, One Tool

Every JSON operation you need, without learning jq syntax or installing anything.

Format & Minify

Pretty-print with syntax highlighting, or strip all whitespace for production.

Validate

Check if JSON is valid. Shows exact line and column of errors.

Query

Extract values with dot notation: users[0].name. No jq syntax to learn.

Diff

Compare two JSON files. See additions, removals, and changes instantly.

Flatten / Unflatten

Convert nested JSON to flat dot-notation keys and back. Great for config files.

CSV Convert

JSON arrays to CSV and back. No pandas, no scripts — one command.

See It in Action

$ python jsonkit.py diff staging.json prod.json
~ $.users[0].email:
    old: "test@staging.com"
    new: "real@company.com"
+ $.users[3]: {"name": "New User"}
- $.debug_info

$ python jsonkit.py stats api_response.json
JSON Structure Stats
  Size: 2.3 MB · Depth: 4 · Keys: 18,705
  Types: string (8,241) integer (6,235) null (404)

$ curl -s api.example.com/data | python jsonkit.py query - "results[0].name"
Alice Johnson

Free vs Pro

The free version covers daily JSON tasks. Pro adds schema tools, type generation, and bulk processing.

FeatureFreePro ($19)
Format / minify / sort keysYesYes
Validate with error locationYesYes
Dot-notation queryYesYes
Diff two filesYesYes
Flatten / unflattenYesYes
JSON ↔ CSVYesYes
Structure statsYesYes
JSONPath queries ($.store.book[*])Yes
Schema generation & validationYes
Type generation (Python/TS/Go)Yes
Deep merge with conflict resolutionYes
JSON Patch (RFC 6902)Yes
Bulk directory processingYes
JSON ↔ YAMLYes
HTML structure reportsYes

Stop switching between 5 different JSON tools

One file. Zero dependencies. All the JSON operations you need.