
Building a good table takes time. You pick the columns, add the rows, set the colors and check how it looks on phones. So when you move to a new website, start a second site or simply want a backup, you do not want to build that table again from scratch.
The answer is to export the table to a file and import it wherever you need it. In this guide, you will learn how to export and import tables in WordPress in two ways: with the tools that come with WordPress, and with WP Table Builder, a free drag and drop table plugin with a built in Export page and Import page. You will also see which file format to pick, how to bring in a spreadsheet, and how to fix the most common import problems.
What Does It Mean to Export and Import a Table?
Exporting saves a table from your site as a file on your computer. Importing does the opposite: it reads that file and creates a new table on a site. Put the two together and you can copy a table from one WordPress site to another, keep a backup, or move table data in and out of a spreadsheet.

Table plugins usually work with three kinds of files:
- XML: a full copy of the table, including its design. This is the best choice for moving a table from one site to another.
- CSV: plain text values separated by commas. Excel, Google Sheets and Numbers can all open it, but it holds only the text in each cell, not colors, buttons or merged cells.
- ZIP: a single archive that holds several XML or CSV files, so you can move many tables in one go.
When Should You Export or Import Tables?
- Moving to a new site or domain. Export your tables from the old site and import them on the new one instead of rebuilding them.
- Staging and live sites. Build and test a table on a staging copy, then import the finished version on the live site.
- Reusing a design across client sites. Agencies can keep a set of favorite pricing or comparison tables and import them into each new project.
- Backups. A quick XML export before a big edit gives you a copy you can bring back at any time.
- Working with spreadsheet data. Import a CSV from Excel or Google Sheets to create a table with dozens of rows in seconds, or export a table as CSV to edit the numbers in a spreadsheet.
Option 1: Copy Tables With Core WordPress Tools
WordPress itself has no export or import button for a single table. There are still a few ways to move table content with the tools it includes:
- Copy a Table block to another site. In the block editor, select the Table block, open the block menu (the three dots) and choose Copy. Open a post on the other site and paste it. The block arrives with its rows, columns and style.
- Paste a table from a spreadsheet. Select the cells in Google Sheets or Excel, copy them, then paste them into an empty paragraph in the block editor. WordPress turns the pasted cells into a Table block.
- Copy a table back into a spreadsheet. Open the published page, select the table with your mouse, copy it and paste it into Google Sheets. Each cell lands in its own spreadsheet cell.
- Move whole posts. Go to Tools > Export, choose the posts or pages you want and download the export file. On the other site, use Tools > Import with the WordPress importer. Any Table blocks inside those posts come along with them.
These tricks work for small, simple tables. They do not give you a CSV or XML file of one table, you cannot export several tables at once, and copy and paste gets slow and error prone once a table has more than a few rows. If you manage more than a handful of tables, a table plugin with real export and import is much easier.
Option 2: Export and Import Tables With WP Table Builder
WP Table Builder has its own Export and Import pages. Both are part of the free plugin, and both work with XML, CSV and ZIP files. Here is the full process, from the old site to the new one.
Step 1: Open the Export Page
In your dashboard, go to WP Table Builder > Export. The top panel, All Tables, lists every table on your site with its ID and the date it was last changed. Use the search box or click the Title or Modified column to sort the list and find the tables you need.
Step 2: Add Tables to the Export Queue
Tick the tables you want and click the arrow button to move them to the To export panel below. You can also double click a row to move it, or use the double arrow button to move every table shown. To take a table out of the queue, tick it in the lower panel and click the opposite arrow. Your selection stays in place until you export, so you can search for more tables and keep adding them.

Step 3: Pick a Format and Click Export
At the bottom of the page, open the format menu and choose one of these:
- XML: an exact copy of your tables, ready to import into any WP Table Builder site. Pick this to move tables between sites or keep a backup.
- CSV: text content only, ready for spreadsheets and other apps. Pick this when you want to edit the data in Excel or Google Sheets.
Click Export. One table downloads as a single file named after the table title. Several tables download together as one ZIP file.
Step 4: Open the Import Page on the Other Site
On the site where you want the tables, install and activate WP Table Builder if it is not there yet. Then go to WP Table Builder > Import. Drag your files into the box, or click Browse files and pick them. The box accepts CSV, XML and ZIP files, and you can add several files at once. They appear in the To be imported list, where you can remove any file you added by mistake.

Step 5: Keep Table Titles and Click Import
Leave Preserve table titles ticked if you want each new table to be named after its file. Then click Import. A progress bar shows how many tables are done, and a message such as 1 table imported successfully! appears at the end. Click View table (or View tables) to open the result.
Step 6: Check the Table in the Builder
Open the imported table in the builder and look it over. A table imported from XML should look the same as the original. A table imported from CSV arrives as plain text in a simple grid, so this is the moment to add a header color, buttons or images. Our guide to changing table colors shows how. It is also a good time to check the Responsive tab, as explained in our guide to responsive tables in WordPress.

Step 7: Embed the Table
Every imported table gets a new ID on the new site. Click Save, then Embed to copy the new shortcode, which looks like [wptb id="123" not found ], or add the WP Table Builder block in the block editor and pick the table from the list. If you moved a whole site, update any old shortcodes so they use the new IDs.

XML or CSV: Which Export Format Should You Use?
The short answer: use XML to move a table, and CSV to work with its data. The table below sums up what each format keeps. It is a live WP Table Builder table, so you can see how a finished table looks on the page.
What is kept | XML export | CSV export |
Cell text | ✓ | ✓ |
Colors, fonts and borders | ✓ | ✕ |
Merged cells | ✓ | ✕ |
Buttons, images and links | ✓ | Text only |
Responsive settings | ✓ | ✕ |
Easy to edit in Excel or Sheets | ✕ | ✓ |
Several tables in one ZIP | ✓ | ✓ |
Best for | Moving tables | Editing data |
How it is set up: the first column uses bold text, the check marks are small styled labels in Text elements, and the last row uses tag labels. The table has a 12 px corner radius and only horizontal borders, which keeps it light and easy to scan.
How to Import a Spreadsheet as a Table
CSV import is the fastest way to turn spreadsheet data into a WordPress table. First save your sheet as a CSV file:
- Google Sheets: go to File > Download > Comma separated values (.csv). This saves the sheet that is open.
- Excel: go to File > Save As and choose CSV UTF-8 (Comma delimited). UTF-8 keeps accents and special characters correct.
- Numbers: go to File > Export To > CSV.
Then import the file on the WP Table Builder Import page as shown in Steps 4 and 5. Each line of the file becomes a row, and each value becomes a cell with a Text element. For a deeper walkthrough with screenshots of the CSV route, see how to import a CSV file and display it as a table. If your data lives in Google Sheets and changes often, our guide to creating a table from Google Sheets data covers the options.
Fixing Common Import Problems
- The file shows as unsupported. The importer checks the file type your browser reports. On some computers, often Windows machines with Excel installed, a CSV file is reported as an Excel file and is turned away. Put the CSV inside a ZIP file (right click the file and choose to compress it) and import the ZIP instead. CSV and XML files inside a ZIP are read by their file name.
- All the data lands in one column. Some spreadsheet apps save CSV files with semicolons instead of commas, depending on your region. Save the file again with commas as separators, for example with the CSV UTF-8 option in Excel.
- Images point to the old site. An XML import keeps the image addresses from the original table. If the old site is going away, upload the images to the new site’s Media Library and swap them in the builder.
- Links still go to the old domain. Buttons and text links keep their addresses. After a move, open the table and update any links that pointed to the old site.
- Pro elements look missing. If the table uses WP Table Builder Pro elements such as badges, ribbons or icons, make sure WP Table Builder Pro is active on the new site too.
- The title has dashes in it. With Preserve table titles on, the new table takes its name from the file name, and exported file names use dashes instead of spaces. Rename the table in the builder if you like.
Tips for Moving Tables Safely
- Export a backup first. Before you make big changes to a table, export it as XML. Importing always creates a new table, so your backup never overwrites anything.
- Name tables clearly. Export file names come from table titles, so Pricing plans 2026 is far easier to find later than Table 12.
- Group exports in a ZIP. Moving a whole site? Queue every table, pick XML and download one ZIP file instead of many single files.
- Check on a phone after import. Open the page on a phone or use the builder’s responsive preview to make sure the table still stacks or scrolls well.
- Coming from another plugin? If your tables live in TablePress or another table plugin, export them as CSV there and import the CSV files into WP Table Builder. Our WP Table Builder vs TablePress comparison explains how the two plugins differ.
Frequently Asked Questions
Can I export a WordPress table to Excel?
Yes. In WP Table Builder, go to the Export page, queue the table, choose CSV and click Export. Excel, Google Sheets and Numbers can open the file. Keep in mind that CSV holds only the text in each cell, so colors, buttons and images are not included.
Does importing a table replace the one already on my site?
No. Every import creates a new table with its own ID. Your existing tables stay as they are, which also makes an XML export a safe backup.
Are export and import free in WP Table Builder?
Yes. The Export and Import pages, with XML, CSV and ZIP support, are part of the free WP Table Builder plugin on WordPress.org.
Can I import tables from TablePress?
The current Import page takes CSV, XML and ZIP files. Export your TablePress tables as CSV files, then import those files into WP Table Builder and style them in the builder.
Will my table look the same after an XML import?
Yes, an XML export is an exact copy of the table, including colors, merged cells, buttons and responsive settings. Images and links keep their original addresses, so update them if the old site is going offline.
Conclusion
You do not need to rebuild a table every time you move it. With core WordPress tools you can copy simple Table blocks between sites or paste data from a spreadsheet. With WP Table Builder you get real export and import pages: queue your tables, pick XML for an exact copy or CSV for spreadsheet data, and import the file on any site that runs the plugin.
Start with one table: export it as XML, import it on a staging site and see how quickly it comes back. Want more ideas for what to build next? Browse these WordPress table examples, or get WP Table Builder and try the Export and Import pages yourself.
Leave a Reply
You must be logged in to post a comment.