Mengubah Data yang Dipisahkan Tab atau Titik Koma
- Pilih
- Ubah
Even called CSV, the separator is not always a comma. There is data separated by tabs or semicolons. In Convert CSV to Excel (.xlsx) you choose the "Delimiter" and split into columns correctly.
Langkah-langkah
- Choose a file with "Choose a CSV file", or paste into "CSV content".
- Choose the type under "Delimiter": "Detect automatically", "Comma", "Tab" or "Semicolon".
- Press "Make Excel and save".
The three delimiters
- Comma (,): ordinary CSV.
- Tab: data copied from Excel and the like. Also called TSV.
- Semicolon (;): CSV used in places like Europe, mostly in countries using a comma as the decimal separator.
When automatic detection is enough
It looks at the first line of the data and detects which delimiter is used. In most cases it detects correctly.
When to choose manually
- Automatic detection didn't split columns correctly
- The data contains several kinds of delimiters
- You want to specify it for certain
If the delimiter doesn't match
The whole line becomes one column and doesn't split cleanly. Look at the resulting columns, and if odd, change the delimiter and try again.
When items contain commas
If addresses and the like contain commas, they are handled correctly as long as the items are enclosed in double quotes. If not enclosed, it's safer to output again as tab-separated.
Cocok untuk
- Semicolon-separated CSVs output from overseas systems
- Tab-separated data copied from Excel
- Tab-separated data output from databases
Contoh
An order CSV output from an overseas shop opened as a single column. It was semicolon-separated, so converting with the delimiter set to "Semicolon" split it into the right columns.
Common stumbling blocks
- Only some columns shift: delimiters inside items aren't enclosed in quotes.
- Decimal point is a comma: in semicolon-separated CSV where decimals use commas, numbers may not be treated as values.
Frequently asked questions
Can other delimiters (such as spaces) be used?
This tool supports commas, tabs and semicolons.
Ringkasan
If unsure, "Detect automatically". If columns shift, choose the delimiter manually.
Gunakan “Ubah CSV ke Excel (.xlsx)” (gratis)Alat yang cocok dipakai bersama
- Ubah Excel ke CSV atau JSON: Ubah lembar Excel ke CSV, TSV, atau JSON.
- Ubah CSV dan JSON: Ubah antara CSV dan JSON seketika.
- Hapus Baris Duplikat dan Urutkan Daftar: Hapus baris duplikat dan urutkan.
Jika panduan ini membantu, tip kecil akan sangat berarti bagi kami.
Kirim tip (¥300)Kirim hadiah (daftar keinginan Amazon)