Free JSON tools
Format, validate, compare, convert and generate code from JSON. Every tool runs in your browser, so your data stays on your device.
Format & validate
- JSON FormatterBeautify, validate and repair JSON, with a collapsible tree view.
- JSON Minify & EscapeCompress JSON to one line, escape or unescape strings and decode \u escapes.
- JSON SortOrder keys alphabetically, including nested objects and arrays.
- JSON CompareCompare two JSON documents and list every added, removed or changed value.
- JSONPath TesterQuery JSON with JSONPath expressions and see the matches instantly.
- JSON5 ConverterTurn JSON5 with comments and trailing commas into strict JSON, and back.
- JSON Schema ValidatorValidate JSON against a schema, or generate a schema from your data.
- JSON Graph ViewerExplore JSON as an interactive diagram of connected boxes.
Convert
- JSON to YAMLConvert JSON to YAML and YAML to JSON for configuration files.
- JSON to XMLConvert between JSON and XML, including attributes and repeated elements.
- JSON to CSVTurn JSON arrays into CSV for Excel, or CSV into JSON.
- JSON to ExcelCreate .xlsx files from JSON, or turn spreadsheets into JSON.
- JSON to TOMLConvert between JSON and TOML configuration files.
- JSON to SQLGenerate INSERT and CREATE TABLE statements from JSON, and back.
- JSON to TOONShrink JSON into token-efficient TOON for LLM prompts, and back.
- JSON to Query StringConvert JSON to URL query parameters and parse query strings into JSON.
- JSON to PropertiesConvert between JSON and Java .properties files with dotted keys.
- JSON to Postman Bulk EditTurn JSON into Postman key:value lines for form data and headers, and back.
- PHP Serialize ConverterUnserialize PHP data to JSON, serialize JSON, or create PHP arrays.
Generate code
- JSON to TypeScriptGenerate TypeScript interfaces from a JSON sample.
- JSON to JavaCreate Java POJO classes with getters and setters or Lombok.
- JSON to GoGenerate Go structs with json tags.
- JSON to PythonGenerate Python dataclasses or Pydantic models with type hints.
- JSON to C#Generate C# classes for System.Text.Json or Newtonsoft.Json.
- JSON to KotlinGenerate Kotlin data classes for kotlinx.serialization, Jackson or Klaxon.
- JSON to SwiftGenerate Swift Codable structs or classes from JSON.
- JSON to RustGenerate Rust structs with Serde Serialize and Deserialize.
- JSON to DartGenerate null-safe Dart models with fromJson and toJson for Flutter.
- JSON to C++Generate C++ structs with nlohmann/json serialization.
More tools
Why PixNudge
Nothing is uploaded
Your data is processed in your browser and never sent to a server, so API keys, tokens and customer data stay private.
Instant, even for large files
There is no round trip to a server: results appear as you type, and files of several megabytes are handled smoothly.
Exact numbers
Long numbers such as 64-bit IDs are kept exactly as written instead of being rounded.