Paste CSV with a header row and get an array of JSON objects. Values stay as text.
The first row is treated as the header row. Each remaining row becomes a JSON object using the column names as keys. This is useful for API payloads, data import work, and quick spreadsheet conversions.
Your data stays in your browser
This tool runs on JavaScript inside your browser. Nothing you add here is uploaded to our server, so it works for confidential data too. How we handle data
The first row gives the key names, and every row after it becomes one object. So a sheet with columns name, city and age turns into [{"name": "Ali", "city": "Lahore", "age": "29"}, ...]. Every value is kept as text, including numbers, so convert types in your code if you need them.
Comma for most CSV files. Semicolon for files exported by Excel in countries that write decimals with a comma. Tab for data copied straight out of a spreadsheet, which pastes as tab-separated text.
Quoted fields that contain commas or doubled quotes are fine, but a quoted field that spans more than one line is split at the line break. Very large files are better converted with a script. To check the output, paste it into the JSON Formatter; to remove repeated rows first, use Remove Duplicate Lines. Need IDs for each row? The UUID Generator makes them in bulk.