JSON
ArrayKit's JSON tools cover the everyday work of building and debugging with JSON, from cleaning up an API response to turning a sample payload into typed code. Use the JSON Formatter to beautify, minify and validate JSON with precise error locations, then open the JSON Tree Viewer or JSON Viewer to explore deeply nested data as a collapsible, typed tree with node paths. When you need code instead of data, JSON to TypeScript generates interfaces from a sample, and JSON to Code produces Go, Rust, Python, Java and C# types. JSON to CSV flattens an array of objects into a spreadsheet, while JSON Escape / Unescape handles stringifying and quoting. These tools are built for developers, data engineers and anyone wrangling config or API output. Everything runs entirely in your browser, so your data never leaves your device.
- JSON Formatter — Beautify, minify and validate JSON with error locations.
- JSON Tree Viewer — Explore JSON as a collapsible, typed tree.
- JSON Viewer — Text + collapsible tree viewer with expand/collapse and node paths.
- JSON to TypeScript — Generate TypeScript interfaces from a JSON sample.
- JSON to CSV — Convert an array of flat JSON objects to CSV.
- JSON Escape / Unescape — Escape text into a JSON string or unescape a JSON string back to raw text.
- JSON to Code — Generate Go, Rust, Python, Java, Kotlin, C# and TypeScript types from JSON.
Frequently asked questions
- Are these JSON tools safe to use with sensitive data?
- Yes. Every JSON tool runs entirely in your browser. Your JSON is parsed and processed locally and is never uploaded to a server, so even sensitive API payloads and config never leave your device.
- Do the JSON tools work offline?
- Once the page has loaded, the tools run client-side, so formatting, validating and converting JSON keep working without a network connection. Nothing is sent out to process your data.
- Can I convert JSON to other formats?
- Yes. JSON to CSV flattens an array of objects into a spreadsheet, JSON to TypeScript generates interfaces, and JSON to Code produces Go, Rust, Python, Java, Kotlin, C# and TypeScript types from a JSON sample.
- How do I find errors in invalid JSON?
- The JSON Formatter validates as it beautifies and points to the location of syntax errors, so you can spot a missing comma, bracket or quote quickly instead of scanning the whole document by hand.
- What is the difference between the JSON Tree Viewer and JSON Viewer?
- The JSON Tree Viewer focuses on exploring JSON as a collapsible, typed tree. The JSON Viewer combines a text view with a collapsible tree, adds expand and collapse controls, and shows the path to any node.
- How do I escape or unescape a JSON string?
- Use JSON Escape / Unescape to turn raw text into a quoted JSON string, or to convert an escaped JSON string back to readable text. It is handy when embedding JSON inside another string or log line.