Konverter Teks ke CSV
Tempel atau unggah teks bertanda pisah, daftar, atau JSON. Dapatkan output CSV, TSV, pipe, HTML, atau JSON bersih dalam hitungan detik — semuanya di browser Anda.
Pratinjau tabel langsung data Anda muncul di sini.
Tip: the output is set to CSV — switch the Output sebagai menu to TSV, pipe, fixed-width, plain text, HTML table or JSON whenever you need a different format.
Konversi teks ke CSV — dan sembilan format lainnya
The converter above is built around the most common job, text to CSV, but it also exports the formats people search for next, so you rarely need another tool.
TXT ke CSV
Unggah berkas .txt dan unduh CSV bersih.
Open →CSV ke teks
Balikkan: ubah CSV kembali ke teks biasa atau bertanda pisah.
Open →CSV to delimited text
Output koma, tab, pipe, spasi, atau lebar tetap.
Open →JSON ke CSV
Ratakan array JSON objek menjadi baris.
Open →CSV to HTML table
Buat <table> HTML yang bisa ditempel ke halaman.
Open →Konversi batch
Konversi hingga 50 berkas teks sekaligus.
Open →Cara mengonversi teks ke CSV
Tempel atau unggah
Tempel teks atau daftar Anda ke kotak, atau lepaskan berkas .txt / .csv. Alat membacanya di browser Anda — tidak ada yang dikirim ke server.
Periksa pratinjau
Alat otomatis mendeteksi pemisah dan menampilkan tabel langsung dengan jumlah baris dan kolom agar Anda dapat menemukan masalah sebelum mengunduh.
Unduh CSV
Biarkan output pada CSV (atau pilih format lain) dan klik Unduh atau Salin. Berkas langsung masuk ke folder unduhan Anda.
Konverter teks dan CSV lengkap
Deteksi pemisah cerdas
Otomatis mengenali koma, tab, pipe, dan titik koma, dengan pengaturan manual dan parsing lebar tetap untuk kolom sejajar.
Pratinjau tabel langsung
Lihat data Anda dalam bentuk kisi sebelum diekspor, termasuk peringatan saat baris memiliki jumlah kolom yang tidak konsisten.
Kompatibilitas Excel
UTF-8 BOM untuk penyandian yang benar dan opsi aman Excel yang melindungi nol di depan dan angka panjang.
Sepuluh format output
CSV, TSV, pipe, spasi, titik koma, pemisah kustom, lebar tetap, teks biasa, tabel HTML, dan JSON — satu alat, semua format.
Privasi bawaan
Semua parsing terjadi lokal di browser Anda. Teks tidak pernah meninggalkan perangkat Anda, sehingga aman untuk data sensitif.
Salin, unduh, riwayat
Salin hasil, unduh berkas, atau buka kembali konversi terbaru yang tersimpan lokal di perangkat.
Siapa yang menggunakannya — dan untuk apa
Dari pekerjaan cepat sekali pakai hingga alur kerja data harian, berikut skenario paling umum di mana konverter ini menghemat waktu.
Membersihkan laporan yang ditempel
Salin baris dari PDF, email, atau tabel web, tempel, dan langsung dapatkan CSV bersih siap untuk analisis Excel atau Google Sheets. Pratinjau langsung menemukan kolom tidak rata sebelum impor.
Konversi log atau ekspor konfigurasi
Berkas log dengan pipe, dump konfigurasi berspasi, dan respons JSON API dikonversi dalam satu langkah. Pilih format input, pilih output CSV atau TSV, salin hasilnya ke kode Anda.
Menyiapkan impor daftar kontak
Ubah daftar teks nama, email, dan nomor telepon menjadi CSV terstruktur siap diunggah ke Mailchimp, HubSpot, atau Salesforce. Gunakan opsi baris header untuk memberi label pada setiap kolom.
Memperbaiki format ekspor bank
Banyak ekspor bank menggunakan titik koma atau pipe yang salah dibaca Excel. Konversi ke CSV koma dengan UTF-8 BOM dan angka aman Excel untuk menjaga nol depan dan ID rekening panjang.
Menyusun daftar kata kunci
Tempel ekspor kata kunci multi-kolom dari Google Search Console, Ahrefs, atau SEMrush, deteksi pemisah otomatis, dan unduh CSV bersih untuk langsung diurutkan dan disaring.
Memproses berkas mainframe lebar tetap
Sistem ERP dan perbankan lama sering menghasilkan berkas teks lebar tetap. Tentukan lebar kolom secara manual dan alat memotong setiap baris ke kolom yang benar tanpa menulis kode.
Format output dijelaskan
Choosing the right output format is the difference between data that just works and a file another program rejects. Here is what each option in the Output sebagai menu produces, and when to use it.
CSV (comma-separated values)
The default and most portable choice. Fields are separated by commas and any field containing a comma, quote or line break is wrapped in double quotes, following the standard CSV rules. CSV opens in Excel, Google Sheets, databases and virtually every data tool.
TSV, pipe, semicolon and custom delimiters
Sometimes your data already contains commas, or a target system expects another separator. Tab-separated (TSV) is the safest for messy text; pipe (|) and semicolon (;) are common in exports and European spreadsheets. Pick Pemisah kustom to type any character.
Which delimiter should you pick?
For Excel and Google Sheets
CSV works everywhere; if your locale uses a comma as the decimal mark, semicolon-delimited may import more cleanly. Enable UTF-8 BOM so non-Latin text is read correctly.
For databases and legacy systems
Tab or pipe delimiters avoid clashes with comma-containing values. Many import tools and older systems specifically expect pipe-delimited or fixed-width files.
A note on quotes and encoding
Use Kutip semua when an importer is strict, or Tanpa kutipan for the simplest possible output. Keep encoding as UTF-8 to preserve accents and CJK characters.
Fixed-width and plain text
Fixed-width pads every column to a set width so the file lines up in a monospace view — still used in banking and mainframe feeds. Plain text strips structure for a human-readable list, one row or one cell per line.
HTML table and JSON
Generate an HTML <table> to paste straight into a web page, or export JSON (an array of objects keyed by your header row) for APIs and JavaScript. These are the convert csv to html table and json to csv jobs handled on their own pages too.
Konversi teks dan CSV populer
Each of these has a dedicated, focused tool with examples and tips:
Situasi nyata yang dipecahkan
- Tidy a copied list. Paste names, emails, addresses or a keyword list and get a structured CSV for a spreadsheet or import tool.
- Reshape an export. Convert a system's CSV into tab, pipe, space or fixed-width text so another tool can read it without writing code.
- Clean scraped or OCR text. Turn pasted, semi-structured text into a table you can analyze in seconds, not minutes.
- Prepare a database import. Standardize many text files into consistent CSV, then load them into a database or BI tool.
- Fix Excel headaches. Keep leading zeros, long IDs and encoding intact when opening CSV in Excel using BOM and Excel-safe number options.
- Convert for APIs. Export as JSON to feed your data directly to an API or JavaScript application without a separate conversion step.
Dipercaya untuk konversi cepat
"Menempel daftar 2.000 baris dan mendapatkan CSV bersih dalam hitungan detik. Opsi aman Excel menyelamatkan kode pos saya."
— Analis data"Akhirnya konverter yang tidak mengunggah berkas saya. Deteksi pemisah bekerja dengan baik."
— Pengembang backend"Pratinjau tabel menangkap baris buruk sebelum impor. Menghemat waktu."
— Insinyur operasiKonverter teks ke CSV — pertanyaan yang sering diajukan
Bagaimana cara mengonversi teks ke CSV?
Paste your text into the converter above (or upload a .txt file), and it instantly detects the delimiter and shows a table preview. Keep the output set to CSV and click Unduh hasil or Salin. Everything runs in your browser, so your data is never uploaded.
Bagaimana memilih pemisah yang tepat?
Leave the input on Deteksi otomatis and the tool guesses comma, tab, pipe or semicolon from your data. If the columns look wrong, set the input format to Teks bertanda pisah and pick the delimiter manually, or use Lebar tetap for space-aligned columns.
Apakah mendukung bahasa lain dan UTF-8?
Yes. Text is handled as UTF-8, so accents, Chinese, Japanese and other characters are preserved. For Excel, tick UTF-8 BOM so it opens non-Latin characters correctly instead of showing garbled text.
Apakah bisa dibuka dengan benar di Excel?
Yes. Use CSV output and enable UTF-8 BOM for encoding, and Angka aman Excel to keep leading zeros and long IDs from turning into scientific notation. See fix CSV Excel formatting issues for the full guide.
Apakah ada batas ukuran berkas?
There is no hard limit, but very large files depend on your device's memory since everything runs locally. For big jobs see the large text file to CSV converter, and for many files at once use the batch converter.
Bisakah saya mengonversi CSV kembali ke teks?
Yes — use Tukar, or open the CSV ke teks and CSV to delimited text tools to export tab, pipe, space or fixed-width text from any CSV.
Apakah alat ini sepenuhnya gratis?
Yes. There is no sign-up, no account, no paywall and no file size tier. Every feature is available to everyone. The site is supported by unobtrusive advertising, which keeps it free without restricting any functionality.
Tipe berkas apa yang bisa saya unggah?
You can upload .txt, .csv, .tsv and .json files by clicking the drop zone or dragging a file onto it. You can also paste text directly from the clipboard, including rows copied from Excel, Google Sheets or any web table.
Bisakah saya mengonversi JSON ke CSV?
Yes. Select JSON as the input format (or leave it on Auto-detect) and the tool flattens a JSON array of objects into CSV rows, one object per row. Nested objects are stringified. For a dedicated view see the JSON ke CSV page.
Apakah bekerja offline?
Once the page has fully loaded, the conversion engine works entirely without a network connection. All processing is done in your browser using JavaScript, so you can convert files even on an airplane or with a spotty connection.
Apa yang dilakukan "Angka aman Excel"?
Excel automatically reformats certain values when it opens a CSV: zip codes starting with 0 become plain integers, and long numeric IDs (16+ digits) get converted to scientific notation. Enabling Angka aman Excel wraps those values in quotes or adds an equals-sign prefix so Excel treats them as text and preserves every digit.
Bisakah saya mengonversi daftar satu item per baris ke kolom CSV?
Yes. If each line in your list represents a row, paste it in and use Auto-detect — the tool will treat each line as a single-column row. If you want multiple items per row joined by a delimiter, set the output to your preferred format and use the Kolom teks ke CSV tool for more control over multi-column layouts.