การแปลงข้อมูลที่คั่นด้วยแท็บหรืออัฒภาค
- เลือก
- แปลง
Even called CSV, the separator is not always a comma. There is data separated by tabs, and data separated by semicolons. In Convert CSV and JSON, you choose the "Delimiter (CSV)" and convert.
ขั้นตอน
- เลือก “ทิศทาง”
- For "Delimiter (CSV)", choose from "comma", "tab" and "semicolon".
- Paste the data into "Before conversion".
- Press "Convert" and check the result.
The three delimiters
- Comma (,): ordinary CSV.
- Tab: data copied from Excel or spreadsheets. Also called TSV.
- Semicolon (;): CSV used in countries such as those in Europe, mostly where a comma is the decimal separator.
วิธีสังเกต
Look at the pasted data and check what separates the items.
- Items separated by commas → comma
- A wide gap between items (tab) → tab
- Items separated by semicolons → semicolon
If the delimiter is wrong
The whole line becomes one item and doesn't split cleanly. If the result is odd, change the delimiter and try again.
When copying from Excel
- In Excel, select the range to convert and copy.
- Paste into "Before conversion".
- Set the delimiter to "tab" and convert.
When items contain commas
If the data contains commas (addresses, for example), changing the delimiter to tab is safer. Or use a format with items enclosed in double quotes.
เหมาะกับ
- Pasting Excel data as it is and converting
- Converting CSV output from overseas systems
- Handling data whose items contain commas
ตัวอย่าง
Copied and pasted an Excel table but it didn't split well. Changing the delimiter to "tab" converted it cleanly.
Common stumbling blocks
- The whole becomes one item: the delimiter doesn't match.
- Decimal points get mixed in: semicolon-separated with commas as decimal points.
Frequently asked questions
Is the delimiter detected automatically?
It is not detected automatically. You choose it.
สรุป
Match the delimiter to the data. Copies from Excel are tab-separated.
ใช้ “แปลง CSV และ JSON” (ฟรี)เครื่องมือที่ใช้คู่กันได้ดี
- ลบบรรทัดซ้ำและเรียงลำดับรายการ: ลบบรรทัดซ้ำและเรียงลำดับ
- สร้างไฟล์ ZIP: รวมไฟล์หลายไฟล์เป็น ZIP เดียว
- นับตัวอักษร (สำหรับใบสมัครและรายงาน): นับตัวอักษร บรรทัด และแผ่นกระดาษต้นฉบับของข้อความ
หากคู่มือนี้เป็นประโยชน์ ทิปเล็ก ๆ น้อย ๆ จะเป็นกำลังใจอย่างมาก
ส่งทิป (¥300)ส่งของขวัญ (Amazon wishlist)