CSV ↔ JSON
Convert CSV rows into JSON objects or turn an array of objects back into CSV, with quoting handled for you.
- 100% Free
- No account required
- Runs in your browser
- No data is uploaded
Not saved automatically
Private to this browser, not a cloud backup. Saves expire 7 days after the last save. Avoid saving sensitive data on shared devices.
Input
Paste or edit your CSV or JSON, then click “Run tool”.
Type, paste or drop a file
CSVLn 1, Col 1Spaces: 2UTF-841 bytes
Output
Converted JSON (read-only).
Read-only
TextLn 1, Col 1Spaces: 2UTF-80 bytes
Using the CSV ↔ JSON
Overview
Convert CSV rows into JSON objects or turn an array of objects back into CSV, with quoting handled for you.
Move spreadsheet exports into code, or turn API data into something a spreadsheet can open.
How to use it
- Paste or type your CSV into Input, drop a file onto it, or press Example to load a sample.
- Choose the settings in the Direction bar under the editors.
- Press Run tool, or ⌘ ↵ from anywhere on the page.
- Read the result in Output, then copy or download it. The Result tab has size, line counts and next steps.
Input
CSV or JSON.
Settings
- Direction — CSV → JSON, JSON → CSV
Output
Converted JSON.
- CSV rows to JSON objects
- JSON arrays back to CSV
- Header row becomes the keys
- Quotes and commas handled
Tips
- Pick the base your number is written in before running the converter.
- Timestamps under eleven digits are read as seconds, longer ones as milliseconds.
- CSV conversion expects a header row.
Keyboard shortcuts
- ⌘ ↵
- Run the tool
- ⌘ K
- Search every tool
- /
- Filter the sidebar