ToolHub

CSV ↔ JSON Converter

Convert between CSV and JSON, both ways

CSV input

JSON output

Quick steps

1

Pick direction

Switch between CSV → JSON and JSON → CSV at the top.

2

Paste your data

Use the sample button to see a realistic example. Auto-detects delimiter for CSV; expects an array of objects for JSON.

3

Copy or download

Result is generated live. Copy to clipboard or download as a file.

Frequently asked questions

How does the CSV parser handle quoted fields with commas?

Quoted fields with embedded commas are kept as a single value. Escaped quotes ("") inside quoted fields are also handled correctly.

What types get inferred from CSV?

With type inference enabled, numbers, booleans (true/false), and null are converted to native JSON types. Everything else stays as a string.

What if my JSON has nested objects?

Nested objects and arrays are serialized as JSON strings inside the CSV cell. CSV cannot represent nesting natively.

Is my data uploaded?

No. Parsing and serialization happen entirely in your browser.