How to Add a Table in WordPress (3 Easy Ways, No Plugin Needed)

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:

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

  1. Open the post or page in the block editor.
  2. Click the + (Block Inserter) button and search for Table.
  3. Enter the number of columns and rows, then click Create Table.
  4. Type your content into the cells. Use the toolbar’s Edit table menu to insert or delete rows and columns.
  5. 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:

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:

For a table or two in a blog post, that’s often more than you need.

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:

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

  1. Click Export Table and stay on the embed tab.
  2. Optionally turn on Always display table at full width so the table fills your content column.
  3. Click the copy button to copy the embed code.
  4. In WordPress, add a Custom HTML block where you want the table, and paste the code.
  5. 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:

  1. Select the cells in Excel or Google Sheets and copy them.
  2. In the block editor, click into an empty paragraph block and paste.
  3. 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:

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 MobileSeptember 29, 2026

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 Mobile
Markdown Table Syntax: The Complete Guide (with Examples and a Generator)September 22, 2026

Markdown 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 SenseDecember 20, 2023

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