CSV to JSON
Convert CSV or TSV into JSON objects or arrays while preserving leading zeros, quoted values and line breaks inside cells.
How to use
Input
Paste CSV or open a UTF-8 file, choose a delimiter and whether the first row contains field names, then convert.
Output
Review the result, then copy it or save the file.
Background
CSV to JSON
Values remain strings, including numbers and dates. Field names must be nonempty and unique, and rows must have equal column counts. With field names disabled, every row is a JSON array. Use JSON to CSV for the reverse direction.
How input and results are handled
- Input
- Input is processed in your browser.