T

Text Machine

Powerful text tools, in your browser

JSON ↔ CSV Converter

Convert JSON to CSV and CSV back to JSON right in your browser. Paste an array of objects for a spreadsheet-ready table, or paste CSV to get structured JSON — with full control over the delimiter and header row.

Delimiter

JSON input
CSV output

Enter data above to see the converted result here.

How to use JSON to CSV Converter

  1. 1

    Choose a direction

    Use the toggle to pick JSON to CSV or CSV to JSON. The swap button moves your result into the input so you can convert back the other way.

  2. 2

    Paste your data

    Paste a JSON array of objects, or CSV text, into the input box. The conversion runs automatically as you type.

  3. 3

    Set the options

    Pick the delimiter that matches your data, and when reading CSV decide whether the first row is a header and whether to parse numbers and booleans.

  4. 4

    Copy the result

    Review the converted output and copy it to your clipboard, ready to drop into a spreadsheet, a database, or your code.

Frequently asked questions

How do I convert JSON to CSV?
Paste a JSON array of objects into the input. Each object becomes a row, and the tool collects every key across all of your objects to build the column header automatically, so even records with different fields line up correctly.
What CSV format does the converter use?
It follows the common RFC 4180 convention: any field that contains the delimiter, a double quote, or a line break is wrapped in double quotes, and embedded quotes are doubled. You can switch the delimiter between comma, semicolon, and tab to match your spreadsheet.
Can it convert CSV back into JSON?
Yes. Switch the direction to CSV to JSON. By default the first row is treated as the header that names each column, and every following row becomes a JSON object. Enable Parse numbers and booleans to turn numeric and true or false text into real JSON values.
How are nested objects handled?
Because CSV is a flat, table-based format, nested objects and arrays are serialized as compact JSON text inside a single cell when you convert from JSON to CSV. For deeply nested data, a JSON or YAML format is usually a better fit.
Is my data uploaded to a server?
No. The entire conversion runs locally in your browser. Your data is never uploaded, logged, or stored, so it stays completely private and the tool keeps working even when you are offline.

Related tools

Keep going with these handy tools

JSON to YAML Converter

Unix Timestamp Converter

CSV to JSON Converter

Binary ↔ Decimal Converter

Decimal ↔ Binary Converter

Text to Binary Converter