CSV ↔ JSON Converter
Paste a spreadsheet export or a JSON array — convert both ways with correct quoting and optional type coercion.
Convert CSV ↔ JSON in your browser. Quoted cells, Excel-style semicolons, and type coercion — nothing is uploaded.
Turn auto-type off to keep leading zeros (zip codes, IDs like 00123).
Drop a CSV or JSON file
Up to 2.0 MB — stays in your browser
3 rows · comma
Sponsored
Ad space
How to use this tool
- Pick CSV → JSON or JSON → CSV.
- Paste data or drop a .csv / .json file. Set delimiter (or Auto), header row, and auto-type if converting to JSON.
- Copy or download the result.
Spreadsheet exports ↔ API JSON — without uploading rows
Most convert trips are the same: an Excel or Sheets export becomes an array of objects for a mock API, or a JSON payload becomes a CSV for someone living in a spreadsheet. This tool focuses on that loop with RFC-style quoting so names like Doe, Jane do not shatter the row.
Need to pretty-print the JSON afterward? Use the JSON Formatter. Working with config files instead of tables? Try YAML ↔ JSON. Need fake rows for demos? Open the JSON / Mock Data Generator.
FAQ
Is my CSV or JSON uploaded?
No. Parsing and conversion run entirely in your browser. Spreadsheet rows and customer data never leave your device.
Why does Excel CSV use semicolons?
In many European locales Excel exports with ; because comma is the decimal separator. Choose Semicolon or leave Delimiter on Auto.
How do quoted commas and quotes work?
Fields can be wrapped in double quotes. A comma or newline inside quotes stays in the cell. A literal quote is written as "" — standard RFC 4180 CSV.
What does Auto-type do?
It turns 42 into a number, true/false into booleans, and empty cells into null. Turn it off when you need leading zeros (zip codes, SKUs like 00123) kept as strings.
What JSON shapes work for JSON → CSV?
An array of objects (most common), an array of arrays, an array of primitives, or a single object. Nested objects/arrays are written as JSON text inside the cell. Mixed arrays are rejected with an error.
What is the file size limit?
About 2 MB of text in the browser. That covers typical spreadsheet exports. Very large dumps belong in a local script or CLI.
Sponsored
Ad space