Convert CSV to JSON
Convert CSV or TSV to JSON with automatic delimiter and headers.
Workspace · Convert CSV to JSON
How to use it
Upload a CSV/TSV file or paste the table.
Select the tab (or leave it set to automatic) and specify whether the first row contains the headings.
Convert and download the JSON as an array of objects or with numeric keys.
Examples
List of products
Convert a CSV file containing product data into a JSON array for an API.
Database export
Convert a CSV export to JSON whilst retaining leading zeros.
What you need to know
The separator is recognised as a comma, semicolon, tab or vertical bar. Quotation marks and line breaks are permitted within cells. Values are retained as text to prevent the loss of leading zeros; if you need numbers, convert them in your code.
Frequently Asked Questions
Related tools
Other tools that can help with similar tasks.
Convert JSON to CSV
Converts arrays of JSON objects into CSV files with flattened columns.
Convert CSV to Excel
Create a formatted .xlsx workbook from a CSV or TSV file.
CSV to JSON Converter
Converts a CSV table into a ready-to-use JSON array.
