Free + Pro features available
Table of Contents Block
Add an automatic table of contents to any post or page. It builds itself from your headings, so readers can jump straight to the section they need.
★★★★★ 4.9 from 700+ reviews · 50,000+ active sites · Read the docs →

Live demo
See it working on this page
The table of contents below is the real block, built from the headings on this page. Click any entry to jump to that section.
active websites
from 700+ reviews
Featured on





Features
Everything you need in a table of contents
Free features cover most posts. Pro adds custom icons and a sticky table of contents for long guides.

Show it in columns
Split a long table of contents into two or three columns so it stays compact and easy to scan.

Bulleted, numbered or plain
Pick classic bullets, a numbered list, or a clean plain list to match the style of your site.

Custom list icons PRO
Swap the bullets for icons that match your brand and make the list easier on the eye.

Hide any heading
Leave out headings you don’t need, so the table of contents only shows what matters.

Edit the link text
Shorten or rewrite any entry without touching the heading on the page.

Collapsible
Let readers open and close the table of contents, or start it closed to save space.

Sticky table of contents PRO
Keep the table of contents on screen while readers scroll, so the next section is always one click away. Great for long guides, docs and tutorials.
How it works
Add it in three steps
1
Install Ultimate Blocks
Install the free plugin from your WordPress dashboard under Plugins → Add New, then activate it.
2
Add the block
In any post or page, type /table of contents and press Enter. It fills in from your headings straight away.
3
Style it your way
Choose columns, list style and colors in the block settings, and hide any heading you don’t need.
Questions about the Table of Contents block
Need more help? See the documentation or contact our team.
Does the table of contents update automatically?
Yes. It is built from the headings in your post. Add, remove or rename a heading and the table of contents follows.
Can I choose which headings show up?
Yes. Pick which heading levels to include, from H2 to H6, and hide any single heading you don’t want listed.
Is the Table of Contents block free?
Yes. It is part of the free Ultimate Blocks plugin on WordPress.org. Custom list icons and the sticky table of contents come with Pro.
Does a table of contents help SEO?
It helps readers find answers faster, and its jump links can help Google show “Jump to” links for your page in search results.
Can readers collapse it?
Yes. Turn on the collapsible option so readers can open and close it, and choose whether it starts open or closed.
Does it work with my theme?
It works with any theme that supports the WordPress block editor, including block themes and Full Site Editing.
More blocks for long-form content
Content Toggle (FAQ)Tabbed ContentStyled ListHow-To (Schema)Review (Schema)ExpandTimeline PROSee all 29 blocks →
Make long posts easy to navigate
Join 50,000+ WordPress sites already using Ultimate Blocks.