TOOLDENDEVELOPERON-DEVICE
CSV ↔ JSON Converter
Convert CSV to JSON and JSON to CSV with custom delimiters.
HOW TO USE
- 1Choose the direction: CSV → JSON or JSON → CSV.
- 2Paste your CSV or JSON into the input area.
- 3Click Convert (or press Ctrl+Enter / Cmd+Enter) to transform it.
- 4Use Swap to flip the direction, Sample to try the built-in example, or Clear to reset.
EXAMPLE
INPUT
name,age,city Alice,30,New York Bob,25,London
OUTPUT
[
{ "name": "Alice", "age": 30, "city": "New York" },
{ "name": "Bob", "age": 25, "city": "London" }
]FAQ
How does CSV to JSON conversion work?
The first row of the CSV becomes the field names, and every following row becomes a JSON object. Values that look numeric are converted to numbers.
Can I convert JSON back to CSV?
Yes. Switch to JSON → CSV mode. JSON arrays of objects convert to a table with a header row.
Does it handle commas and quotes in CSV?
Yes. Proper CSV quoting is handled in both directions, so fields containing commas, quotes or newlines survive the round trip.
Is my data uploaded?
No. Everything runs locally in your browser.