Convert between JSON and CSV instantly in your browser. Paste a JSON array of objects to get a spreadsheet-ready CSV, or turn CSV back into a clean JSON array — with RFC-4180 quoting, custom delimiters, and nothing ever leaving your device.
JSON (JavaScript Object Notation) stores data as nested objects and arrays, while CSV (Comma-Separated Values) stores it as a flat grid of rows and columns. Converting between them lets you move data between APIs and code, which prefer JSON, and spreadsheets and legacy systems, which expect CSV.
This converter turns an array of JSON objects into a table — one row per object, one column per key — and parses CSV back into structured objects using the first row as the header. Both directions follow the RFC 4180 rules for quoting and escaping, so values containing commas, quotes, or line breaks survive the trip intact.
Convert JSON to CSV or CSV back to JSON with a single direction toggle.
Collects the union of keys across every object, preserving the order they first appear.
Fields with delimiters, quotes, or newlines are escaped correctly so nothing breaks on import.
Choose comma, semicolon, or tab to match the spreadsheet or locale you are working with.
Grab the result as text or download it straight to a .csv or .json file.
Conversion runs entirely in your browser. Your data is never uploaded or stored.
Choose JSON → CSV or CSV → JSON depending on what you are pasting in.
Drop a JSON array of objects or raw CSV text into the input panel.
Set the delimiter, and toggle pretty-printing when converting CSV back to JSON.
The converted output updates live — copy it or save it as a file in one click.
For JSON → CSV, provide an array of objects, where each object becomes a row. A single object is also accepted and produces one row. The tool collects the union of all keys across rows as the header, preserving the order each key first appears.
When a value inside a row is itself an object or array, it is serialized with JSON.stringify and placed into the cell as a string. The CSV stays flat and importable, and the nested structure is preserved as JSON text.
Yes. Output follows RFC 4180: any field containing the delimiter, a double quote, or a newline is wrapped in double quotes, and embedded quotes are escaped by doubling them. The CSV parser reverses this exactly, so round-trips are lossless.
You can choose comma (the default), semicolon, or tab. The same delimiter is used for both reading CSV input and writing CSV output, so set it to match your source or target format.
When converting CSV → JSON, pretty-print (on by default) formats the JSON array with two-space indentation for readability. Turning it off produces compact, single-line JSON that is smaller to store or transmit.
No. All parsing and conversion happen locally in your browser using plain JavaScript. Nothing you paste is uploaded to a server or stored anywhere.
Convert JSON to YAML and YAML to JSON instantly, with live validation.
Format, validate, and beautify JSON data with syntax highlighting.
Encrypt and decrypt text using AES encryption algorithm.
Encode and decode text to/from Base64 format.