JSON Tools

Validate, format, convert, and transform JSON data

JSON Tools

Format, minify, and validate JSON in one place.

JSON Repairnew

Fix broken JSON — trailing commas, single quotes, unquoted keys, and more.

JSON Escapenew

Escape special characters in a string for safe embedding in JSON.

JSON Unescapenew

Unescape a JSON-encoded string back to human-readable text.

JSON Stringifynew

Convert a JavaScript object literal to valid, spec-compliant JSON.

JSON Sortnew

Sort all object keys alphabetically (A→Z or Z→A), deeply nested.

JSON Diffnew

Compare two JSON objects and highlight added, removed, and changed fields.

JSONPath Querynew

Run JSONPath expressions to extract data from JSON.

JSON Flattennew

Flatten nested JSON into a single-level object with dot-notation keys.

JSON Unflattennew

Restore a flat dot-notation object back to a nested JSON structure.

JSON Size Analyzernew

Analyze JSON byte size, key count, nesting depth, and type breakdown.

JSON Searchnew

Search for keys or values anywhere in a JSON document.

JSON → YAMLnew

Convert JSON to YAML format.

YAML → JSONnew

Convert YAML to JSON format.

JSON → CSVnew

Convert a JSON array of objects to CSV rows.

CSV → JSONnew

Parse CSV and convert each row to a JSON object.

JSON → XMLnew

Convert JSON to well-formed XML with a configurable root tag.

XML → JSONnew

Parse XML and convert it to JSON.

JSON → TOMLnew

Convert JSON config objects to TOML format.

JSON → SQLnew

Generate SQL INSERT statements from a JSON array.

JSON → TypeScriptnew

Generate TypeScript interfaces from JSON.

JSON → Pythonnew

Generate Python dataclasses from JSON.

JSON → Gonew

Generate Go structs with JSON tags from JSON.

JSON → Javanew

Generate Java POJOs from JSON.

JSON → C#new

Generate C# classes from JSON.

JSON → Rustnew

Generate Rust structs with Serde from JSON.

JSON → Zod Schemanew

Generate a Zod validation schema from JSON.

JSON Schema Validatornew

Validate JSON data against a JSON Schema (Draft 7/2019/2020).

JSON Schema Generatornew

Infer a JSON Schema from an example JSON document.

JWT Decodernew

Decode and inspect JWT header, payload, and expiry.

JSON Token Counternew

Count GPT tokens in any JSON or text (cl100k_base encoding).