JSON Tools
JSON is the everyday format for APIs and config files, and most work comes down to a few jobs: make it readable, check it is valid, compare two versions, query part of it or convert it to another format.
Which tool do you need?
Format, validate and compare
JSON Formatter
Format, validate, beautify and minify JSON instantly. Shows the exact line and column of any error. Free and runs in your browser.
Open toolJSON Diff
Compare two JSON documents and see added, removed and changed paths in colour. Key order is ignored, so only real differences are reported. Free and private.
Open toolJSONPath Tester
Test JSONPath expressions against your JSON. See every match with its path. Supports $, ., [], [*], .., slices and simple filters. Free and private.
Open toolConvert JSON
JSON to CSV
Convert a JSON array to CSV in your browser. Flattens nested objects, picks delimiters and downloads a ready .csv for Excel or Sheets.
Open toolCSV to JSON
Convert CSV to JSON in your browser. Auto-detects delimiter, uses the header row as keys, and can convert numbers and booleans.
Open toolJSON to XML Converter
Convert JSON to well-formed XML online with a custom root element, proper escaping and pretty printing. Runs in your browser; your data is never uploaded.
Open toolXML to JSON Converter
Convert XML to JSON online using your browser’s own XML parser. Attributes become @keys, text becomes #text and repeated tags become arrays. Private and free.
Open toolJSON to YAML Converter
Convert JSON to clean, readable YAML instantly. Choose indent size, copy or download the result. Free and runs in your browser.
Open toolYAML to JSON Converter
Convert YAML to JSON instantly with clear error messages. Pretty-printed output, file upload and download. Free and private.
Open toolJSON to TypeScript
Generate TypeScript interfaces or types from sample JSON. Handles nested objects, arrays, optional keys, null and unions. Free and private, in-browser.
Open toolRelated formats
XML Formatter & Validator
Format, indent, minify and validate XML online. Reports well-formedness errors from the browser’s XML parser. Private, free and no sign-up needed.
Open toolSQL Formatter
Format and beautify SQL queries online for standard SQL, MySQL, PostgreSQL, SQLite, BigQuery and more. Choose keyword case and indent, or minify. Private.
Open toolCSV Viewer
Open a CSV file and browse it as a sortable, searchable table with row counts and 100-row paging. Download the filtered rows. Private; nothing is uploaded.
Open toolAbout these tools
JSON is the everyday format for APIs and config files, and most work comes down to a few jobs: make it readable, check it is valid, compare two versions, query part of it or convert it to another format.
Everything here runs in your browser, so you can paste real API responses and config without sending them to a server.
Frequently asked questions
Is my JSON uploaded anywhere?
No. The tools run in your browser and your data stays on your device.
Why does my JSON say it is invalid?
Common causes are trailing commas, single quotes instead of double quotes, unquoted keys and comments. The formatter shows the position of the error.
What is JSONPath?
A query language for JSON, similar to XPath for XML. For example, $.store.book[0].title selects the title of the first book.
Guides
How to verify web design files
How to verify web design files before you accept, publish or hand them off: check they arrived intact, nothing is missing, the code is valid, images are right and the build matches the design.
Read guideJSON vs CSV vs YAML vs XML: when to use each, and what breaks when you convert
Compare JSON, CSV, YAML and XML with examples, learn when each fits, and avoid conversion pitfalls like nested data, lost types, leading zeros and BOMs.
Read guideFree online tools with no sign-up and no upload: what to look for
How to judge whether a free online tool site is trustworthy: signs of hidden uploads, account walls and ad pressure, plus how our own approach compares.
Read guideSee all json & data tools or browse every free tool.