JSON Tools
Format, validate, convert, and inspect JSON.
Format and pretty-print JSON with 2, 4 spaces or tabs.
View JSON as a collapsible tree and copy any path.
Edit JSON online with live validation, formatting, and a tree preview.
Search and navigate large JSON documents by key, value, and path.
Validate JSON and find syntax errors by line and column.
Validate JSON5 and convert it to standard JSON.
Repair broken JSON: quotes, trailing commas, comments, and more.
Minify JSON to one line and see how many bytes you save.
Remove null values, empty strings, arrays, and objects from JSON.
Sort JSON keys alphabetically, recursively, ascending or descending.
Compare two JSON documents and list added, removed, and changed paths.
Test JSONPath expressions against your JSON and see every match.
Turn JSON into color-highlighted HTML for blogs and docs.
Parse (decode, deserialize) JSON strings into a readable tree.
Convert JSON to an escaped string (encode, serialize).
Turn an escaped JSON string back into formatted JSON.
Convert plain text into a valid JSON string or array of lines.
Convert multi-line text to a JSON string and back.
URL-encode JSON for query strings or decode it back.
Convert JSON to well-formed XML with attributes support.
Convert JSON to clean, readable YAML.
Convert JSON into an HTML table with live preview.
Convert JSON arrays to CSV with flattened nested fields.
Convert JSON to tab-separated values for spreadsheets.
Convert JSON into readable plain text or key paths.
Convert JSON to an Excel .xlsx spreadsheet in your browser.
Convert a JSON array to JSON Lines (NDJSON) and back.
Generate a Protocol Buffers (proto3) schema from JSON.
Convert JSON into a PHP array literal.
Convert TOML to JSON and JSON to TOML.
Validate TOML config files and locate errors.
Decode JSON Web Tokens and read header, payload, and expiry.