JSON Tools
A complete toolkit for working with JSON — format, validate, convert and transform. Every tool runs locally in your browser; nothing is uploaded.
JSON Formatter & Validator
Pretty-print, minify and validate JSON with precise error locations.
JSON to CSV Converter
Convert JSON arrays to CSV, ready for Excel or Google Sheets.
JSON to TypeScript
Generate TypeScript interfaces from any JSON sample.
JSON to XML Converter
Convert JSON objects and arrays to clean, readable XML.
JSON to YAML Converter
Convert JSON to YAML for configs, Kubernetes and CI pipelines.
XML to JSON Converter
Convert XML documents to JSON, with attributes and arrays preserved.
JSON Escape / Unescape
Escape text into a JSON string literal and back, plus URL encoding.
JSON Flatten / Unflatten
Flatten nested JSON to dot notation and reconstruct it.
JSON Key Sorter
Sort JSON object keys alphabetically, recursively.
Working with JSON
JSON (JavaScript Object Notation) is the standard data format for APIs, configuration files and structured logs. This collection covers the full workflow: validate and format raw payloads, convert between JSON and CSV, XML, YAML or TypeScript, and transform structures with escaping, flattening and key sorting.
Why these tools are different
Every conversion runs entirely in your browser using native JavaScript — there is no server round trip. That means instant results, offline capability, and safety for confidential data such as API responses containing tokens or customer records.
FAQ
Which JSON tool should I start with?
If your JSON is unformatted or you suspect a syntax error, start with the Formatter & Validator — it reports the exact line and column of any error.
Can I convert JSON to Excel?
Use JSON to CSV: the output opens directly in Excel and Google Sheets.
Do you support JSON5 or comments?
Standard JSON only. Strip comments first, then format.