Skip to content
Toolden

TOOLDENDEVELOPERON-DEVICE

CSV ↔ JSON Converter

Convert CSV to JSON and JSON to CSV with custom delimiters.

0 chars
Start typing on the left, the JSON appears here as you go.

Conversion runs entirely in your browser. CSV quoting (commas, quotes, newlines) is preserved in both directions.

HOW TO USE

  1. 1Choose the direction: CSV → JSON or JSON → CSV.
  2. 2Paste your CSV or JSON into the input area.
  3. 3Click Convert (or press Ctrl+Enter / Cmd+Enter) to transform it.
  4. 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.

RELATED TOOLS