CSV to JSON
Convert a small comma-separated table into a JSON array, optionally using the first row as object keys. It helps inspect how spreadsheet-style columns map into API test data.
- Runs in your browser
- Nothing is uploaded
- No signup; device limits apply
Loading the tool. If it does not appear, reload this page.
How to use this tool
Paste the CSV and decide whether its first row is a header. Use unique names for object keys and avoid complex CSV records that contain line breaks inside quoted cells.
Results and examples
For name,age followed by Mina,30, header mode creates an object with name and age keys. The values remain strings, so check the types expected by the receiving program.
Limitations
- The parser splits lines before cells and does not fully support multiline quoted fields.
- Duplicate headers or surplus values can cause data to be overwritten or omitted.
Fields
| Field | Guidance and constraints |
|---|---|
| Use the first row as headers (array of objects) | Check the unit and format displayed beside this field. |
| CSV | Check the unit and format displayed beside this field. |
| JSON | Check the unit and format displayed beside this field. |
Data handling
Processing stays in the current browser tab; the site does not upload tool input for the calculation itself.
Sources
Frequently asked questions
Are numeric-looking cells converted into numbers?
For name,age followed by Mina,30, header mode creates an object with name and age keys. The values remain strings, so check the types expected by the receiving program.
Are quoted multiline CSV cells supported?
The parser splits lines before cells and does not fully support multiline quoted fields. Duplicate headers or surplus values can cause data to be overwritten or omitted.