CSV to JSON

Convert CSV data to JSON for APIs and applications.

Paste a CSV file and get an array of objects keyed by the header row, ready to drop into an API request, a seed file, or a unit-test fixture. The parser handles quoted cells, escaped quotes, and the usual delimiters without configuration.

Common use cases: importing a spreadsheet into your application, converting a CSV export from a third-party tool into a format your API understands, generating fixtures for tests, and quickly browsing a CSV in a hierarchical viewer.

CSV Input

Reference

Conversion Info
• Converts CSV rows to array of objects
• Uses first row as headers
• Supports quoted fields
• Handles escaped quotes ("")
• Supports commas in quoted fields
• Properly formatted JSON output

Frequently asked questions

Does it handle quoted cells with commas inside?
Yes. The parser follows RFC 4180: cells wrapped in double quotes can contain commas, newlines and escaped quotes ("") without breaking the row.
What if my CSV uses semicolons or tabs?
Many European locales export with ; as the separator, and TSV files use \t. The tool auto-detects the most likely delimiter from the first few lines.
How are numbers and booleans typed?
By default everything is a string — safest for round-tripping IDs that look numeric (postal codes, phone numbers, leading-zero codes) without silently losing the zeros. Use the type-coercion toggle if you want "42" to become 42 and "true" to become true.
My first row is data, not headers — what now?
Toggle the "first row is header" option off. The output will be an array of arrays instead of an array of objects, preserving column order.