99tools

JSON & Data

JSON is easy to write and awkward to read, especially when it arrives minified from an API or nested six levels deep. These tools format and validate it, show you where a parse error actually is, compare two documents so you can see what changed, and convert between JSON, YAML, CSV, XML and TOML. Every one of them parses in the browser, so you can paste a production response or a token payload without it leaving your machine.

Tabular data has its own kind of comparison. Two exports of the same table rarely differ in the way a text diff reports: rows move, and what you want to know is which rows are new, which are gone and exactly which cells changed — matched on a key column, so reordering means nothing.

A CSV can also go straight into a database. Each column’s type is worked out from every value in it — whole numbers, exact decimals, floating point, booleans, dates, timestamps or text, with a leading zero keeping a postcode as text — and the table comes out as CREATE TABLE and INSERT statements for PostgreSQL, MySQL, SQLite or SQL Server, each quoted and escaped by that database’s own rules.

Data that comes one record a line — NDJSON or JSON Lines, from a log or an export — is checked line by line, turned into a JSON array or back, and summarised field by field, with every number, string and key copied exactly as written rather than parsed and rewritten.

JSON Formatter & ValidatorBeautify or minify JSON, validate it and jump straight to the first syntax error. Runs entirely in your browser.JSON DiffCompare two JSON documents and see exactly what changed. Key order and whitespace are ignored, and you can copy the result as a JSON patch.JSON Tree ViewerExplore JSON as a collapsible tree, copy the path of any node, and pull out values with a path expression or a plain text search.JSON to YAML ConverterConvert JSON to YAML and YAML back to JSON, with anchors resolved, multi-document streams handled and a warning for values JSON cannot hold.JSON to CSV ConverterTurn JSON into CSV or CSV into JSON, with nested values flattened into columns, quoted fields handled properly and a preview of the table.XML to JSON ConverterConvert XML to JSON and JSON back to XML, keeping attributes and text nodes, with validation errors reported by line and column.TOML to JSON ConverterConvert TOML to JSON and JSON back to TOML, with clear reporting for the values TOML cannot hold, such as null and a non-table root.JSON to TypeScript & TypesTurn a JSON sample into TypeScript interfaces, Go structs, Rust serde structs, Python dataclasses or Kotlin data classes.JSON Schema Generator & ValidatorBuild a JSON Schema from a sample document, or check JSON against a schema and see every problem with the exact path that failed.JSON Escape & UnescapeEscape text for use inside a JSON string, decode an escaped string back to plain text, or turn a JavaScript literal into strict JSON.XML Formatter & ValidatorPretty print or minify XML and catch mistakes by line and column, keeping comments, CDATA and attribute order exactly as they were.SQL FormatterPretty print or minify SQL for PostgreSQL, MySQL, SQL Server, SQLite, Oracle and more, and fill ?, $1 and :name parameters back into a logged query.CSV to SQLTurn a CSV into CREATE TABLE and INSERT statements for PostgreSQL, MySQL, SQLite or SQL Server, with column types inferred and every value escaped.NDJSON / JSON LinesCheck NDJSON or JSON Lines line by line, turn it into a JSON array or back, reflow pretty-printed records, and see every field — with numbers kept exactly.CSV & Excel ViewerOpen a CSV or Excel file as a sortable, searchable table and export it as CSV, JSON or a workbook. Your file never leaves your device.JSONPath TesterRun a JSONPath query against your JSON and see every match with the path that reached it. Says where a broken expression went wrong, not just that nothing hit.CSV DiffCompare two CSV exports row by row on a key column: which rows are new, which are gone, and exactly which cells changed. Reordering rows changes nothing.