---
title: Import a CSV file
project: Tables
version: 7.0
section: guides
language: en
translation: missing
license: Total.js Enterprise
url: https://totaljs.es/docs/sk/tables/7-0/guides/import-csv/
updated: 2026-11-20T06:39:57.622Z
---

# Import a CSV file

> Import records from a CSV file into a table and map the file columns to the table columns.

You can fill a table with records from a CSV file, for example a list exported from a spreadsheet.

## Prepare the file

- The first line holds the names of the columns.
- Use a comma or a semicolon between values.
- If a column of the file has the same name as a column of the table, Tables maps it automatically.

```text
Product,Code,Price,In stock
Standing desk,DE-400,399.90,5
Monitor arm,MA-500,59,25
```

## Import

1. Open the three dots on the table card and choose **Import CSV**.
2. Choose the file.
3. Check the **Mapping**: each column of the table on the left gets a column of the file on the right. Click a value to change it, or leave `---` to skip a column.
4. Click **IMPORT DATA**.

![The Import CSV data window with the mapping](/files/Jasskx2Uv61f.webp)

The window shows the **Total number of rows for import** before you start, and the number imported and the errors while it works. Wait until the import has finished.

## Options

- **Stop importing when an error occurs**: stops at the first row that cannot be saved.
- **Filter**: use it to update existing records. For a column that identifies a record, for example **Code**, click `---` and choose the column of the file with the same value. A row that matches an existing record updates it. Without a filter, every row creates a new record.
- **Create a record if it doesn't exist**: with a filter, rows that match no record are skipped. Check this option to create them instead.
