This tool converts a CSV table into a JSON array of objects perfect for moving spreadsheet data into a JSON-only API, a database seed file, or any environment where JSON is the lingua franca. The conversion runs locally in your browser; paste sensitive data freely.
How to convert CSV to JSON
Paste your CSV into the input box. The first row is treated as the header, each cell becomes a property name on every object in the resulting array.
Hit Convert to JSON. The JSON output appears on the right with a one-click Copy button.
Need to go the other way? Use the JSON → CSV tool instead.
What this converter handles
Quoted cells: cells wrapped in double quotes can contain commas, line breaks, and escaped quotes (per RFC 4180, doubled like
"").Multi-line cells: the parser walks character by character, so a single cell with a real newline inside quotes is preserved correctly.
Mixed line endings: handles
\n,\r\n, and bare\rseamlessly.Missing cells: trailing or skipped fields in a row become empty strings on the output object so every record has the full key set.
When to use it
Typical use cases: importing a CSV export into a JSON-only HTTP endpoint, prepping seed data for a JavaScript test, parsing a spreadsheet download for a one-off script, or producing pretty-printed JSON for an issue tracker that won't accept attachments.
Note on types
All output values are strings CSV doesn't carry type information. If you need numbers or booleans typed correctly, do that in code after parsing.