CSV to JSON Converter
Turn CSV rows into a JSON array of objects, with real numbers and true/false values.
Runs in your browser. Files never leave your device.
CSV, TSV, Excel (.xlsx), JSON or XML · several at once · or drop them here
Converted on your device — files are never uploaded.
More file converters
Quick answer
To convert CSV to JSON, add the CSV, keep "First row is the header" on so each row becomes an object keyed by column name, choose indented or compact JSON and press Convert. Numbers and true/false become JSON values and empty cells null. Turn on Rebuild nested data to make address.city columns nested objects.
How to convert CSV to JSON
Add your CSV
Choose one or more CSV or TSV files; the delimiter is detected from the file.
Set the header
With the first row as header you get objects; without it, arrays of values.
Choose the details
Indented or compact JSON, typed values, and nested objects from dotted column names.
Convert and download
Save the .json file, or a ZIP of several.
From rows and columns to objects
JSON is what web apps, APIs and scripts expect, and CSV is what spreadsheets export. The converter turns each CSV row into an object whose keys are the column names from the header row, giving an array of objects ready for JavaScript, Python or a database import. Empty header cells get names like column_3 and repeated names get _2, so no value is overwritten.
With type detection on, 42 and 3.5 become JSON numbers, true and false become booleans and empty cells become null, while values like 007 and long ID numbers stay strings. Turn detection off to keep every value exactly as text. Rows that are completely empty are skipped.
Columns named with dots, such as address.city and address.zip, can be rebuilt into nested objects, and cells containing JSON arrays or objects are parsed, so a CSV exported from JSON converts back to the original shape. The file is converted in your browser.
Last updated
Why Use Ripify CSV to JSON
Array of objects
Keys from the header row, one object per row.
Typed values
Numbers, true/false and null instead of strings.
Nested objects
address.city columns become { address: { city } }.
Indented or compact
Readable JSON or the smallest file.
Any delimiter
Comma, semicolon, tab and pipe CSVs.
Private
Nothing leaves your device.