Back to editor

CSV to JSON

Convert CSV to JSON and back with header detection and type inference.

CSVJSON

FAQ

How are column types detected?

Numbers, booleans (true/false), and null are inferred automatically; everything else stays a string. Turn off type inference to keep every value as a string.

What happens if rows have different columns?

Converting JSON → CSV unions all keys across every object into the header row, leaving a blank cell for objects missing that key.