Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

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

Last updated on by
Follow WPBeginner on YouTube
How to Add Tables in WordPress Posts and Pages (No HTML Required)

WordPress comes with a visual post editor which is nice, but there are certain things that it can not do. Creating tables is one of them. Tables are an important tool to sort and present data in an understandable format. Even though you can create tables by manually writing HTML and CSS inside your posts, it is not a feasible option for many specially if they lack the HTML and CSS knowledge. In this article, we will show you how to add tables in WordPress posts and pages. Best of all, you don’t need to know any HTML or CSS to add tables in WordPress using this tutorial.

A CSS/HTML Table inside a WordPress Post

Video Tutorial

If you don’t like the video or need more instructions, then continue reading.

First thing you need to do is install and activate TablePress plugin. Once activated, the plugin adds a TablePress menu item in your WordPress admin.

TablePress Menu

To create a new table click on Add New Table. This will take you to Add New tab. After giving your table a name and description, choose the number of rows and columns you need. Don’t worry, you can always add/remove columns and rows from your table when entering data or by editing the table later. Click Add Table button when you are done.

Adding a new table

Now you will reach Edit Table screen. This is the table editor where you can add data to your table. You can also add and remove columns or rows. All rows and columns can be dragged and rearranged. Once you have created the table, it is time to add this table into a post.

Open an existing post or create a new post to enter the table. If you are using the visual editor, then you will see the tables icon in your visual editor. Pressing the button will open a pop up showing your tables. Press Insert Shortcode button next to the table you want, and it will add a shortcode to your post.

Add table button in visual editor

If you do not use the visual editor, then you can simply insert the shortcode manually. Click on the TablePress menu item, and it will show you the list of tables you have created. Take your mouse over to the table you want to add. Click on Show Shortcode, and this will open a pop-up window with the table shortcode. Copy the shortcode and paste it in your post wherever you want to insert the table.

Get table shortcode to add in posts

That’s it. It is this easy to create and add tables in your WordPress posts. You don’t have to write a single line of HTML or CSS. If you want to customize the look and feel of the table, then there is an option for that (you would need to customize the CSS for this part).

This plugin can also import data from a csv file, json file, an HTML table and json formats. You can also export all your tables in CSV, HTML, and JSON formats. For more usage instructions check out the official TablePress Documentation.


Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »

Comments

  1. Neal says:

    The problems with plugins like this is that if you ever abandon the plugin the content linked to that plugin is busted across your entire site.

    While very slick plugin I try to minimize my database dependency on them as much as possible.

    • WPBeginner Support says:

      Neal, you are right about that. However, TablePress uses custom post types for tables. This means your tables are stored in the database even if you deactivate the plugin. You can still export the data.

  2. Group Of Oceninfo says:

    Hello Wpbeginner Team,

    Is it possible to call script in same way ?

    For ex. I have 1000 different scripts for 500 different post.

    I want to call 2 table in each post and in that table Want to run script not text so Is it possible to call two scripts in table ?

  3. ore says:

    Thanks for this! what resources can I use to create a table in which my clients can log in and post the prices of items they want to either buy and sell and which remains visible to the public

  4. Balaji says:

    Thanks for helping me find the plugin.

  5. Rátkai Tamás says:

    I’m interested in adding a table to a form or page. So if a user goes to the page, he can add the Quantity in the cells and at the bottom of the form he can send the table to me.

    Basically it would be a really simple order page without any payment options.

  6. um says:

    how many table we can add in a wordpress without using plugin

  7. Pierre says:

    I’v been trying to insert a table in a blog post by using the tablepress plug in. Suddenly, the word Edit inside a pair of brackets has been appearing in the lower left corner of each page of my web site. I can’t get rid of it. Do you know how I can fix this?

    Many thanks!

    Pierre

  8. Jennifer says:

    Exactly what I needed to create my press page. You rock.

  9. Allii Allee says:

    i want to add simple tables anyone knows how to add ?

  10. okemini otum says:

    this is awesome, helped me tremendously

  11. Nouman Younas says:

    superb… i just install it after reading this post… i am having some issues when i go for mobile preview… lets see, overall great plugin and post (Y)

  12. sady says:

    How to add Subscribe form like yours??

    Thanks

  13. Alicia Rades says:

    Wow! I love this plugin. Thank you!

  14. Anil Anvesh says:

    Ok, I installed the plugin and used a short code to add table to post. Now my query is what google reads short code or table content? Is it seo friendly? Give me a linke to your post where you used this plugin?

  15. Andrew says:

    I like the plugin, but I cannot figure out how to customize the width/height of the columns/rows, or how to have a particular cell be only as large as the contents inside it. Is there any way to do this? Thank you.

  16. Sylvester says:

    Please, is the data entered using tablepress stored in MySQL tables?

    • Simon says:

      Good question, I’m interested in the answer too. Anybody knows. Thanks! I’ll see if I can check.

  17. Arnel leo Aranquez says:

    is there a way to use this plugin in viewing data from mysql?

    • WPBeginner Support says:

      No we don’t think it was written for that. However you can export a mysql table as CSV and import it in TablePress.

      • Lindberg says:

        It would be awesome if it could view any mysql tables in the database.. should be an easy thing to fix and increase usefullness of this plugin so much

  18. Helen Edwards says:

    How do I remove the “Show xx entries” at the top of the table and “showing 1 to 6 of 6 entries” at the bottom?

  19. Jaya says:

    Hi,
    how can i use the tablepress form in my post section to particular user can able to add tables using copy, import files… Please help me to use…Thank you.

    regards
    Jaya

  20. Bamboo says:

    This is a huge time saver. Thank you!

  21. Amanda says:

    This is a great plugin. i have one question – i nee ot make the font bigger for the info that’s in my table. is there any way to do this other than entering code for each cell individually?

  22. Amy says:

    So which WordPress version are you writing for? WordPress.com or WordPress.org, because I can’t find the plugin option on my dashboard. You really should specify this … now I’m back to writing code by hand after getting my hopes up.

  23. Jimi Mikusi says:

    Wow.

    I’m not easily impressed but this managed to do it.
    Within minute after adding the plugin I had a visual pleasing and easily maintainable table on my site.

    Thanks!

  24. Eddu says:

    Love this plugin.
    Tried to style the table with Headway. No luck so far. Did someone else tried also? Would be great if it would be possible to do so.
    Again, great plugin :-)

    Ed.

  25. William Lower says:

    What a treasure this was to find! This non-programmer was having a serious non-day trying to create tables with code.

  26. Chrissy says:

    Thanks for this ! Ive been searching the web trying to find a solution because I see all these awesome pricing tables on websites and Ive been using the TinyMCE plugin, which works but its not what I am really needing. Thanks again you guys rock

  27. Vickie says:

    Thanks for another very useful post!
    Please does anyone know if it is possible to add code into a cell? I need to add paypal code into a table but not sure the best way to do it?

  28. Yvonne Finn says:

    Thanks so much for this relatively simple to use plugin. It has saved me from much frustration as I am no techie and don’t actually want to spend hours doing what can be done with a plugin.

    I tried some of the other plugins for creating tables and was not impressed with their user-friendliness or lack thereof.

    Much appreciation!
    Yvonne

  29. Jon Mason says:

    THIS is a work of art! Nicely done and it is responsive too!

  30. M.Aswad Mehtab says:

    Thanks for This post very helpful for those who are not good with html and css !!

  31. David says:

    This looks like Tables Reloaded, which we use on some sites. However, it looks easier to use and manage. How well does it work with caching plugins like w3 total cache?

    • Editorial Staff says:

      This is the successor of WP Tables Reloaded plugin worked on by the same developer (Tobias). Tobias also commented on this post saying that the next version will be compatible with W3 Total Cache.

  32. Jeff Cohan says:

    Absolutely agree: TablePress is THE BEST plugin for creating tables in WordPress (IMHO).

    Just a few things to add:

    1) TablePress is the successor to what USED TO BE the best plugin for creating tables in WordPress: WP-Table Reloaded (now retired). Both are the work of developer Tobias Bathge.

    2) Tables built with WP-Table Reloaded can be migrated to TablePress.

    3) Tobias’ support is extraordinary. When I first used TablePress in November of 2012, I encountered a bug in the HTML import function and reported it in the support forum at WordPress.org. Within an hour, Tobias published a fix to Github. But don’t take my word for it. Check out the support forum.

    Jeff Cohan

  33. Keith Davis says:

    Thanks Guys
    This could be the table plugin for me.

    In the past I’ve created tables in Dreamweaver then cut and pasted the code.

    I’ll throw out a few tweets on this one.

    • Editorial Staff says:

      Keith, this is by far the best one we found so far as well. Totally appreciate the social media love that you send us :)

  34. Jason says:

    I just got this plug in last week as an alternative to using google docs iframe functions. This works great and allows a client to update the table without updating the pages or posts. I did find that you have to make sure you empty the caches if you are using the W3 plugin, or else you will get a cached version of the table. Great write up.

    • TobiasBg says:

      Great to hear that you like the plugin!
      What you say about caching plugins, like W3 Total Cache, is true. Good thing though: The next version of TablePress will automatically clear the W3 Total Cache page cache, to make sure that all shown tables are up-to-date :-)

      Best wishes,
      Tobias
      Author of TablePress

  35. Rod Salm says:

    Seems odd to put a table creating tab in the main WordPress menu. The menu is supposed to be for top level functions. It seems that it should be in tools maybe, or in the post menu, where you select the tables, have the table making function accessible in the edit functions. Most times people are creating tables in posts and pages and would need to edit the table as well as the data within it.

    Having said that, it’s a pretty slick table maker.

    ­Rod Salm

    • TobiasBg says:

      I agree that the main menu is not always the best option, like when you only maintain a few tables once in a while. So, I made this an option :-) In the TablePress Plugin Options, you can actually choose where you want the TablePress menu entry to appear. Moving it to “Tools” or “Posts” is no problem with that :-)
      (The predecessor of TablePress put its menu under “Tools” by default. I then however got questions from users who couldn’t find it, after activating it. That is why TablePress will sit in the main menu by default.)

      Best wishes,
      Tobias
      Author of TablePress

    • Artem Russakovskii says:

      You can change the placement in the plugin settings.

    • Editorial Staff says:

      Not odd at all. It is done for organizational purposes similar to contact forms, sliders, etc. By doing it this way, you can easily go to the menu and look at all the tables you have ever created rather than searching through the individual posts.

  36. Blograzzi says:

    This is good. I use it. But I want to ask something. What if i have 7 column and 10252 rows excel table?

    • Editorial Staff says:

      10,000 rows? Why in the world would you want that to be part of your blog post? Attach it as a separate file, so those who want to download it can do so if they like. It would freak the user out to see how long the page is if you have that many rows.

    • TobiasBg says:

      As the editorial staff pointed out already, there are better methods for such large tables, like offering a download, or using a custom PHP/mySQL solution.
      You can certainly try using TablePress with a table of that size, but I don’t really recommend it. It should work, but it will probably be slow, especially on the “Edit” screen of the table.

      Best wishes,
      Tobias

  37. ivica says:

    Absolutely THE best table WordPress plugin at the moment. I tried them all, and this one is the most robust/powerful and yet at the same time the most simple to use. Good choice! :-)

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.