FlinkTools

JSON to CSV and back

Flatten nested JSON into a CSV table, or turn a CSV back into JSON with the nesting rebuilt.

Processed on your device, never uploaded

Input

Options

Direction
Delimiter

Result

The converted text shows here.

What it does

The converter turns a JSON array of objects into a CSV table and back. Nested objects and lists are flattened into columns with dotted keys such as address.city and tags.0, and the CSV to JSON direction rebuilds the nesting from those headers. Choose comma, semicolon, tab or pipe, or let it detect the delimiter. Quoted cells, line breaks inside cells and a byte order mark are handled, and numbers, true, false and null are read as values unless you turn that off. It all runs in your browser.

How to use it

  1. 1Paste a JSON array or a CSV table.
  2. 2Check the direction and pick the delimiter.
  3. 3Copy the result or download the file.

Common uses

  • Open an API response in Excel or Google Sheets.
  • Turn a spreadsheet export into JSON for an app or a test.
  • Flatten a nested log or config into columns.
  • Switch a semicolon CSV from a German Excel to a comma CSV.
  • Check that a nested file survives a round trip.

Questions

How are nested objects handled?

They become columns with dotted keys, so {"address":{"city":"London"}} gives a column address.city.

And lists?

List items get their index, such as tags.0 and tags.1. Going back to JSON rebuilds the list.

What if the objects have different keys?

The columns are the union of all keys in the order they first appear. A missing value is an empty cell.

Which delimiters work?

Comma, semicolon, tab and pipe. Auto picks the one used most in the first line.

Are numbers kept as numbers?

Yes, when you go from CSV to JSON. 12, true and null become values. Turn the option off to keep everything as text.

What does an empty cell become?

The key is left out of that object. An empty string and a missing key look the same in CSV.

Is my data uploaded?

No. The conversion runs on your device.

AD320 × 100