Skip to content
Storage

Use CSV files from Storage in Microsoft Excel

Export an Excel sheet as a UTF-8 file that Storage accepts, and open a CSV file exported from Storage in Excel.

Two tasks for moving data between Microsoft Excel and Storage. The format Storage accepts and the format it produces are listed in CSV files.

Export an Excel sheet as a file for Storage

Section titled “Export an Excel sheet as a file for Storage”

Goal: a UTF-8 file made from an Excel sheet that Storage imports correctly.

Because Microsoft Excel does not support UTF-8 encoding very well, it is a bit tricky to export data correctly. There are a number of options (opens in a new tab), but without using any non-standard Windows tools, the quickest is this:

  1. Save the Excel sheet as Unicode Text (*.txt) format:

    Screenshot -- Excel Export - Save File

    This will produce a tab-delimited file in UTF-16 encoding, which you can convert in Windows Notepad.

  2. Open the file in Notepad and, without making any modifications, save it with UTF-8 encoding (and .csv extension):

    Screenshot -- Excel Export - Notepad Convert

  3. Import the resulting file into Keboola Storage as a tab-delimited file: open the bucket, click Add Table, and on the Upload CSV File tab select the file under CSV file (drag and drop or Select File). Enter a Table Name, replace the Delimiter (, by default) with a tab, and click Create table.

    Screenshot -- Excel Export - KBC Import

Result: the sheet is in Storage as a table, loaded from a UTF-8 file with the tab as its delimiter.

Note: as long as your data does not contain any non-ASCII (opens in a new tab) characters, you can simply save them as CSV.

Goal: a table exported from Storage, open in an Excel workbook.

The easiest way to import the CSV file exported from Keboola into Microsoft Excel is this:

  1. Start Excel and open a blank workbook.

  2. Use the Data — From Text function and select the exported file:

    Screenshot -- Excel Import -- Select file

  3. An import wizard will start. On its first screen, select the delimited file and Unicode UTF-8 encoding:

    Screenshot -- Excel Import -- Import Wizard

  4. On the next screen, make sure that only the comma delimiter is selected:

    Screenshot -- Excel Import -- Import Wizard

Result: the exported table is in the workbook, one CSV column per Excel column.

However, using this method, Excel is not able to import new lines contained in table cells. If you need to do that, you have to use a more complicated approach (opens in a new tab).

Next: Back up and restore tables →

Ask Kai

Hi, I'm Kai — Keboola's AI assistant for the docs. Ask me anything and I'll answer from the documentation and cite the pages I use.

Kai is an AI and can make mistakes. Check the sources it links.