CSV ↔ JSON Converter
Paste CSV or JSON and convert in either direction. Auto-detects delimiter, infers types (numbers / booleans / null), handles quoted commas and multi-line cells, flattens nested objects, and supports objects / arrays / keyed output formats.
CSV input
Paste CSV text or drop a file to convert it to JSON.
Tip: drop a .csv or .json file anywhere in this section.
Parsing options
Comma ( , )
Quote character
Header row
Treat the first row as column names.
Skip empty lines
Discard blank rows before parsing.
Use when the file starts with metadata or comments.
Trim values
Remove leading and trailing whitespace from every cell.
Type inference
Parse "123" as number, "true" as boolean, etc.
Comma-separated. Matching cells become null in the output.
Rows
4
Columns
5
Detected types
5
id: number · name: string · role: string · active: boolean
JSON output
Live preview. First 100 rows shown; download for full file.
[
{
"id": 1,
"name": "Ada Lovelace",
"role": "admin",
"active": true,
"joined": "2026-01-15"
},
{
"id": 2,
"name": "Linus Pauling",
"role": "editor",
"active": true,
"joined": "2026-02-04"
},
{
"id": 3,
"name": "Grace Hopper",
"role": "admin",
"active": false,
"joined": null
},
{
"id": 4,
"name": "Hedy Lamarr",
"role": "viewer",
"active": true,
"joined": "2026-04-22"
}
]