Konverter Tabel ke JSON / SQL - CSV, TSV, Markdown Online

Tempel tabel CSV, TSV, titik koma, pipa, atau Markdown dan konversi menjadi pernyataan JSON, JSONL, atau SQL INSERT secara instan di browser Anda.

Tempel CSV, TSV, titik koma, pipa, atau | tabel | markdown | di sini…

atau jatuhkan file .csv / .tsv

Berkas dihapus otomatis setelah diprosesDiproses dengan aman melalui HTTPS

Frequently Asked Questions

Tempel CSV (atau letakkan file .csv) ke panel input, dan alat ini akan mendeteksi pemisah secara otomatis, mengurai setiap baris menjadi objek JSON menggunakan baris header sebagai kunci, dan menampilkan output secara instan. Ganti format output ke array JSON, JSONL, atau SQL INSERT untuk mendapatkan bentuk yang persis Anda butuhkan.

usage

Ya. Parser mengikuti RFC 4180 — bidang yang diapit tanda kutip ganda dapat memuat koma, baris baru, dan bahkan tanda kutip literal (di-escape sebagai "") tanpa merusak penguraian. Jadi nilai seperti "Smith, John" tetap menjadi satu sel, bukan dua.

technical

Alat ini menghitung tab, koma, titik koma, dan pipe pada baris pertama yang tidak kosong dan memilih yang paling sering muncul. Jika file Anda tidak biasa atau ambigu, Anda dapat menimpa deteksi otomatis dan memilih tab (TSV), koma, titik koma, pipe, atau tabel Markdown secara manual.

technical

Beralihlah ke format keluaran SQL INSERT dan masukkan nama tabel. Alat ini membersihkan nama kolom menjadi pengenal yang valid (mengganti spasi, tanda hubung, dll. dengan garis bawah) dan menghasilkan satu INSERT per baris dengan literal string yang di-escape dengan benar, nilai numerik, dan NULL untuk sel kosong. Sempurna untuk mengisi awal basis data atau migrasi data.

features

JSONL (JSON Lines) menempatkan satu objek JSON per baris, tanpa larik pembungkus. Ini adalah format standar untuk mengalirkan data ke BigQuery, Snowflake, Logstash, Elasticsearch, dan sebagian besar alur kerja machine learning. Pilih JSONL ketika setiap baris akan diproses secara independen.

features

Ya. Nilai yang cocok dengan pola bilangan bulat atau desimal dikeluarkan sebagai angka JSON, literal "true"/"false" menjadi boolean, dan sel kosong menjadi null. Jika Anda membutuhkan semuanya sebagai string, siapkan nilainya sesuai kebutuhan sebelum mengonversi.

technical

Ya. Pilih "Tabel Markdown" sebagai pembatas dan tempelkan tabel Markdown standar yang dipisahkan pipa (baris header, baris pemisah, baris isi). Baris pemisah otomatis dilewati dan spasi kosong sel dipangkas.

usage

Tidak — penguraian dan konversi berjalan sepenuhnya di peramban Anda. Ini membuat alat ini aman untuk spreadsheet sensitif seperti ekspor penggajian, daftar pelanggan, atau catatan keuangan yang tidak boleh menyentuh server pihak ketiga.

privacy

When checked, the tool treats your table's first row as column names and uses them as the JSON object keys (or generates col_1, col_2... for SQL if you leave it blank). Uncheck it if your data has no header row — a plain list of rows — and the tool will instead output raw JSON arrays or auto-name columns col_1, col_2, etc. for SQL INSERT statements.

features

Switch Output to SQL INSERT and a Table name field appears where you can type your target table's name, such as customers or order_items. The tool automatically sanitizes whatever you enter — replacing spaces and symbols with underscores and prefixing a leading digit — so the generated SQL always has a valid identifier even if your input is messy.

usage

Uncheck 'First row is header' if your export has no column names, set Output to SQL INSERT, and type your real table name in the Table name field. The tool will auto-generate col_1, col_2... column names, coerce numbers and booleans automatically, and produce one properly-escaped INSERT statement per row that you can paste straight into your database client.

tips

JSON (arrays) drops the field names and outputs each row as a plain list of values in column order — for example ["Alice", 34, "Berlin"] instead of {"name":"Alice","age":34,"city":"Berlin"}. It still respects the 'First row is header' checkbox, using that row only to know how many columns to expect rather than as keys. Choose it when the receiving code (a charting library, a positional database driver, or a spreadsheet import) reads values by position rather than by field name; otherwise stick with JSON (objects).

features

Try sample fills the input panel with a short three-row name/age/city table (tab-separated) so you can immediately see how the delimiter detection, header row and each output format behave before you paste real data. Once there's content in the box, a Clear button appears — next to the Input label in the editor view, and again as a full-width button in the Settings panel — that wipes the textarea back to empty in one click instead of selecting and deleting the text manually.

usage

How Table to JSON helps you get it done

Real problems it solves every day — for businesses, creators, and everyday tasks. Find the use case that fits you and start in seconds.

For Developers

Migrasi CSV ke API

Anda memiliki ekspor CSV versi lawas dari mitra dan perlu mem-POST-nya ke REST API modern yang mengharapkan JSON. Konversikan dalam hitungan detik, salin ke body fetch Anda, dan verifikasi strukturnya — tanpa perlu skrip perekat.

For Developers

Seeding Database

Hasilkan pernyataan SQL INSERT yang siap dijalankan dari CSV berisi data uji. Langsung tempel ke berkas migrasi atau shell psql Anda. Outputnya menangani string, angka, null, dan boolean dengan benar.

For Developers

Ingesti BigQuery / Snowflake

Cloud warehouse mencerna JSONL lebih cepat daripada CSV. Konversikan spreadsheet Anda ke JSONL dan unggah langsung ke staging BigQuery, Snowflake, atau Redshift.

Publishing

Tabel Dokumentasi Markdown

Konversi tempelan dari dokumen Markdown Anda menjadi JSON untuk pemrosesan programatik — hasilkan item FAQ, entri navigasi, atau data tingkatan harga dari tabel Markdown yang mudah dibaca manusia.

Productivity

Analisis Pengiriman Formulir

Ekspor tanggapan Google Forms atau Typeform Anda sebagai CSV, konversikan ke JSON, lalu jalankan analitik atau masukkan ke CRM Anda melalui API. Baris header menjadi nama field Anda.

For Developers

Pembuatan Data Situs Statis

Masukkan data tabel ke Next.js getStaticProps, koleksi konten Astro, atau file data Hugo. JSONL sangat berguna untuk koleksi konten yang memetakan satu baris ke satu halaman.

For Developers

QA Test Fixture Generation

Paste a spreadsheet of test scenarios and export JSON fixtures or JSONL straight into a Jest, Pytest or Playwright test suite, skipping the hand-written mock-data file entirely.

For E-commerce

Supplier Catalog Bulk Import

Convert a supplier's price-list CSV into SQL INSERT statements for your products table, or JSON for a Shopify/WooCommerce bulk-import app, using the Table name field to target the exact table your store expects.

Productivity

No-Code Zapier & Airtable Sync

Turn an exported spreadsheet into the JSON array or object shape a Zapier webhook, Airtable automation or Make.com scenario expects, without writing a transformation script.

Finance

Rekonsiliasi Rekening Koran

Convert an exported bank or card-statement CSV into JSON for a personal-finance dashboard, or into SQL INSERT statements to load transactions straight into a ledger database.

Publishing

Static Site Data File Generation

Convert a spreadsheet of team bios, pricing tiers or product listings into a JSON data file that Hugo, Jekyll, Astro or Eleventy templates loop over directly, skipping the hand-written data/*.json file a JAMstack build usually requires.