CSV to JSON
Convert CSV table data into JSON arrays and objects.
Transform CSV rows into YAML for configuration and data exchange.
Turns CSV into a YAML list with the header row as keys.
The first row is always the header; every row below it becomes one item in a YAML list, keyed by the header with values kept as strings — numbers are not coerced into YAML numeric types.
CSV parsing is a character-by-character state machine: quoted fields may contain commas and line breaks, and an inner quote is written as two quotes.
A header with no data rows produces empty output rather than an empty list, so a truncated paste never looks like a valid result.
Paste the CSV
Field names on the first row, data from the second. Wrap a field in double quotes when it contains a comma or a line break.
Check the output
The YAML list appears immediately. Paste only one row and the output stays empty — that means there is no data to convert.
Copy the YAML
Indentation is fixed at two spaces. Every value is a string, so remove the quotes by hand when a number is needed.
No. The conversion only maps structure and emits every value as a string, so 007 and 1.0 are never rewritten as 7 or 1. Strip the quotes in the YAML when you need a numeric type.
A later column with the same name overwrites the earlier value, because object keys cannot repeat. Rename the duplicates or drop the columns you do not need before converting.
Convert CSV table data into JSON arrays and objects.
Convert comma-separated CSV into tab-separated TSV format.
Export JSON arrays into CSV format for spreadsheets and BI tools.
Convert JSON documents to YAML with clean, readable output.
Transform JSON structures into XML format for system integration.
Convert JSON arrays into TSV for tab-based data workflows.