JSON Tools

ArrayKit's JSON tools cover the whole workflow of building and debugging with JSON, from cleaning up an API response to querying, diffing and turning a payload into typed code. Use the JSON Formatter to beautify, minify and validate with exact error locations, and the JSON Viewer and JSON Tree Viewer to explore deeply nested data as a collapsible, typed tree with node paths. Query documents with the JSONPath Evaluator or the jq Playground, compare two payloads with the semantic JSON Diff, and generate or validate contracts with the JSON Schema Generator & Validator. Reshape data with JSON Flatten / Unflatten, JSON to CSV and JSON to TOON. Need code instead? JSON to TypeScript, JSON to Zod, JSON to Pydantic and JSON to Code produce types for Go, Rust, Python, Java, Kotlin, C# and more. JSON Escape handles stringifying. Everything runs in your browser, so your data stays on your device.

Frequently asked questions

What can I do with ArrayKit's JSON tools?
You can format, minify and validate JSON, explore it as a collapsible tree, query it with JSONPath or jq, compare two documents with a semantic diff, generate and validate JSON Schema, flatten or unflatten nested data, convert to CSV or TOON, and generate types for TypeScript, Zod, Pydantic, Go, Rust, Python and more.
Are these JSON tools safe to use with sensitive data?
Yes. Every JSON tool runs in your browser. Your JSON is parsed and processed on your device and is never uploaded, so even sensitive API payloads, config and credentials stay local.
How do I query or filter a JSON document?
Use the JSONPath Evaluator to run JSONPath expressions like $.store.book[*].author and see matched values and paths live, or the jq Playground to run jq filters such as .users | map(.name) and select(.active) with instant results.
Can I compare two JSON files or validate a schema?
Yes. JSON Diff shows a structural, key-order-independent comparison of what was added, removed or changed, each with a path. The JSON Schema Generator & Validator builds a draft-07 or 2020-12 schema from a sample and checks any document against a schema.
Which languages can I generate types for from JSON?
JSON to TypeScript creates interfaces, JSON to Zod builds Zod schemas, JSON to Pydantic emits Pydantic v2 models, and JSON to Code produces Go, Rust, Python, Java, Kotlin, C# and TypeScript types from a sample payload.
How do I convert JSON to CSV or other formats?
JSON to CSV flattens an array of objects into a spreadsheet with a header row, JSON to TOON packs data into a compact token-oriented notation for LLM prompts, and JSON Flatten / Unflatten converts between nested JSON and dot-notation keys.