How does CSV become JSON?
A CSV file is a table: each line is a row, and values are separated by a comma or another delimiter. JSON is the format web apps and APIs use. The usual conversion makes each row an object, with the header row giving the key names.
The tool reads quoted fields, doubled quotes and line breaks inside quotes following RFC 4180, and detects the delimiter. The sample has two rows, so it yields two objects. Ana, Lisbon with its comma stays whole because it is quoted, and the zip 007 stays text.
How to use the CSV to JSON Converter
- Paste CSV or TSV on the left.
- Leave the delimiter on Detect, or pick one.
- Say whether the first row is the header.
- Choose to detect numbers and true/false or keep all as text, and then pick the indent.