Skip to content

JSON Formatter & Converter

Format, minify, and validate JSON, or convert it to YAML, XML, CSV, and TypeScript in your browser.

JSON workspace

Input

0 lines · 0 B

Output

Formatted or converted text will appear here.

—
Processed in your browserInput limit is 2 MiB.Ctrl / ⌘ + Enter to run

Convert a JSON array of records to CSV

Load the example or paste an array such as [{"name":"Orion","active":true},{"name":"Lyra","active":false}]. Choose Convert, set the output format to CSV, and copy or download the result. The object keys become column names.

When records have different keys, missing and null values become empty cells. Nested objects and arrays stay together as JSON text inside a cell. Run Validate first if you see a conversion error. CSV conversion requires distinct keys within each object.

Comments

Sign in or create an account to join the discussion.

Loading comments…