JSON Tools

Validate, format, convert, and transform JSON data

31 tools available

JSON Tools

Format, minify, and validate JSON in one place.

JSON Repair

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

new
JSON Escape

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

new
JSON Unescape

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

new
JSON Stringify

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

new
JSON Sort

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

new
JSON Diff

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

new
JSONPath Query

Run JSONPath expressions to extract data from JSON.

new
JSON Flatten

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

new
JSON Unflatten

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

new
JSON Size Analyzer

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

new
JSON Search

Search for keys or values anywhere in a JSON document.

new
JSON → YAML

Convert JSON to YAML format.

new
YAML → JSON

Convert YAML to JSON format.

new
JSON → CSV

Convert a JSON array of objects to CSV rows.

new
CSV → JSON

Parse CSV and convert each row to a JSON object.

new
JSON → XML

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

new
XML → JSON

Parse XML and convert it to JSON.

new
JSON → TOML

Convert JSON config objects to TOML format.

new
JSON → SQL

Generate SQL INSERT statements from a JSON array.

new
JSON → TypeScript

Generate TypeScript interfaces from JSON.

new
JSON → Python

Generate Python dataclasses from JSON.

new
JSON → Go

Generate Go structs with JSON tags from JSON.

new
JSON → Java

Generate Java POJOs from JSON.

new
JSON → C#

Generate C# classes from JSON.

new
JSON → Rust

Generate Rust structs with Serde from JSON.

new
JSON → Zod Schema

Generate a Zod validation schema from JSON.

new
JSON Schema Validator

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

new
JSON Schema Generator

Infer a JSON Schema from an example JSON document.

new
JWT Decoder

Decode and inspect JWT header, payload, and expiry.

new
JSON Token Counter

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

new