JSON ke CSV
Ubah array objek JSON menjadi CSV, termasuk koma dan tanda kutip di dalam sel.
Ubah CSV dengan baris header menjadi JSON, termasuk koma dalam kutipan dan tanda kutip yang di-escape.
Alat ini berjalan di browser Anda. Input, file, dan nilai yang dihasilkan tetap di perangkat ini. Favorit dan alat yang baru dipakai, jika Anda menggunakannya, hanya menyimpan nama alat di penyimpanan lokal — tidak pernah kata sandi, dokumen, atau isi kode QR. Lihat kebijakan privasi.
Untuk saat ini, panduan lengkap alat ini (cara pakai, contoh, dan FAQ) masih dalam bahasa Inggris.
Paste CSV whose first row is the column names. You get a JSON array of objects, either spaced for reading or compact for a file.
name,age then John,30 and Sara,25 becomes two objects with name and age. Age stays a string, because CSV cells are text.
The row "Doe, Jane",25 keeps Doe, Jane as one name. The comma inside the quotes is not a new column.
The parser walks the text. A quote starts a cell, and the next undoubled quote ends it. A comma outside quotes starts a new cell. A line break outside quotes starts a new row. The first row becomes the keys. Later rows become objects. A row with more cells than the header is rejected so extra values are not dropped.
There is no option to skip the header or to pick a different delimiter. A semicolon-separated file will not split on semicolons. A row that is longer than the header stops the conversion.
See the disclaimer for what these tools do not cover.
Ubah array objek JSON menjadi CSV, termasuk koma dan tanda kutip di dalam sel.
Rapikan JSON agar mudah dibaca, perkecil, atau periksa validitasnya. Komentar, koma di akhir, dan tanda kutip tunggal tidak diperbolehkan. Tidak mengonversi ke CSV.
Uji ekspresi reguler pada teks contoh dan lihat setiap kecocokan, posisinya, dan grupnya.
Buat digest SHA-256, SHA-384, atau SHA-512 dari teks di browser Anda. Ini hash, bukan enkripsi.
Enkode teks ke Base64 atau dekode kembali dengan UTF-8. Siapa pun bisa mendekode hasilnya, jadi ini tidak menyembunyikan kata sandi. File tidak diterima.
Buat satu atau beberapa nilai UUID v4 di browser Anda menggunakan sumber acak yang aman.
The first row is used as the column names.
The CSV stays in your browser. It is not uploaded.