🍋 Developer Tools
CSV ↔ JSON Converter
Convert between CSV and JSON formats
chars
words
sentences
lines
Options
Results
Result
About CSV ↔ JSON Converter
Convert CSV data to JSON arrays or JSON back to CSV. Supports custom delimiters, header rows, and nested values.
How It Works
For CSV to JSON: splits by delimiter, uses the first row as keys (if header enabled), and builds an array of objects. For JSON to CSV: extracts keys from the first object as the header row, then maps values for each subsequent object.
Step by Step
- 1 Paste CSV or JSON data in the input area
- 2 Select direction: CSV → JSON or JSON → CSV
- 3 Set delimiter (comma, tab, semicolon, pipe) for CSV
- 4 Toggle whether the first row contains headers
- 5 Click Convert
Tips
- Tab-delimited data can be pasted directly from spreadsheets
- When converting JSON to CSV, nested objects are flattened to dot notation
- Use semicolon delimiter for European CSV files
Frequently Asked Questions
Can I convert nested JSON?
Flat JSON arrays of objects work best. Deeply nested structures will be stringified in CSV cells.
What delimiters are supported?
Comma (,), tab, semicolon (;), and pipe (|).