gg
HomeDev & Data › CSV → JSON
Dev & Data

CSV → JSON

Turn CSV (first row = headers) into a pretty-printed JSON array of objects. Every value is kept as a string.

Try it now

Worked example

[ { "a": "1", "b": "x" }, { "a": "2", "b": "y" } ]

Frequently asked

Does it parse quoted commas?

It's a simple splitter; embedded commas inside quotes aren't specially handled.

What's the output shape?

An array of objects keyed by the header row.

Related Dev & Data tools