Our Biggest Sale Is Here
Up to 70% Off
Get the Deal

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.

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.

  1. 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.
  2. Preview it. Click Preview this source. Tabella AI shows a sample of up to 20 rows.
  3. Choose the columns. Open Choose columns for database import and clear the columns you don’t want.
  4. 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.
  5. 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:

Tabella AI review card on the wpDataTables Dashboard with a sample of the states CSV file and the Create linked table and Import to database buttons
The Tabella AI review card, shown as overlapping panels: (1) a sample of up to 20 rows, (2) the size limits, (3) Choose columns for database import, (4) Create linked table, (5) Import to database.

Video: importing a CSV file into the database with Tabella AI.

The first draft can have up to 5 MB and 100 columns. Tabella AI needs WordPress 7.0 or newer and a connected AI provider. Read how to use Tabella AI to set it up.

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.

  1. Start the import. Go to wpDataTables → Create a Table and click Create a data table by importing data from a data source.
  2. 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.
  3. 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.
  4. 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.
  5. Create the table. Click Create the table and choose the standard or the Excel-like editor.
The import wizard for a CSV file with the table name Imported tasks, the Task, Owner and Status column blocks with their types, the data preview and the Create the table button
Importing a file into a new table, shown as overlapping panels: (1) Table name, (2) a column block with its Type, (3) Data preview, (4) remove the column, (5) Create the table.

The column types, database types and default values work the same as in a manual table. Read which column type to choose.

For a Google sheet, publish it first with File → Share → Publish to web and use the link with 2PACX, as in how to create a table from Google Sheets. If the sheet uses formulas, read how to show Google Sheets with formulas.

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.

Wait, Before You Download!

To get your hands on wpDataTables Lite, please enter your email address below. We’ll send you a direct download link and keep you updated on existing features along with helpful tips and tricks!

By continuing, I accept Privacy Policy and T&C
Mail Box