CSV to JSON and JSON to CSV Converter
Convert CSV data to JSON (or JSON to CSV) with configurable delimiter, header row option, and RFC 4180-style quoting. Runs in your browser.
How to use
- 1Choose direction
CSV → JSON or JSON → CSV. The Swap button flips it.
- 2Pick delimiter
Comma is the default. Choose semicolon for European Excel exports, tab for TSV.
- 3Toggle header row
On: first CSV row becomes object keys. Off: rows become arrays.
- 4Paste and copy
Result updates live. Copy the output, or share the URL with your input inside.
Examples
name,role,active Alex,admin,true Jordan,editor,false
[
{"name":"Alex","role":"admin","active":"true"},
{"name":"Jordan","role":"editor","active":"false"}
][{"sku":"A1","qty":3},{"sku":"B2","qty":7}]sku,qty A1,3 B2,7
title,author "Once, Twice, Sold",Alex
[{"title":"Once, Twice, Sold","author":"Alex"}]Frequently asked
The parser follows RFC 4180 conventions — fields with commas, quotes, or line breaks must be wrapped in double quotes, with internal quotes escaped by doubling them ("").
Yes. Excel exports in some locales use semicolons; scientific tools often use tabs. Pick your delimiter from the dropdown.
Nested objects and arrays are serialized as their JSON string and placed into that cell. If you need flattened output, pre-process your JSON to a flat structure first.