JSON ↔ CSV
Turn an array of JSON objects into CSV, or parse CSV headers into JSON objects. Quote-aware parsing runs in the tab so spreadsheets of IDs and emails are not uploaded to a conversion service.
Runs in your browser. Nothing is uploaded.
0 characters · 0 lines
0 characters · 0 lines
About this tool
Turn an array of JSON objects into CSV with a union of keys as the header, or parse CSV into an array of objects. Quoted fields and doubled quotes follow common spreadsheet rules. Nested objects are stringified into a cell rather than exploded into columns.
How to use: paste [{"id":1,"name":"Ada"}], pick JSON → CSV, copy. CSV → JSON uses the first row as keys and coerces numbers/booleans when obvious. A single object is wrapped as one row. Jagged rows get empty strings for missing cells.
Example: two user objects become id,name plus two data lines. A CSV export of IDs never hits a conversion API. This is not Excel; formulas and encoding sniffing are out of scope.
Tables stay on the device. Related: CSV ↔ TSV for delimiter swap, JSON formatter if you need to tidy the objects first. After load, converting works offline.
Related Convert tools
JSON ↔ YAML
Convert JSON to YAML and YAML back to JSON in the browser. Paste a config, Kubernetes snippet, or API fixture and copy the other format. Parsing uses js-yaml locally. Documents are never posted to a converter.
JSON ↔ TOML
Convert JSON objects to TOML and TOML documents back to JSON in the browser. Handy for Cargo.toml, pyproject, and app config fragments. Parsing stays on-device.
JSON ↔ XML
Convert JSON objects to XML and XML documents back to JSON. Useful for SOAP leftovers, RSS, and mixed API stacks. XML is parsed with the browser DOMParser so payloads stay on the device.
JSON to SQL
Turn a JSON object or array of objects into SQL INSERT statements. Set a table name, copy the query, and keep rows on the device instead of pasting fixtures into a hosted converter.
CSV ↔ TSV
Convert comma-separated values to tab-separated values and back, preserving quoted fields. A small delimiter swap for dumps you would rather not paste into a spreadsheet SaaS.
Timestamp Converter
Convert Unix timestamps, milliseconds, and ISO 8601 dates in both directions. See UTC and local time side by side, generate a 'now' epoch, and copy values for logs, databases, and APIs without a round trip to a conversion API.