
How to Add a Table in WordPress (3 Easy Ways, No Plugin Needed)
September 15, 2026
How to Add a Table in WordPress: Why It’s Harder Than It Should Be
Tables are one of the best ways to present prices, specs, schedules, or comparisons. Yet adding a table in WordPress is often more frustrating than it should be:
- The built-in Table block is basic. It works for simple data, but you get little control over column widths and styling.
- Table plugins add weight. Many of them load extra scripts and stylesheets on every page, and they become one more thing to update.
- Themes break the styling. Your theme’s CSS applies to every table on your site, so a table that looked fine in the editor can look very different on the live page.
In this guide, we’ll walk through three ways to add a table in WordPress, starting with the built-in option, so you can pick the one that fits your content. None of them requires installing a table plugin.
Option 1: The Built-in Gutenberg Table Block
WordPress ships with a Table block in the block editor (Gutenberg). For a small, simple table, it’s the quickest option.
How to use it
- Open the post or page in the block editor.
- Click the + (Block Inserter) button and search for Table.
- Enter the number of columns and rows, then click Create Table.
- Type your content into the cells. Use the toolbar’s Edit table menu to insert or delete rows and columns.
- In the block settings sidebar, you can turn on a header section, a footer section, and fixed width table cells, pick the Stripes style, and set text and background colors.
What it can and can’t do
The Table block is fine for a handful of rows with short text. Its limits show up quickly, though:
- No control over individual column widths. You can only switch between automatic widths and equal “fixed width” cells.
- Limited styling. You get the default style, a striped style, and a few colors. Borders, header colors, font size, and alignment per column mostly depend on your theme.
- Results depend on your theme. The same table can look polished in one theme and cramped or unstyled in another.
- Mixed results on mobile. Wide tables become horizontally scrollable or squeezed, depending on how your theme handles them.
Option 2: A Table Plugin
Table plugins such as TablePress, Ninja Tables, or wpDataTables add features the core block doesn’t have: sorting, searching, pagination, importing data, and more styling options. If you need a large, interactive data table, a plugin can be the right tool.
It’s worth knowing the trade-offs before you install one:
- Speed. Many plugins load their own JavaScript and CSS, sometimes on every page of your site, not just the ones with a table.
- Lock-in. Your tables usually live inside the plugin, often as shortcodes. If you deactivate or switch the plugin later, those tables stop rendering.
- Upkeep. Every plugin needs updates and adds to your site’s attack surface. Some useful features sit behind a paid license.
For a table or two in a blog post, that’s often more than you need.
Option 3: Embed a Table With Table Generator (Recommended)
The third option gives you full control over the design without installing anything on your site: build the table in Table Generator, then paste the embed code into WordPress.
Step 1: Build your table
Open the Table Generator editor. You’ll see a sample table you can edit directly, or click Clear Table to start from scratch. Use the + and − buttons in the sidebar to add or remove columns and rows, then click into any cell to type or paste your content.
Step 2: Style it
The sidebar lets you adjust the look of your table:
- Font size for the whole table
- Vertical, horizontal, and outer borders, plus rounded corners
- Striped rows for better readability
- Bold or centered header and cell text
- Colors for the header, cells, stripes, and borders
The preview updates as you go, so what you see is what will appear on your site.
Step 3: Copy the embed code into a Custom HTML block
- Click Export Table and stay on the embed tab.
- Optionally turn on Always display table at full width so the table fills your content column.
- Click the copy button to copy the embed code.
- In WordPress, add a Custom HTML block where you want the table, and paste the code.
- Click Preview in the block toolbar to check it, then update or publish your post.
Using the Classic Editor? Switch to the Text tab and paste the code there.
Note: The embed code includes a small
<script>tag. On self-hosted WordPress, administrators and editors can add scripts by default. On WordPress.com, you need a plan that allows custom code, and on multisite networks only super admins can add scripts.
Why it keeps its look in any theme
Table Generator’s embed code uses Web Components. The table’s styles are wrapped inside the component, so your theme’s CSS can’t reach in and change them, and the table’s styles can’t leak out and affect the rest of your page. Switch themes tomorrow, and your table will look exactly the same. We explain how this works in more detail in Why Web Components for Table Embedding Simply Make Sense.
Live example
Here’s a table built with Table Generator and embedded in this post. It compares the three methods from this guide:
| Method | Plugin Needed | Styling Control | Looks the Same in Any Theme | Best For |
|---|---|---|---|---|
| Gutenberg Table block | No | Basic | No | Small, simple tables |
| Table plugin | Yes | Extensive | Depends on the plugin | Large, sortable data tables |
| Table Generator embed | No | Extensive | Yes | Styled tables in posts and pages |
Bonus: Pasting a Table From Excel or Google Sheets Into WordPress
Already have your data in a spreadsheet? The block editor can turn it into a table for you:
- Select the cells in Excel or Google Sheets and copy them.
- In the block editor, click into an empty paragraph block and paste.
- WordPress converts the pasted content into a Table block automatically.
Keep in mind that most of the spreadsheet’s formatting, such as colors, fonts, and merged cells, won’t carry over, and you’ll be left with the limits of the Table block described above. If you want more control over the design, you can paste the same data into Table Generator cell by cell, style it there, and embed it instead.
Making Your WordPress Table SEO- and Mobile-Friendly
However you add your table, a few habits make it easier for both search engines and visitors to use:
- Use real table markup, not images. A screenshot of a table can’t be read by search engines, screen readers, or translation tools. All three methods in this guide output a real HTML
<table>. Table Generator’s embed keeps the table’s content in your page’s HTML, so search engines can index it. - Add a header row. Clear column headings help visitors and search engines understand what each column contains.
- Keep cells short. Long paragraphs inside cells are hard to read, especially on phones.
- Check it on mobile. Wide tables need to scroll horizontally on small screens instead of breaking your layout. Table Generator’s embed does this automatically, so the rest of your page stays intact.
- Add context around the table. A short introduction above the table tells readers, and search engines, what the data is about.
FAQ
Can I add a table in WordPress without a plugin?
Yes. You can use the built-in Table block in the block editor for simple tables, or create a styled table with Table Generator and paste the embed code into a Custom HTML block. Neither option requires installing a plugin.
How do I make a WordPress table responsive?
The Table block’s behavior on small screens depends on your theme. For a table that reliably works on mobile, use an embed like Table Generator’s: wide tables become horizontally scrollable on small screens without breaking the rest of your page, regardless of your theme.
Can I import a CSV into WordPress?
WordPress doesn’t have a built-in CSV import for tables. You can paste data copied from Excel or Google Sheets into the block editor, which converts it into a Table block, or use a table plugin that supports CSV imports.
Create Your WordPress Table Now
Ready to add a table to your WordPress site that looks great in any theme? Head over to Table Generator, build your table, and paste the embed code into a Custom HTML block. It’s free and takes just a few minutes. For more background, read our introduction to Table Generator.
Related Articles
Responsive HTML Tables: How to Make Tables That Work on Mobile
Learn how to build a responsive HTML table that works on mobile: horizontal scrolling, stacked card layouts, sticky headers and hidden columns, with plain CSS and Tailwind CSS examples.
Read more about Responsive HTML Tables: How to Make Tables That Work on MobileMarkdown Table Syntax: The Complete Guide (with Examples and a Generator)
Learn Markdown table syntax with copyable examples: pipes, alignment, formatting inside cells, GitHub vs. GitLab vs. Notion, limitations, and a free Markdown table generator.
Read more about Markdown Table Syntax: The Complete Guide (with Examples and a Generator)Why Web Components for Table Embedding Simply Make Sense
Discover the power of Web Components with Table Generator for beautiful, consistent tables on any platform. Easily embed tables with responsive design and enhanced search engine visibility.
Read more about Why Web Components for Table Embedding Simply Make Sense