CSV to JSON Converter
Turn CSV or TSV into a JSON array of objects. Numbers and booleans detected, dotted columns nested.
Runs in your browser. Nothing is uploaded.
Waiting for CSV
JSON appears here.What this does
Paste CSV, or open a .csv or .tsv file, and get a JSON array with one object per row. The first row becomes the keys. The delimiter is detected from the first line; pick one yourself if the guess is wrong.
Types and nesting
Detect numbers & booleans turns 42 into a number, true into a boolean, and an empty cell into null; turn it off to keep everything as text, for example for ZIP codes that start with 0. Nest dotted columns turns address.city into { "address": { "city": ... } }, which undoes what the JSON to CSV tool does.
Next step
Open in viewer sends the result to the JSON viewer so you can browse it as a tree or copy a path to any value.
More json tools
All- JSON to CSV ConverterTurn a JSON array into CSV for Excel or Google Sheets. Nested objects flattened, table preview.
- JSON Viewer & Path FinderExplore JSON as a tree or a graph. Click any value to copy its path in JS, jq, JSONPath, or Python.
- JSON FormatterFormat, minify, and validate JSON. Shows the exact line of any error.
- JSON Diff & CompareCompare two JSON documents and see every added, removed, and changed value in one view.
- JSON to TypeScriptTurn any JSON into TypeScript interfaces. Nested types named, optional keys detected.
- JSON to Go StructGenerate Go structs with json tags from any JSON. Nested structs named, pointers for nullable values.
- JSON to Kotlin Data ClassGenerate Kotlin data classes from JSON, for kotlinx.serialization, Gson, or plain Kotlin.
- JSON to Java ClassGenerate Java records or POJO classes with Jackson annotations from any JSON.