{ } JSON Workbench0 network requests. Check DevTools
Privacy-first JSON tools

"Your JSON never leaves the browser":true

Format, diff, convert, and inspect JSON with zero network requests: no backend, no accounts, no uploads. Open DevTools and watch: nothing leaves this page.

Every tool, one workbench

Format / Validate
Pretty-print, minify & validate with exact errors
JSON Editor
Edit, format & validate JSON online
JSON Beautifier
Pretty-print messy or minified JSON
JSON Minifier
Compact JSON to one line
JSON Repair
Fix broken or truncated JSON
JSON Generator
Create mock data from a sample record
Compare / Diff
Semantic diff with ignore rules & array identity
JSON Validator
Strict RFC 8259 check with exact error location
JSON Linter
Lint JSON with precise error locations
JSONPath Tester
Evaluate JSONPath queries live
JSON Schema
Generate a JSON Schema from a sample
Schema Validator
Validate JSON against a schema (Ajv)
JSON Viewer
Explore JSON as a collapsible tree
JSON to Query String
JSON object to URL params
Query String to JSON
URL params to a JSON object
Form to JSON
HTML form fields to a JSON schema
Sort keys
Recursive, diff-friendly key ordering
CSV to JSON
Headers to keys, types inferred
JSON to CSV
Nested JSON flattened to columns
JSON to Excel
Download a real .xlsx workbook
JSON to PDF
Download JSON as a paginated PDF
YAML to JSON
Anchors expanded, Norway-proof
JSON to YAML
JSON to readable YAML
XML to JSON
Attributes, arrays, CDATA handled
JSON to XML
JSON to well-formed XML
JSON to SQL
CREATE TABLE + INSERTs, types inferred
SQL to JSON
INSERT statements to a JSON array
Flatten / Unflatten
Dot-notation paths, both directions
Table view
Arrays as a sortable table
Analyze
Size, depth & structure stats
Escape / Unescape
String escaping, both directions
Stringify
JSON to escaped string literal
Strip comments
JSONC / JSON5 to strict JSON
JSON to Markdown
Arrays to a GFM table
JSON to TypeScript
Generate TypeScript interfaces from a sample
JSON to Python
Generate Python dataclasses from a sample
JSON to Pydantic
Generate Pydantic models from a sample
JSON to Zod
Generate a Zod schema from a sample
JSON to Go
Generate Go structs from a sample
JSON to Java
Generate Java classes from a sample
JSON to C#
Generate C# classes from a sample
JSON to Rust
Generate Rust serde structs from a sample
JSON to Kotlin
Generate Kotlin data classes from a sample
JSON to Swift
Generate Swift structs from a sample
JSON to Dart
Generate Dart classes from a sample
JSON to Ruby
Generate Ruby Dry::Struct types from a sample
JSON to PHP
Generate clean PHP 8 classes from a sample
JWT Decoder
Decode tokens locally, never uploaded
Base64
Encode / decode, UTF-8 safe