JSON & Data Format Tools
Format and validate JSON, and convert between CSV, YAML, TOML, and XML.
Inspecting API responses, converting between config formats, and validating data shapes are everyday engineering tasks centered on JSON. The tools in this section all run in-browser, so payloads containing API keys or personal data never leave the device. Formatting, validation, and cross-format conversion are gathered together here.
Tools in this topic (8)
JSON Formatter / Viewer
Format, view, and pretty-print JSON entirely in your browser
JSON Validator
Validate JSON syntax with error detection and formatted output
JSON to TypeScript
Generate TypeScript interface definitions from a JSON sample
JSON to CSV Converter
Convert JSON array to CSV (configurable delimiter, header, and quoting)
JSON to YAML Converter
Convert between JSON and YAML formats instantly in your browser
CSV to JSON Converter
Convert CSV data to JSON format instantly in your browser
TOML to JSON Converter
Convert between TOML and JSON formats instantly in your browser
XML Formatter
Format and prettify XML with customizable indentation or minify it
Related articles
-
JSON vs YAML: when to use each and conversion gotchas
How JSON and YAML differ, their strengths and weaknesses, data loss when converting, and how comments and dates behave.
-
TOML format: a less ambiguous YAML for config files
TOML syntax, tables, arrays, dates, comparisons with JSON and YAML, and where it's used (Cargo, pyproject.toml).
-
XML formatting: attributes vs elements, indentation, namespaces
XML formatting basics, when to use attributes vs child elements, indentation conventions, and how namespaces and CDATA interact with formatters.
-
CSV quoting rules and the spreadsheet compatibility you need to think about
The RFC 4180 quoting rules for CSV, how to encode commas, newlines, and double quotes, and the BOM/line-ending pitfalls for Excel and Google Sheets.
-
JSON key ordering and where deterministic serialization matters
Why JSON object keys are spec-unordered, what real-world implementations actually do, and the cases (signing, caching, diffs) where you need a stable order.
-
JSON Schema basics: a standard for validating data shape
Core JSON Schema keywords, type / properties / required / pattern, $ref reuse, and where it fits in API design and config files.