All toolsJSON to CSV / YAML

JSON & data tool

JSON to CSV / YAML Converter

Turn JSON into a clean CSV table or readable YAML. Every conversion stays in this browser.

Output
JSON
0 lines0 characters0 B⌘/Ctrl + Enter to convert
0 lines0 characters0 B
Paste JSON, choose a format, then convert.

About this tool

Move JSON into the format you need

JSON works well for APIs and applications, while CSV is easier to open in spreadsheet software and YAML is often clearer for configuration files. This converter bridges those formats without an upload step.

CSV conversion builds a union of the available columns so records with different fields stay aligned. Optional nested-object flattening creates useful dot-separated headings while preserving arrays as JSON values.

How it works

Convert JSON in three steps

  1. 1Paste valid JSON

    Add an object, an array of records, or any other JSON value.

  2. 2Choose CSV or YAML

    For CSV, decide whether nested objects should become dot-separated columns.

  3. 3Copy or download

    Use the converted result immediately or save it with the correct file extension.

Common questions

JSON Converter FAQ

What JSON shapes can I convert to CSV?

Arrays of objects produce one CSV row per item. A single object becomes one row, and arrays of primitive values use a value column.

How are nested JSON objects handled in CSV?

With flattening enabled, nested keys become dot-separated columns such as profile.team. Arrays remain JSON text so no data is silently discarded.

Is the YAML output valid?

Yes. Objects, arrays, strings, numbers, booleans, and null values are serialized with indentation and safe quoting.

Is my JSON sent to a server?

No. Parsing and conversion happen locally in your browser, and UtilityBase does not receive the data you paste.