CSV ↔ JSON
Convert between CSV and JSON formats. Auto-detects direction from input.
About CSV ↔ JSON
CSV ↔ JSON converts tabular data between CSV and JSON, auto-detecting which direction you need from the input you give it. Paste a CSV export and get an array of objects, or paste JSON and get a clean spreadsheet-ready table. It runs entirely in your browser, so even sensitive data stays local.
- Category
- dev
- Input
- Accepts: text/csv, text/plain or application/json.
- Output
- Outputs: text/plain.
- Cost
- Free, runs in your browser
- Memory
- low
Common uses
- Turn a spreadsheet export into a JSON array of objects for an API or config file
- Flatten a JSON response from an API into CSV to open in Excel or Google Sheets
- Reshape a data dump from one format to the other when wiring two tools together
- Quickly inspect messy CSV as structured JSON to spot malformed rows
- Prepare seed data for a database by converting a CSV into JSON records
- Convert exported analytics JSON into a CSV your finance team can open in a spreadsheet
Frequently asked questions
How does it know which way to convert?
It auto-detects the direction from your input: CSV-shaped text becomes JSON, and JSON becomes CSV. You don't have to pick a mode.
Is my data uploaded anywhere?
No. The conversion runs entirely in your browser, so even confidential spreadsheets or records never leave your device.
What input does it accept?
CSV (text/csv), plain text, or JSON. The output is returned as plain text in the target format.
Will it handle commas or quotes inside fields?
Yes, standard CSV quoting is respected so values containing commas, quotes, or newlines convert correctly in both directions.
Can it convert nested JSON?
CSV is inherently flat, so deeply nested JSON doesn't map cleanly to columns. Flat arrays of objects convert best; flatten nested structures first for predictable results.
Keywords
- csv
- json
- convert
- table
- data
- transform
- spreadsheet