json-tools .ru

CSV to JSON

Reads CSV as a table with headers and turns each data row into a JSON object.

Table requirements

The first CSV row must be a header row: no empty cells and no duplicate column names — otherwise the service returns an error instead of silently losing the data from one of the duplicate columns. The delimiter (comma, semicolon, tab, or |) is detected automatically.

How the JSON is built

Each data row becomes one object in the array. A column whose name contains a dot (address.city) stays a flat, literally-named key when read back — CSV doesn't automatically reconstruct nesting.

Format
CSV → JSON
Source text Paste text or upload a file
Result Type is not detected yet
Statistics appear after formatting