CSV ⇄ JSON converter
Convert CSV data to JSON and back, or turn it into a Markdown or HTML table.
Related tools
CSV ⇄ JSON converter
Paste a CSV export and get back a JSON array of objects, or paste JSON and get CSV. The converter runs both ways, and it also turns the same table into a Markdown table for a README or a pull request, or an HTML table you can drop straight into a page. Typical jobs: turning a spreadsheet export into fixture data for tests, checking what an API response looks like as a table, or pasting a client's semicolon-separated export into a document.
The CSV side follows RFC 4180 properly, which is where most quick converters give up. A field wrapped in double quotes may contain the delimiter, doubled "" quotes, and even line breaks — all of it survives the round trip intact. Leave the delimiter on automatic and the tool samples your data and picks the character that produces the most consistent rows, so comma, semicolon, tab and pipe files all work without configuration. When the guess is wrong, choose the delimiter by hand.
"First row is headers" turns the header into JSON keys; switch it off and you get an array of arrays instead. Blank and repeated column names are given a name of their own rather than being silently dropped, so no column disappears. "Prettify JSON" indents the output with two spaces for reading; without it the result is minified. Going the other way, "Quote all fields" wraps every field, not only the ones that need it. Every value stays a string, so leading zeros in postcodes and product codes are not eaten.
Everything runs in your browser and the data never leaves your device, which matters when the export holds customer records or internal data. Invalid JSON is reported calmly, with the parser's own message and the position of the problem, instead of a blank output. Copy the result, download it as a .txt file, or move it back into the input to chain another step.