JSON Tools
Format, validate, view, query and convert JSON - and turn it into code classes.
JSON FormatterBeautify JSON with 2 / 4 spaces or tabs, optionally sort keys; errors show the exact line and column.PopularJSON ValidatorCheck that JSON is valid; the first error is reported with line and column and highlighted.PopularJSON MinifierRemove all whitespace from JSON to make it as small as possible.JSON ViewerExplore JSON as a collapsible tree with types, counts and copyable paths.PopularJSON to XMLConvert JSON to XML: "@" keys become attributes, arrays repeat the element.JSON to CSVTurn an array of objects into CSV (nested keys flattened with dots), ready for Excel.PopularJSON to TSVTurn JSON records into tab-separated values.JSON to YAMLConvert JSON to clean, readable YAML.JSON Sort KeysSort every object key alphabetically (deep) for stable diffs.JSON EscapeEscape text so it can be placed inside a JSON string.JSON UnescapeTurn an escaped JSON string back into plain text.JSON to TypeScriptGenerate TypeScript interfaces from a JSON sample (nested objects and arrays included).PopularJSON to Go StructGenerate Go structs with json tags from a JSON sample.JSON to Java ClassGenerate Java classes (POJOs) with getters and setters from JSON.JSON to Python DataclassGenerate Python dataclasses with type hints from JSON.JSONPath TesterQuery JSON with JSONPath ($..price, filters [?(@.price > 4)]) and see every match with its path.