Data tool

CSV and JSON converter online

Turn CSV tables into JSON and JSON arrays back into CSV directly in the browser.

Data is processed only on your device.

What the tool does

The converter is useful for tables, exports, product imports, API responses, and quick data preparation. It supports quotes, line breaks inside cells, headers, and different delimiters.

How to use it

  1. Choose CSV to JSON or JSON to CSV.
  2. Paste your data and set the delimiter, headers, and output format.
  3. Copy the result or download the file.

Converting CSV to JSON

In CSV to JSON mode, the tool parses rows with the selected delimiter: comma, semicolon, tab, pipe, or a custom value. Quoted cells, escaped quotes, and line breaks inside quoted cells are supported when the input follows CSV rules.

When the header option is enabled, the first row becomes field names and the remaining rows become an array of objects. Without headers, the result is an array of arrays. The trim option removes whitespace around cell values.

Converting JSON to CSV

In JSON to CSV mode, you can paste an object, an array of objects, or an array of arrays. For an array of objects, the tool collects the combined set of keys and uses them as CSV headers, leaving missing values empty.

The converter works best with flat data: strings, numbers, booleans, and empty values. Nested objects and arrays are not expanded into separate columns, so complex API responses should be flattened first.

When it helps

The converter helps prepare product imports, inspect API responses, pass table data to developers, turn analytics CSV into JSON fixtures, or build CSV from a simple JSON array.

Delimiter settings matter for regional formats: some systems use comma-separated CSV, while others expect semicolons or tabs. Before importing, check a few output rows in the target system.