CSV to JSON
Turn a CSV into JSON. Quotes and commas inside values are handled properly.
Tentang CSV to JSON
Paste a CSV, or drop the file on the page, and get JSON back: one object per row, using the first row as the field names. The separator is worked out for you, whether the file uses commas, semicolons, tabs or pipes. Quoted values are read the way the standard says, so an address with a comma in it, or a note with a line break, stays in one field instead of breaking the row. Numbers and true/false can come out as real values rather than text, while something like an id of 007 or a phone number starting with a plus is left as text, where it belongs. It runs inside your browser, so nothing is uploaded and nothing is stored.
Alat ini berjalan di browser kamu, jadi file kamu tidak pernah keluar dari perangkat.
Cara memakai CSV to JSON
- Paste your CSV, or drop the file on the page.
- Check the separator it found and the options.
- Copy the JSON or download it.
Pertanyaan
How do I convert CSV to JSON?
Paste the CSV above and the JSON appears beside it. The first row is treated as the field names unless you turn that off.
Does it handle commas inside a value?
Yes, as long as the value is quoted, which is how CSV files are written. "Patel, Asha" stays one value. Line breaks inside quotes work too.
Why is my phone number still text?
On purpose. Turning +919876543210 or an id like 007 into a number would lose the plus and the leading zeros, so only values that survive the trip unchanged become numbers.
It says the rows have different numbers of columns.
Usually the separator was guessed wrong, or a quote is unclosed somewhere. Set the separator by hand and look at the row where the count changes.
Is anything uploaded?
No. The tool runs inside your browser, so what you paste or add stays on your device.
Alat terkait
- Compare Text – Put two texts side by side and see exactly which lines were added, removed or changed.
- Delimiter Tool – Turn a column of lines into one delimited line, with quotes and brackets if you want.
- Slugify – Turn a title into a clean URL slug. Accents, symbols and spaces are all handled.
- CSS Minifier – Make a CSS file smaller by removing comments and spaces, without breaking it.
- Image to Text Ratio Checker – See how much of a page is real text, how many pictures it has, and which have no alt text.
- Pemformat & Validator JSON – Rapikan, perkecil, dan validasi JSON. Menunjukkan baris dan kolom tepat dari setiap kesalahan.
- Penghitung Kata & Karakter – Hitung kata, karakter, kalimat, dan paragraf, lengkap dengan waktu baca dan kata kunci teratas.
- Pengubah Huruf Besar Kecil – Ubah teks menjadi HURUF BESAR, huruf kecil, Title Case, Sentence case, camelCase, snake_case, dan lainnya.