JSON tools that run in your browser
JSON is the interchange format of the web, API payloads, config files, log lines, database exports. These ten JSON and XML tools cover the everyday jobs: pretty-print and validate a document with exact error positions, format and validate XML, open a CSV or TSV as a table, strip JSON down to its smallest form, diff two documents structurally, query with JSONPath, generate TypeScript interfaces, or convert JSON to YAML for a Kubernetes manifest, to CSV for a spreadsheet and to XML for legacy systems.
Every tool parses per RFC 8259 and runs entirely in your browser tab, so pasting a production API response or a customer data export here is safe: the document is never transmitted, logged or stored on a server.
All 10 JSON tools
Jump straight to a job
Guides
- Pretty-print JSON with jq, Python and JavaScriptCopy commands for jq, python -m json.tool and JSON.stringify. Learn how each handles JSON Lines, invalid input and large integers.
- How to fix “Unexpected token” in JSONUnexpected token means the parser hit illegal syntax: a trailing comma, single quotes, comments or an HTML error page. Find the exact line locally.
- JSON vs YAML vs CSV: which format for which job?JSON for APIs and precision, YAML for human-edited configs, CSV for tabular exports, how data model, comments and types decide, with converters.
- How to fix “XML parsing error: not well-formed”Not well-formed means a syntax break: mismatched tags, a raw ampersand, two roots or a BOM. Find the first error's line and column locally.
- JSON vs YAML vs XML: differences and when to use eachJSON for APIs, YAML for human-edited config, XML for SOAP, SAML and schemas. How the data models differ and how to convert locally.
- What is a CSV file and how to open one safelyA CSV file is a plain-text table (RFC 4180). Open it in your browser so CRM and payroll rows are never uploaded. Delimiters, quotes and a UTF-8 BOM explained.
Looking for something else? Browse the full tool directory or read how the local-only processing works.