JSON Tools — Validate, Format, Diff & Repair
Eleven browser-based JSON utilities: syntax validation, formatting, structural diff, escape/unescape, tree viewer, repair, TypeScript type generation, JSONPath testing, key/array sorting, and document merge. For minify-family compression see minify JSON and beautify JSON.
- Validate, format, and diff JSON documents.
- Repair broken JSON and escape or unescape strings.
- Generate TypeScript types from sample payloads.
JSON Validator
Check JSON syntax with precise error locations before you ship configs or API fixtures.
JSON Formatter
Prettify JSON with consistent indentation when readability matters more than byte count.
JSON Diff
Spot structural differences between two JSON documents during reviews or regression checks.
JSON Escape
Escape or unescape string literals for safe JSON embedding — tabs for both directions, no server uploads.
JSON Unescape
Restore escaped JSON string literals to readable text — ideal after copy-paste from configs, APIs or logs.
JSON Tree Viewer
Browse JSON as a collapsible tree with search — ideal for exploring configs and API payloads.
JSON Repair
Fix broken JSON syntax locally — trailing commas, unquoted keys — then validate before shipping.
JSON → TypeScript
Generate TypeScript interfaces or types from JSON samples — client-side, ideal for API fixtures.
JSONPath Tester
Test JSONPath expressions with filters, wildcards, and tree highlighting — Classic and RFC 9535 dialects.
JSON Sort
Sort object keys and arrays recursively — alphabetical, natural, or numeric order for canonical, diff-friendly JSON.
JSON Merge
Merge two JSON documents with deep or shallow strategy, array controls, and conflict preview — browser-local.
Guides

JSON Schema: Validate Data Online (Draft 2020-12)
Test API payloads and config files against JSON Schema Draft 2020-12 — errors pinpointed by JSON Pointer path, in the browser.

JSON Formatter, Diff and Tree Viewer: Compare and Explore Payloads
Format, diff two API responses and explore deep JSON in a tree — a no-install debug workflow in your browser.

Validate and Repair JSON Online: A Practical Guide
Trailing commas, single quotes, Excel exports: diagnose and fix broken JSON before it reaches production.

Optimize REST API Performance with JSON Minification
Speed up your REST APIs by optimizing JSON payloads. Minification, compression, pagination and best practices for ultra-fast APIs.

JSON Minification Guide — APIs, Config Files & Express
Minify JSON for APIs and config files: JavaScript, Python and jq examples, Express middleware, and when minification beats pretty-printing in production.

Debug Minified JavaScript: Source Maps and DevTools
Debug minified JavaScript without guessing: Chrome pretty-print, source maps in production, and a local unminify step when maps are missing.