แปลง CSV ↔ JSON
แปลง CSV พร้อมหัวตารางเป็น JSON objects หรือ arrays ของ objects กลับเป็น CSV
Runs entirely in your browser. Quoted CSV fields and commas inside quotes are supported. For JSON → CSV, use a JSON array of objects; values are stringified.
CSV ↔ JSON Converter
Convert CSV to JSON and JSON arrays back to CSV. The converter uses the first row as column headers and creates one JSON object per row. Handles quoted fields, commas inside values, and multiple separator styles.
FAQ
How do I convert a CSV file to JSON?
Paste or upload your CSV. The first row becomes the JSON keys. Each subsequent row becomes an object in the output array.
What if my CSV has semicolons instead of commas?
Select the semicolon separator option before converting. European CSV exports often use semicolons because commas appear in number formatting (1.234,56).
What is the difference between CSV and JSON?
CSV (Comma-Separated Values) is a flat table format — rows and columns, like a spreadsheet. JSON (JavaScript Object Notation) supports nested structures, arrays within objects, and mixed types.
สำรวจต่อ
เครื่องมือนักพัฒนา อื่นๆ ที่คุณอาจชอบ...
จัดรูปแบบ JSON
จัดรูปแบบ ตรวจสอบ และย่อข้อมูล JSON พร้อม syntax highlighting
เข้ารหัส/ถอดรหัส Base64
เข้ารหัสข้อความเป็น Base64 และถอดรหัสสตริง Base64
เข้ารหัส/ถอดรหัส URL
เข้ารหัสและถอดรหัสส่วนประกอบ URL และ query strings
สร้าง UUID
สร้างตัวระบุ UUID v4 แบบสุ่ม
สร้าง Hash
สร้างแฮช MD5, SHA-1, SHA-256 และ SHA-512 จากข้อความ
ทดสอบ Regex
ทดสอบและดีบัก regular expressions พร้อมไฮไลท์การจับคู่
ถอดรหัส JWT
ถอดรหัสและตรวจสอบ header และ payload ของ JWT token
จัดรูปแบบ HTML
จัดรูปแบบโค้ด HTML พร้อมการเยื้องที่เหมาะสม