PlayWithJSON
15+ Modern Client-Side Tools

All JSON Developer Tools & Utilities

Format, validate, query, convert, and diff JSON, JSON5, YAML, XML, and CSV data directly in your browser. Fast, 100% private, and built for modern software engineers.

Popular

JSON Formatter & Validator

Beautify, validate, minify, and inspect JSON in multi-pane split view with real-time error pinpointing and collapsible tree inspection.

Multi-panel split comparison (up to 4 panels)
Live syntax error line & position detector
Collapsible interactive tree visualizer
New

JWT Decoder Online

Decode JWT header, payload and signature, convert iat/exp/nbf timestamps and check token expiration entirely in your browser.

Decode header, payload and signature
UTC timestamps for iat, exp and nbf
Valid / expired / not-yet-active status
Deterministic

JSON Sorter Online

Sort JSON keys alphabetically (A-Z, Z-A), natural alphanumeric, deep recursive, and order arrays deterministically.

Alphabetical (A-Z, Z-A) and Natural sort
Deep recursive sorting through all nested objects
Sort array elements and objects inside arrays
Comments & Hex

JSON5 Formatter & Studio

Full ECMAScript 5.1 JSON5 support. Format and validate JSON5 configuration files with inline comments, unquoted keys, single quotes, and hex numbers.

Single-line (//) & multi-line (/* */) comments
Trailing commas in objects and arrays
Unquoted identifier keys & single-quoted strings
Bidirectional

JSON ↔ JSON5 Converter

Real-time bidirectional synchronization between strict RFC 8259 JSON and human-friendly JSON5 with intelligent quote handling and linting.

Real-time dual-pane live compilation
Strips comments to generate strict JSON for APIs
Unquotes keys and formats clean idiomatic JSON5
TypeScript

JSON to TypeScript Converter

Generate TypeScript interfaces or type aliases from JSON and JSON5 with nested type extraction, unions and optional field detection.

Interface or type alias output
Nested objects extracted into named types
Optional fields detected from array items
Zod

JSON to Zod Schema Converter

Generate Zod validation schemas from JSON and JSON5 with nullable, optional and union detection plus an inferred TypeScript type.

z.object, z.array and z.union generation
Optional .strict() and .int() modes
z.infer type export
BigQuery

JSON to BigQuery Schema Generator

Generate Google BigQuery Schema JSON and CREATE TABLE DDL from JSON with RECORD structs, REPEATED arrays, and timestamps.

BigQuery Table Schema JSON array export
BigQuery SQL CREATE OR REPLACE TABLE DDL
RECORD (STRUCT) & REPEATED array mapping
GraphQL

JSON to GraphQL Schema Generator

Convert JSON into GraphQL Schema Definition Language (SDL) types, input types, queries, and mutations instantly.

GraphQL SDL type extraction with nested types
Mirror input types for mutations and forms
Pre-built Query and Mutation operations
MySQL

JSON to MySQL Table & INSERT Generator

Convert JSON datasets into MySQL CREATE TABLE statements and parameterized INSERT INTO queries with type inference.

CREATE TABLE DDL with InnoDB and UTF8MB4
Auto-increment PRIMARY KEY inference
Native MySQL JSON column for nested objects
PostgreSQL

JSON to PostgreSQL Table & DDL Generator

Convert JSON into PostgreSQL CREATE TABLE DDL with SERIAL keys, JSONB columns, native array types, and INSERT queries.

PostgreSQL CREATE TABLE with schema support
SERIAL / BIGSERIAL primary key inference
Native PostgreSQL arrays (TEXT[]) and JSONB
Dot Notation

JSON Flattener & Unflattener

Flatten deeply nested JSON into dot notation or unflatten flat key-value pairs back into nested JSON trees with custom delimiters.

Bidirectional flatten and unflatten operations
Dot (.), underscore (_), slash (/), and bracket syntax
Intelligent array reconstruction from numbered keys
Interactive

JSON Tree Visualizer & Mindmap

Visualize complex JSON hierarchies as an interactive, collapsible SVG mindmap and visual node tree with zoom, pan, and search.

Interactive SVG mindmap graph with bezier curves
Smooth infinite drag-to-pan and mouse wheel zoom
Type badges (object, array, string, number, bool)
Compressor

JSON Minifier Online

Compress and minify JSON and JSON5 by stripping extra whitespace, newlines, and comments to reduce payload byte sizes.

Fast whitespace and newline stripping
Comment removal for JSON5 configs
Byte reduction metrics and Gzip size calculation
LLM Tokenizer

JSON Token Counter

Calculate exact token counts for OpenAI GPT-4o, Claude 3.5, and Gemini 1.5 with minification savings and cost estimates.

Multi-model token counts (GPT-4o, Claude 3.5, Gemini)
Minification context space savings calculator
Cost estimations per 1M API request tokens
AI Healer

Broken JSON Repair & Fixer

Automatically fix and heal malformed, truncated, or invalid JSON generated by ChatGPT, Claude, and LLMs in real time.

Auto-close unclosed brackets & braces from truncated AI output
Convert single quotes to valid double quotes
Translate Python True, False, and None to standard JSON
JSON5 Support

JSON ↔ YAML Converter Online

Bidirectional converter between JSON / JSON5 and YAML. Supports JSON5 comments, unquoted keys, and customizable 2-space or 4-space YAML indentation.

Bidirectional instant translation: JSON ➔ YAML & YAML ➔ JSON
Full JSON5 syntax support (inline comments & single quotes)
Configurable 2-space or 4-space YAML indentation
Attributes & XML5

JSON ↔ XML Converter Online

Bidirectional XML & JSON/JSON5 conversion. Preserves XML attributes (@_ prefix), customizable root wrapper tags, and XML declarations.

Bidirectional conversion: JSON ➔ XML & XML ➔ JSON / JSON5
XML attribute preservation via @_ attribute notation
Configurable root element tag (e.g. <root>, <response>)
Table Preview

YAML to CSV Converter Online

Transform YAML records and lists into tabular CSV spreadsheets with intelligent dot-notation object flattening and interactive table grid preview.

Dot-notation flattening of deeply nested YAML structures
Multi-delimiter support (comma, semicolon, tab, pipe)
Live interactive data table view alongside raw CSV output
JSON & JSON5

CSV to JSON / JSON5 Converter Online

Convert CSV and TSV spreadsheets into structured JSON arrays of objects, 2D matrix arrays, or human-friendly JSON5 with automatic type inference.

Dual output: RFC 8259 JSON and relaxed unquoted JSON5
Automatic type inference for numbers, booleans, and nulls
Array of Objects [{...}] or Matrix [[...]] structural modes
Table & Excel

JSON to CSV Converter

Transform nested JSON objects and arrays into clean, RFC 4180 compliant CSV spreadsheets with custom delimiters, quotes, and flatten options.

Custom delimiters (comma, semicolon, tab, pipe)
Smart flattening of nested child objects
Live spreadsheet table preview
Bidirectional

JSON Stringify & Unescape Online

Escape double quotes, forward slashes, and backslashes to stringify JSON into safe literals, or unescape strings back to beautified JSON.

Two-way stringify (JSON ➔ string) & unescape (string ➔ JSON)
Custom quotes (double, single, backtick, or raw escaped)
Code wrappers: JavaScript, Python, cURL, Java, Go, PHP
Smart Mock Data

Text to JSON Generator

Convert natural text syntax and shorthand schema templates into strict structured JSON. Generate realistic mock datasets using smart tokens.

Smart tokens: @uuid, @name, @email, @currency, @city
Array multipliers: users[10] { id, name }
Zero manual quote and bracket syntax headaches
Up to 2,000 Records

Mock JSON Generator

Generate realistic fake JSON data for APIs, testing, and development. Choose from User, Product, Order, and Company templates with custom fields, seeds, and nested schemas.

Pre-built templates: User, Product, Order, Company, Blog, API
High performance generation of up to 2,000 records in ms
Deterministic seed reproduction for automated tests
Visual Diff

JSON Diff & Comparator

Compare two JSON objects side-by-side with color-coded diff highlighting. Detect added, removed, modified, and reordered properties instantly.

Side-by-side synchronized scroll comparison
Unified structural delta breakdown
Visual green (+), red (-), and yellow (~) markers
Draft 2020-12

JSON Schema Generator

Automatically infer and generate valid JSON Schema definitions from raw JSON samples. Supports Draft-07, 2020-12, and Draft-04 standards.

Multi-specification support (Draft-07, 2020-12, Draft-04)
Smart format detection (email, date-time, uri, uuid)
Automated required fields & array item inference
RFC 9535

JSONPath Tester & Query Tool

Execute and evaluate JSONPath expressions live against complex JSON trees with highlighted matches, query history, and cheatsheet.

Comprehensive JSONPath syntax support ($.store.book[*])
Filter expressions and slice operations
Match count, raw extraction & tree highlight

Built for Speed, Privacy, and Precision

No server hops, zero data retention, and fully reactive browser-first architectures.

Client-Side Security

Every payload, token, and schema is parsed and evaluated locally in your browser memory. Nothing ever touches a remote database or logging pipeline.

Modern Formats Supported

First-class support for standard JSON, JSON5 (with comments and unquoted keys), YAML, XML, and CSV tabular records with bidirectional conversion.

Instant & Zero Telemetry

No paywalls, no login requirements, and no tracking cookies. Simply bookmark your favorite tool and format or convert payloads anytime.