-
Trình Thực Thi
Trình biên dịch Python Trình biên dịch C++ Trình biên dịch C Trình biên dịch Matplotlib Trình thông dịch Node.js Trình thông dịch PHP Trình biên dịch C# / .NET Trình biên dịch Rust Ruby Interpreter Trình biên dịch Java Trình biên dịch Go Trình biên dịch Kotlin Trình biên dịch Swift Trình biên dịch TypeScript
-
Học lập trình
Trung tâm học Python Ví dụ chạy được, NumPy, pandas và nhiều nội dung khác Trung tâm học C và C++ Con trỏ, bộ nhớ, STL và C++ hiện đại Trung tâm học C#C# cơ bản, OOP, LINQ, async và bài tập .NET Thuật toán Python Tìm kiếm, sắp xếp, đệ quy và trình mô phỏng O(n) Thuật toán C và C++ So sánh cách cài đặt bằng C và C++
- Thử thách
Converters
CSV to JSON Converter
Turn CSV or TSV data into a JSON array of objects, an array of arrays, or an object keyed by the first column.
- Runs in your browser
- Instant results
- Free, no sign-up
Loading the tool…
How to use the CSV to JSON Converter
- Paste CSV (the first row should hold column names).
- Pick the delimiter and output shape, and choose whether to detect types.
- Copy the JSON or download it as a file.
Frequently asked questions
How are numbers and booleans handled?
With type detection on, values like 42, 3.14, true and false become JSON numbers and booleans; everything else stays a string.
What does nesting dotted headers do?
A header like address.city becomes a nested object: {"address": {"city": ...}}.
Does it handle quoted fields with commas?
Yes. Quoted fields, escaped quotes and line breaks inside quotes follow the CSV standard.
Luyện Python với thử thách lập trình
Giải các bài tập thực tế ngay trên trình soạn thảo này: chạy kiểm thử mẫu, nộp bài và nhận đánh giá code từ AI.