Table of Contents
How to import Excel, CSV or Google Sheets data into an editable table in wpDataTables
Say you get a price list from a supplier as an Excel file once, and from then on you want to keep it up to date yourself, on your website, without opening Excel again. If you link a table to the file, you can’t edit it in WordPress. If you import the file, wpDataTables copies the data into a new table in your database, and you can change the rows and columns whenever you like.
Should I import the file or link the table to it?
Import the file when you want to edit the data in WordPress, and link the table when the file stays the place where the data changes. The two ways compare like this:
| Imported table | Linked table | |
|---|---|---|
| Where the data lives | In a new table in your database | In the file, read on every page load |
| Edit rows in WordPress | Yes, in the admin and on the front end | No |
| Changes in the file | Don’t reach the table | Show in the table |
| Large tables | Fast with server-side processing | Slow above a few thousand cells |
To keep a file as the source, read how to create a table from a CSV file. To refresh an imported table from a new file later, read how to update a manual table from a file.
How do I import a file with Tabella AI?
Share the file or link with Tabella AI on the Dashboard, check the review card and click Import to database.
- Share the data. Go to wpDataTables → Dashboard and click + Use a file or link. Paste a public link to the file in Public data URL, or pick a file from the Media Library.
- Preview it. Click Preview this source. Tabella AI shows a sample of up to 20 rows.
- Choose the columns. Open Choose columns for database import and clear the columns you don’t want.
- Check your choices. Click Check column choices. Tabella AI checks them against the full file and shows Column choices checked against the full file. Ready to import.
- Import the data. Click Import to database. wpDataTables creates an editable table with a copy of the data.
The review card looks the same for every file type:

Video: importing a CSV file into the database with Tabella AI.
How do I import a file in the table wizard?
Go to wpDataTables → Create a Table, click Create a data table by importing data from a data source, choose the file, check the columns and click Create the table.
- Start the import. Go to wpDataTables → Create a Table and click Create a data table by importing data from a data source.
- Choose the file. In Input file path or URL, paste the file’s URL or path, or click Browse… to pick a CSV, XLS or XLSX file from the Media Library. You can also paste the link of a published Google sheet. To try it out, use the sample file csv_table_example.csv.
- Read the file. Click Next. wpDataTables reads the file and shows a block for each column under Column names and types, with its first values in Data preview.
- Check the columns. Enter a Table name, rename the columns, check each Type, drag the blocks to reorder them, remove the columns you don’t need with the trash icon, or add new ones with Add column.
- Create the table. Click Create the table and choose the standard or the Excel-like editor.

The column types, database types and default values work the same as in a manual table. Read which column type to choose.
What should I remember about importing data?
Importing copies a file’s data into a new editable table in your database, so later changes in the file don’t reach the table. Share the file with Tabella AI and click Import to database, or use Create a data table by importing data from a data source in the wizard, check the columns and click Create the table. Link the table instead if the file should stay the source.
Where can I read more?
These pages cover the next steps with an imported table: