Konwersja danych rozdzielonych tabulatorami lub średnikami
- Wybierz
- Konwersja
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.
Kroki
- Wybierz „Kierunek”.
- 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.
Jak to rozpoznać
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.
Dobre do
- Pasting Excel data as it is and converting
- Converting CSV output from overseas systems
- Handling data whose items contain commas
Przykład
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.
Podsumowanie
Match the delimiter to the data. Copies from Excel are tab-separated.
Użyj „Konwersja CSV i JSON” (za darmo)Narzędzia, które dobrze z tym współgrają
- Usuwanie duplikatów wierszy i sortowanie listy: Usuń zduplikowane wiersze i posortuj je.
- Tworzenie pliku ZIP: Spakuj kilka plików do jednego ZIP-a.
- Licznik znaków (do podań i prac): Policz znaki, wiersze i arkusze rękopisu w swoim tekście.
Jeśli ten poradnik Ci pomógł, mały napiwek będzie dla nas ogromnym wsparciem.
Wesprzyj nas napiwkiem (¥300)Wyślij prezent (lista życzeń Amazon)