📊 JSON'dan CSV'ye Online Dönüştürücü

Convert JSON arrays to CSV spreadsheet format online. Handles nested values, quoted fields, and special characters. Free, instant, no signup.

Paste a JSON array of objects and switch to JSON → CSV mode. Each key becomes a column header, each object becomes a row. Download the result or copy to clipboard. Table preview shows your data before you export.

How to Use

1

Choose direction

Select CSV → JSON to convert a spreadsheet to data, or JSON → CSV to export JSON as a table.

2

Paste your data

Paste CSV (with header row) or valid JSON array into the input area. The table preview updates live.

3

Copy or download

Click Copy or Download to save the output. Use the table preview to verify your data looks correct.

Frequently Asked Questions

How does CSV to JSON conversion work? +
The first row of the CSV becomes the keys of each JSON object. Each subsequent row becomes one object in the JSON array. Values are trimmed of whitespace. Numbers and booleans are kept as strings unless you enable type inference.
How are commas inside values handled? +
Values containing commas must be enclosed in double quotes in CSV format: "New York, NY". This tool correctly parses quoted fields including escaped double quotes (two consecutive double quotes represent one literal quote).
Can I convert nested JSON to CSV? +
JSON→CSV works with flat arrays of objects. Nested objects are serialized as JSON strings within their cell. For deeply nested structures, flatten your JSON first using the JSON Formatter tool.
What does the table preview show? +
After conversion, a table preview renders the data as an HTML table so you can visually inspect rows and columns before downloading. This helps catch misaligned columns or parsing errors.
Is there a file size limit? +
There is no hard limit, but processing very large files (over 5MB) in the browser may be slow. Everything runs client-side — your data never leaves your device.


Tam Rehber: CSV'den JSON'a Dönüştürücü

CSV ve JSON, en yaygın iki veri değişim formatıdır. CSV elektronik tabloların ortak dilidir — Excel, Google Sheets ve neredeyse her veritabanı aracı tarafından dışa aktarılır. JSON, web API'leri ve JavaScript uygulamaları için yerel formattır.

RFC 4180 CSV Spesifikasyonu

CSV'nin basitliğine rağmen, RFC 4180 tarafından tanımlanan beklenmedik durumlar vardır:

BOM Karakteri ve Excel UTF-8 Sorunları

Microsoft Excel, "CSV UTF-8" olarak dışa aktarılan dosyaların başına bir UTF-8 BOM (\uFEFF) ekler. Bu, BOM'u soymayanparserlarda ilk sütun başlığının ad yerine ad olarak görünmesine neden olur. Excel kaynaklı CSV dosyalarını işlemeden önce BOM'u her zaman kontrol edin ve kaldırın.

Çıktı Formatları

/* Sütun dizileri formatı */
{
  "ad": ["Ahmet", "Mehmet"],
  "yas": ["30", "25"],
  "sehir": ["İstanbul", "Ankara"]
}

Büyük Dosyaları Akış Olarak İşleme

Birkaç yüz megabaytı aşan dosyalar için tarayıcı tabanlı dönüştürme pratik değildir. Node.js'de akış yaklaşımı kullanın:

const { parse } = require('csv-parse');
const fs = require('fs');

fs.createReadStream('buyuk.csv')
  .pipe(parse({ columns: true, bom: true }))
  .on('data', (row) => console.log(JSON.stringify(row)));
🧰 50+ Tools