Splitting into Tab-Separated Files
Key points
- Choose
- Save
The data contains commas, so with CSV the columns shift. Handy then is "TSV", which separates by tabs. In Split an Excel File by Sheet you can choose "TSV (tab-separated)".
Steps
- Choose an .xlsx with "Choose an Excel file".
- Choose "TSV (tab-separated)" under "Save format".
- Press "Split by sheet and save as ZIP" to save.
Columns are separated by tabs instead of commas.
Difference between CSV and TSV
- CSV: separated by commas. The most widely used.
- TSV: separated by tabs. Less prone to shifting even if text contains commas.
When TSV suits
- Lots of text containing commas, like addresses and descriptions
- Wanting to handle text directly as data
- The destination assumes TSV
Cautions when using TSV
- Check whether the destination supports TSV
- Tabs within text can cause shifting
- In Excel, opening TSV may require specifying the delimiter
When pasting into a spreadsheet
Copying TSV content and pasting it into a spreadsheet naturally puts the tab-separated columns into cells.
Good for
- Handling address data containing commas
- Pasting a table straight into a spreadsheet
Example
Product descriptions had many commas and the columns shifted in CSV. Splitting as TSV kept the columns aligned and it imported into the system.
Common stumbling blocks
- The destination doesn't support TSV: split again as CSV.
- Tabs are in the text: replace tabs beforehand.
Frequently asked questions
What is the extension of TSV?
.tsv. It can be opened in Notepad and the like.
Summary
TSV for data containing commas. Check the destination's support before choosing.
Use "Split an Excel File by Sheet" (free)Tools that go well with this
- Convert Excel to CSV or JSON: Convert an Excel sheet to CSV, TSV or JSON.
- Convert CSV to Excel (.xlsx): Convert a CSV to an Excel (.xlsx) file.
- Convert Excel Formulas to Values: Replace Excel formulas with their values.