plugin-icon

SimpleTOC – Table of Contents Block

SEO-friendly Table of Contents Gutenberg block. No JavaScript and no CSS means faster loading.
Rating
5/5
Version
6.9.6
Active installations
10K
Last updated
Dec 16, 2025
SimpleTOC – Table of Contents Block

Add a Table of Contents block to your posts and pages. The TOC is a nested list of links to all heading found in the post or page. To use it, simply add a block and search for “SimpleTOC” or just “TOC”.

The maximum depth of the toc can be configured in in the blocks’ sidebar among many other options. There can hide the headline “Table of Contents” and add your own by using a normal heading block.

Spin up a new WordPress instance with the SimpleTOC plugin already installed.

User Feedback

“It is lightweight, stable, and fully compatible with WordPress Full Site Editing. A reliable solution that integrates seamlessly and performs exactly as expected.” — @js100 on wordpress.org

“Does the job perfectly, and adds no bloat.” — @clicknathan on wordpress.org

“Simple yet powerful. Great plugin that does exactly what you need.” — @mixey on wordpress.org

Accessibility

This plugin is designed & developed for WCAG 2.2 level AA conformance. The plugin is tested with assistive technology and intended to be accessible, however some third party plugins or themes may affect the individual accessibility on a given website. If you find an accessibility issue, please let us know and we’ll try to address it promptly.

Features

  • Designed for Gutenberg.
  • Zero configuration: Add the SimpleTOC block to your post and that’s it.
  • Minimal and valid HTML output.
  • Utilizes the browser’s built-in details tag for a collapsible interface.
  • No JavaScript or CSS added. Unless you activate the accordion menu.
  • Style SimpleTOC with Gutenberg’s native group styling options.
  • Inherits the style of your theme.
  • Smooth scrolling effect using CSS.
  • Accessibility built-in by following web standards.
  • Optional ARIA Label and navigation role attributes.
  • Translated in multiple languages. Including German, Japanese, Chinese (Taiwan), Dutch, Brazilian Portuguese, French, Spanish and Latvia.
  • Ideal for creating a Frequently Asked Questions section on your website.

Customization

  • Administrators can utilize global settings to supersede the individual block settings.
  • Add background and text color with Gutenberg groups.
  • Native block support for wide and full width.
  • Control the maximum depth of the headings.
  • Choose between an ordered, bullet HTML list. Or indent the list.
  • Select a heading level or turn it into a paragraph.
  • Disable the h2 heading of the TOC block and add your own.

Compatibility

  • GeneratePress and Rank Math support.
  • Works with popular AMP plugins.

How to contribute

SimpleTOC is open-source and developed on GitHub Pages. If you find a bug or have an idea for a feature please feel free to contribute and create a pull request.

Credits

This plugin is forked from pdewouters and uses code from Easy-Table-of-Contents

Many thanks to Tom J Nowell and and Sally CJ who both helped me a lot with my questions over at wordpress.stackexchange.com

And many more thanks to all the developers on GitHub who helped me making SimpleTOC what it is today!

Thanks to Quintus Valerius Soranus for inventing the Table of Contents around 100 BC.

Freeon Business plan
Tested up to
WordPress 6.9
This plugin is available for download for your site.