CanDoYa
RO

Convertor JSON în CSV

Rulează integral în browserul tău - fără încărcare, fără cont.

JSON
CSV
Paste JSON to convert it to CSV.
Distribuie acest instrument

Convertor JSON in CSV

Rulează integral în browserul tău - fără încărcare, fără cont. Rulează integral în browserul tău. Fără încărcare, fără cont, gratuit.

Cum se folosește

  1. 1Paste your JSON. Paste a JSON array, a single object or a scalar value into the input panel.
  2. 2Choose CSV options. Pick comma, semicolon or tab output, keep nested objects flattened, and add a UTF-8 BOM if your spreadsheet app needs it.
  3. 3Copy or download. The CSV updates live. Copy it to the clipboard or download it as a .csv file.

Pentru cine este

JSON is flexible and can nest objects, arrays and mixed values. CSV is a rectangular table. This tool bridges that gap by reading your JSON, collecting every column name it finds, and writing a header row plus one CSV row per item. Nested objects can become dotted headers such as address.city, while arrays and deeper structures stay as compact JSON inside a cell.

The conversion runs locally in JavaScript. You can paste private API responses, exports or config fragments without sending them to a server.

Întrebări frecvente

Is this JSON to CSV converter free?

Yes. The converter is free, runs in your browser and does not require an account. Paste your JSON, adjust the delimiter if needed, then copy or download the CSV output.

Is my JSON uploaded anywhere?

No. The conversion happens locally in your browser with JavaScript. Your pasted JSON is not sent to CanDoYa or any external service, which makes it suitable for private API responses and internal exports.

What JSON shape works best for CSV?

An array of objects works best because each object becomes one row and each key becomes a column. A single object is converted into one row, and an array of strings or numbers becomes a one-column CSV with the header value.

How are nested objects converted?

With Flatten nested objects enabled, nested keys become dotted column names such as address.city or profile.name. If you turn flattening off, nested objects are kept as JSON strings inside a single cell.

How are commas, quotes and line breaks escaped?

Fields that contain the delimiter, a double quote, a line break or leading or trailing whitespace are wrapped in double quotes. Embedded double quotes are doubled, which is the standard CSV escaping rule used by spreadsheets.

Why add a UTF-8 BOM?

Some versions of Excel detect UTF-8 more reliably when a CSV file starts with a byte order mark. Leave it off for most tools; turn it on if accents, CJK text or emoji look wrong after opening the file.