Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Add Tables in WordPress Posts and Pages (No HTML Required)

Adding tables to your WordPress posts and pages can help organize data and make information easier for your readers to digest. WordPress simplifies this process by offering straightforward tools that require no HTML coding.

This guide will show you how to easily create and manage tables in WordPress. You will learn not only the basics of inserting tables but also how to enhance them with advanced features like sorting and searching, all without needing any plugins.

By the end of this article, you will be equipped with the knowledge to effectively use tables to improve the presentation and functionality of your content.

Adding tables in WordPress without writing code

Video Tutorial

Subscribe to WPBeginner

If you prefer written instructions, then just keep reading.

Creating Tables in the WordPress Block Editor

WordPress makes it super easy to add tables using the default WordPress block editor.

Simply create a new post or page or edit an existing one. Once inside the content editor, click the ‘+’ symbol to add a new block, then select the Table block.

You can find it under the ‘Text’ section, or you can type ‘Table’ into the search bar.

Add table block

Next, you will be prompted to choose the number of columns and rows you want for your table. Both figures default to 2.

Don’t worry if you are not 100% sure about the exact number because you can always add/remove table columns and rows later.

Table columns and rows

Simply enter the number of rows and columns and click the ‘Create Table’ button.

The block will then generate your table and display it on the screen.

Table preview

You can type in the table cells, and they will automatically resize based on the amount of content in each one.

You can set this option on the right side if you prefer your cells to be fixed-width. Here, you can also add a table header or footer section.

Table options panel

From the settings panel, you can also switch to the Style tab.

Your WordPress theme may offer a bunch of styles for the table block, or you can choose the background and text colors.

Table style and colors

If you want to add a new row or column, just click on a cell at the point in the table where you want to add it. Next, click the ‘Edit Table’ button.

This will show a bunch of options to add or remove rows and columns to your table.

Add or remove table rows and columns

By default, the text in your table’s columns is aligned to the left.

You can change this by clicking inside a column and then clicking the ‘Change Column Alignment’ button:

Align table columns

You can also change the alignment of your whole table within the post or page.

Just click the ‘Change alignment’ button and select an option from the list.

Table alignment

Note that these options can make your table display beyond the normal boundaries of your post area.

Some may look odd on your WordPress website, so please preview your post or page to check how the table will appear.

Here’s our table set to ‘Wide Width’ as it appears on our demo site:

Table live preview

As you can see, it stretches beyond the post area’s left and right margins.

The table tools built into the Gutenberg editor give you much flexibility in displaying your tables. You can use the Table block to show data to readers in an easy-to-understand format.

However, the block doesn’t have advanced features like search filtering, custom sorting, and more.

It also doesn’t let you efficiently use the same table across multiple areas of your WordPress website, such as sidebar widgets or other pages.

To create advanced tables, you will need to use a WordPress table plugin.

Creating Tables Using the TablePress Plugin

TablePress is one of the best WordPress tables plugins on the market. It is a free plugin and allows you to create and manage tables easily. Plus, you can edit your table separately and even add a large number of rows.

If you are using the older classic WordPress editor, which does not have the table functionality, then TablePress would be the best way to add tables in your posts and pages.

First, you need to install and activate the TablePress plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

You will then see a TablePress menu item in your WordPress dashboard. Go to TablePress » Add New to create a new table.

Tablepress add new

You need to type in a name for your table and decide how many rows and columns you want. You can always add/remove table rows and columns later as well.

Once you have added the table name, rows, and columns, go ahead and click the ‘Add Table’ button to create your table.

Next, you will see a screen with your table’s information and an area where you can add content.

TablePress Edit Table

Simply type the data you want into the cells of your table.

To add or remove rows and columns or perform sorting operations, simply right-click inside the table. This will show an options menu where you can make more changes.

Right click table options

Advanced options, such as’ Table Manipulation, ‘ are below the ‘Table Content’ area.

From here, you can add, remove, and duplicate rows.

Table manipulation options

In ‘Table Options’, you can add a header and/or footer row, which won’t be sorted in with the data.

You can also decide where to show the table name and description:

Advanced table options

Finally, you can set various options in the ‘Table Features for Site Visitors’ section.

These settings allow you to create responsive tables that can be filtered, searched, and sorted by your readers.

Table features site visitors

Once you are happy with your table, just click ‘Save Changes’.

After that, copy the Table shortcode. You will need it in the next step.

Now, edit the post or page where you want to display the table and add the Shortcode block to the editor.

Add shortcode

After that, add the shortcode you copied earlier into the Shortcode block.

Don’t forget to update or save your changes.

On the other hand, if you are using the classic editor, then simply add the shortcode straight into your post:

Shortcode in classic editor

If you want to change your table in the future, you can return to TablePress in your dashboard and make changes. Your table will be automatically updated in any posts and pages you have used it in.

TablePress also allows you to import data from spreadsheets and CSV files. Similarly, you can export TablePress table data to a CSV file, which you can open with any spreadsheet program like Microsoft Excel or Google Sheets.

We hope this article helped you learn how to add tables to WordPress posts and pages without using HTML. You might also like our guide on how to create a table of contents in WordPress and our expert picks for the best WordPress table plugins.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

130 CommentsLeave a Reply

  1. Dennis

    Cannot add table to latest version of WORDPRESS

    There is no +

    • WPBeginner Support

      The + is still in the current version of WordPress, if you are using a builder or similar tool instead of the block editor, that is the most common reason why you would not see it.

      Admin

  2. Ralph

    I use wordpress default tables and while they work great on desktop browser, on the phone everything is messed up. It only allow like 10 characters max and turn nice table into rubbish.
    Is there a way to do something with it? Like not squish but scale? Table would be smaller but readable or the same size but we can swipe it?

    • WPBeginner Support

      It heavily depends on how your table is organized, you may want to look into TablePress for more control over the tables.

      Admin

  3. Shafi

    Is there a way to show html without it being rendered in the front-end ? like i wanna show in the table cell, and i want the output as however, the table is treating it as if there’s an image. How do i solve that

    • WPBeginner Support

      It would depend on the method used but in your toolbar when you have a cell selected you should have the option of setting it as inline code for what you’re wanting to do :)

      Admin

  4. Warren Contreras

    The table is exactly what I need, but only if you can input number and display a column sum in the botom row,

    • WPBeginner Support

      For what you are wanting, you would want to use TablePress :)

      Admin

  5. Yemi

    Is there a way to break the long table into pages whereby users can click next

    • WPBeginner Support

      To separate the content in your tables into different pages, you want to use TablePress and its pagination options.

      Admin

  6. Anita

    The background colors don’t work because you need to backspace the quotations and type in your own quotations. I found it by accident. If someone else has already figured that out my apologies but I wasn’t going to go through over 100 comments to check.

    • WPBeginner Support

      Thank you for sharing that should someone run into the background color not working for them :)

      Admin

  7. Andre Victor

    Hi. I have an existing table with data of 6 columns and 750 rows. It would be difficult to re-type into blank table in Wordpress page. Please advise how I can either import the entire table (can be Excel or Word) or copy and paste the cells’ contents into blank table.

    • WPBeginner Support

      You would want to take a look at TablePress and the import options available to bring in your table.

      Admin

  8. Margaret

    Hi! I am wondering if it is possible to simply copy->paste a table from an existing document into WordPress? I have tried this and it doesn’t appear to work, but I am wondering if there is a trick to it that I am missing. Thanks!

    • WPBeginner Support

      It would depend on the document but we would normally recommend recreating the table in WordPress

      Admin

  9. Nicole

    Hi! I want to learn more about WordPress!!

    • WPBeginner Support

      Our site should be able to help you then :)

      Admin

  10. Jim Gharib

    Classic editor does have table functionality and a plugin is not needed when using that editor. Check it out.

    • WPBeginner Support

      You would need to use a plugin to enable the classic editor and normally that would require using HTML :)

      Admin

  11. Matthews Otalike

    Oh my word, thanks for the guidance on creating tables on WordPress and other resources you have been availing to us. Kudos to you.

    • WPBeginner Support

      You’re welcome, glad our guide was helpful :)

      Admin

  12. TheFrugalChoice

    Helpful post that I can use in my personal finance and financial independence blog.

    • WPBeginner Support

      Thank you :)

      Admin

  13. Monique Robinson

    Great article and great plugin. Straight and to the point. Thanks very much.

    • WPBeginner Support

      Glad you liked our article :)

      Admin

  14. Annapurna agrawal

    Hi
    I have installed the tablepress plugin.

    i have issue for user capability. In the user role plugin, i haven’t granted permission to “edit_other_user_tables”. But my contributor user role can still edit other’s table and delete it as well.

    How should i avoid access to other’s table?

    • WPBeginner Support

      You would want to reach out to TablePress to see if there is a built-in or recommended method for preventing editing of other tables.

      Admin

  15. Nabil Nawaz

    Great article.. how can we make parent child in this ? like 1st column’s 1st cell is parent cell and next to it we have information for it’s child info.. like three rows are need to be explained for that 1st cell next to it

  16. sumit kumar gupta

    Sir when we click on the TablePress option in Visual editor then only list of table is showing in front of me. No Table creation option is available in Visual Editor. What should I do for create a new table in Post editor?

  17. Wyce Ghiacy

    Thanks for the video.

    What would you recommend to embed a formatted Excel sheet and collect data from registered WP users? (Like monthly usage reports, and the excel sheet also calculates the quarterly/yearly usage)

  18. Louise Wooding

    HI

    Thank you for the video. I have created my table and chose Insert Image in one of the cells. It did let me choose the image but it then entered the URL to it rather than the image itself. Have I missed out a step??

    Thank you.
    Louise

  19. Tom Cullen

    Awesome Share, thank you!

  20. Owolabi

    This is a nice article boss.
    Thanks for sharing.
    But I do have a question.
    Is there no plugin I can install that can bring the insert table option into the icons on my wordpress post?
    Thanks as I await a reply

  21. Ravi Kanani

    I want to add a table of specification in which first column is same for all post and second column is different.
    How can I add this type of table in post??

  22. Susan Hawthorne

    It would be very nice if, in the article about TAblePress it said that you have to upgrade to a business plan to use a plugin!!!!!!!!!!!! :(

  23. Barbara

    Is there any way to bold some lines of text in the table? Its all plain text, wish there was an easy way to add bold text

    • Abee

      just add an html text at the word

      • Michael Carter

        Actually, you can use CSS if you are ok with it. Use The words you want to emphasize …

  24. banks dada

    Thanks a million for this plugin. All i needed was to prepare the list on excel and import it into wordpress.
    Sweet and time saving tool.

    Bless you guys for this piece

  25. Sadha

    Hi, I would like to create links in the table that forward to another page and pass the row number through or any field from the row. How would I do this?

    Options I can think of which are not straight forward
    1) Use localStorage\sessionStorage
    2) Pass the value in the URL but then the next page needs to read this on load – maybe not a bad idea ?

  26. Molly Greger

    Wow! such a fantastic tool!! BUT: the colors are so pale I cant see a thing?? How can I change the colors fo rows/columns?

  27. varalakshmi

    Thank you……This is helpful to me up to some extent. I satisfied with your post.

  28. Alex Nicholson

    Think this only works for users of Wordpress.org. Is there any similar guide for those like me who use Wordpress.com especially where I can use a coloured background to the cells in a table?

  29. Ray

    Hello
    I was trying to make an interactive table similar to this that would use a query picking data from a database.
    I am using wordpress with a mysql/phpmyadmin database.

    My query works in phpmyadmin but does not show values in wordpress?

    SELECT * FROM `MyTablename` WHERE 1

    Do i need to use a list or print command or database name?

    • Jhon Carl

      I am having the same issue with you. Did you find a way to this already?

  30. Carolyn

    I would definitely recommend this plugin. A reminder to blogger when moving from one hosting service to another: don’t forget to back up the tables. There’s no way to recover the data. And if you know how can you share the info.

  31. Dimitar

    I recently was struggling to figure out how to add good-looking tables so this will be very helpful, thank you for publishing this.

  32. Omar Khan

    How to create tables on tag/category page

  33. Paco Gimenez

    Hi guys,
    Thank you very much for support.
    This tablepress is interesting.
    I was looking a system to do something like that:
    In i have a table with some information and colums. table1 for example.
    I want when i press some region in my map, i can load an url, like /map#section

    Can i do something like load same table in another order? by some colum o something? instead of click in a column, click in a region and load the same url but with the “#” of this table in the order required.

    Thank you very much for support.

  34. Ben K

    Thought about updating the screenshots on this article?

  35. Divine

    Thanks WP. You guys are the best! 4.5stars

  36. Arindam

    Thanks for the info. I was wondering if the shortcode will have any SEO value. Is it likely that a table displayed with a shortcode will appear in Google Featured Snippet?

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.