How to Insert Tables in WordPress Posts/Pages

There’s no table button?

As you scour the WordPress editor, you’ll quickly realize there’s no option for adding a table. And it’s not just your site – no WordPress site has a table button.

So how can you insert a table in a post or page?

There are two excellent plugins that can help.

The first plugin lets you create a table with a special editor. That means you won’t even need to look at any code. The second plugin is better for tables that need visual appeal and variety.

There is a third method that doesn’t involve any plugins as well, and I’ll cover that last in the tutorial. For now, let’s get started with plugin number one.

Subscribe to Compete Themes on Youtube

1. Create a table with TablePress

TablePress is the plugin for creating and displaying tables with WordPress.

TablePress plugin

As you can see, it’s a favorite among WordPress users.

Why use TablePress?

The main draw of TablePress is that it gives you a nice interface for creating and modifying tables without touching any code.

Also, it has more functionality than I can cover here. Check out the extensions page for all the cool features you can add to the base plugin.

One last benefit to using TablePress is that your tables aren’t tied down to a single post or page. Since you create tables independent of any post/page, you can reuse them anywhere on your site.

How to use TablePress

After activating TablePress, you’ll find a new top-level menu added to your admin dashboard.

Menu added by TablePress

Clicking the Add New button will take you to this page where you can setup your table’s name and size (don’t worry, you can always update rows/columns later).

Table creation screen

Creating the table gives you access to the full table editor where you’ll enter your data.

The table editor
I’ve added some example data to the table, so you can see how it might look in use.

You can rearrange rows and columns, add links, combine cells – there’s a ton of practical functionality built into the editor.

When you’re ready to display the table, copy the shortcode from the table page and paste it into the editor using the Shortcode block.

Shortcode Block

While you’ll see a shortcode in the editor, a full table is displayed when you view the post.

Here’s how the table looks displayed on the front-end.

Example table being displayed with TablePress
Displayed in a post with the Apex theme.

Never used shortcodes? Get familiar with them in this tutorial.

Common questions

There are a few common issues and questions with TablePress.

Will the shortcode affect my site’s SEO?

No. Using a shortcode won’t have any effect on Google’s ability to read the table on the page.

While you see a shortcode in the editor, regular crawlable HTML is output on the site. It’s no different than writing out the HTML yourself.

Is it responsive / mobile-friendly?

The tables that TablePress creates are not responsive by default. However, there is an extension that will make them more mobile friendly.

Will I lose my tables if I stop using this plugin?

Yes, and no.

The table data is stored in your database, so you won’t technically lose it by uninstalling the plugin. However, you won’t have access to that data in your admin dashboard anymore, so creating tables with it might be challenging.

Backup up your site!

Okay, this is not a question, but a reminder to backup up your site! Some WP users around the web have lamented spending hours on their tables just to end up losing them.

Always make sure to backup your site regularly, so you don’t lose your hard work. You can follow our tutorial on how to backup your site if you need help. There are lots of great free and premium backup plugins to choose from.

2. Create a table with WP Table Builder

If you want to create more visually beautiful tables, try out WP Table Builder.

Wp Table Builder

While TablePress is great for structuring and presenting data, the tables aren’t all that attractive. WP Table Builder is excellent for creating product comparison tables, employee schedules, and even restaurant menus.

With a simple drag-and-drop interface, WP Table Builder is a joy to use.

How to use WP Table Builder

WP Table Builder can be installed like any other plugin. Once installed, you’ll find a new Table Builder menu added to your dashboard.

Table Builder Menu

Clicking the “Add New” button reveals the drag-and-drop interface where you can construct your table.

Table Builder Interface

There are currently five different content types that you can see available in the top-left of the above image.

After choosing how many columns and rows you want (can be edited later), you can simply drag-and-drop any of those elements into any cell in the table.

After less than a minute of fiddling around with this plugin, I was able to put together the beginnings of a product comparison table.

Table Example

It’s easy to see how you could quickly create any kind of table using this plugin.

As for adding the table into your post, it’s easily done with a shortcode. Clicking the “Embed” button at the top of the interface reveals this popup with the table’s shortcode.

Wp Table Builder Shortcode

Then all you need to do is copy and paste it into a Shortcode block to include it in any post or page.

Can you create a table without a plugin?

WordPress does have a Table block which lets you quickly create a table with a custom number of columns and rows, but your data then stays in one place, it’s not reusable, and it’s not going to be attractively styled.

TablePress is an excellent choice for anyone looking to make larger, reusable tables that they can import or export from their site, and WP Table Builder is a great alternative for more visual content.

If you’re looking for more selection between plugins, take a look at our list of the best table plugins for WordPress.

Is there anything else you need to add tables to your site? Is something missing in this tutorial? Leave a comment below.

Take our 7-day Email Course for FREE

You'll learn how to make your WordPress site look better, load faster, and make more money.

Invalid email address
You'll get one email a day for the next 7 days


  1. Purdie H Purdie H

    I like this article! Very useful!

  2. ann ann

    This is very useful, however, I need to create a table without a plugin. You mention at the very end that this is possible, perhaps another tutorial could cover this?

    • Ben Sibley Ben Sibley

      Now that the Gutenberg editor is out, I recommend inserting the Table block that comes included. It is much more limited than the plugins shared here but works fine for adding a basic table into a post/page.

  3. George George

    Very helpful and informative article. Many many thanks for sharing.

    Have a wonderful day.

Comments are closed.

Disclosure: This post may contain affiliate links. Purchasing a product through one of these links generates a commission for us at no additional expense to you.