JSON & CSV converter
Paste JSON (or a CSV) and get the other format back. Comma or tab delimiter, file upload, instant download. Runs server-side with validation so you get real errors instead of broken output.
Choose conversion direction
Paste below or upload a file. Max 512 KB per request (matches server validation). Accepted: .json, .txt
Convert
Run convert to see CSV or JSON here. Then copy or download the result.
How it works
We built this because we kept copying JSON out of API responses, pasting it into random sites, and hoping the output was right. So we made our own: paste or upload your data, pick comma or tab, and the Codeground AI backend does the actual conversion with proper quoting and error messages instead of silently mangling your columns.
JSON → CSV
Give it a JSON array of objects (each object = one row) or a single object. Column names come from the union of all keys across every object. If a value is nested, it gets serialized as a JSON string in the cell — you won't lose data, but you might want to flatten first for complex structures. Pick Tab if you're pasting into Google Sheets or Excel (TSV avoids comma-inside-cell issues).
CSV → JSON
Row 1 is headers, everything after is data. The parser handles quoted fields, commas inside quotes, and escaped double-quotes (RFC 4180). If a row has more or fewer columns than the header, you'll get a clear error telling you which row is off instead of a corrupted result.
Limits
- 512 KB per request — enough for most exports, but not a 200 MB database dump.
- Up to 5,000 rows and 256 columns.
- Rate-limited to keep things fair; if you hit the cap, wait a minute and retry.
- Your data is sent to Codeground AI for the conversion only. Don't paste production secrets.
FAQ
- Is this free?
- Completely. No signup, no paywall.
- My JSON is an array of strings, not objects — will it work?
- Not directly. The converter expects each element to be a key-value object so it can build column headers. Wrap your strings into objects first (
[{ "value": "hello" }]). - Can I save the result as a file?
- Yes. After converting, hit Download. You'll get a
.csv,.tsv, or.jsondepending on direction and delimiter. - CSV vs TSV?
- Same format, different separator. Pick Tab for TSV, Comma for standard CSV. TSV is handy when your data already contains commas.
- Where does the conversion happen?
- On Codeground AI servers. Your browser sends the text over HTTPS, the server validates and converts it, and sends the result back. Nothing is stored.