CSV / JSON Converter
Convert between CSV and JSON formats — bidirectional, 100% local processing
CSV Input
JSON Output
About CSV to JSON
CSV is the common exchange format for spreadsheets and exports, while JSON is the standard for APIs and applications. Converting between them is routine when importing data into a service or exporting API results to a spreadsheet.
This tool converts in both directions in your browser. CSV rows become JSON objects using the header row as keys, and arrays of objects become CSV rows. CSV carries no type information, so numbers and booleans may arrive as text, and nested JSON structures do not map cleanly to flat columns.
Common use cases
- Turning a spreadsheet export into JSON for an API or script.
- Converting API results to CSV to open in a spreadsheet.
- Preparing seed data for development.
- Inspecting a CSV file as structured objects.
Frequently asked questions
- How are commas inside values handled?
- Values that contain commas or line breaks should be wrapped in double quotes, following the CSV convention.
- What happens to nested JSON?
- CSV is flat, so nested objects and arrays have to be flattened or serialized as text. Check the output for such fields.
- Why are my numbers strings?
- CSV does not store types, so all values start as text. Convert types where you consume the data.