Why Add a Table of Contents to Your Website?
Turn long pages into navigable, reader-friendly experiences
Help Visitors Find What They Need
Long pages are hard to navigate. A table of contents gives visitors a map of your content so they can jump directly to the section that matters most — without guessing or scrolling endlessly.
Increase Time on Page & Reduce Bounce
When visitors see a clear overview of everything on the page, they are far more likely to stay and explore. A TOC signals that the page is comprehensive and well-organized — two things both readers and search engines value.
Improve Readability for Long-Form Content
Blog posts, documentation, guides, and legal pages benefit enormously from a visible table of contents. It transforms a wall of text into a structured, approachable resource that visitors actually want to read.
Add a Table of Contents in 3 Easy Steps
From page sections to live TOC on your website in under a minute
Describe It
Tell the AI your page sections and how you want the TOC to look, or start from a ready-made template.
Refine It
Ask the AI to adjust styling, position, or behavior in plain English. Iterate until it matches your site perfectly.
Embed It
Copy one line of code and paste it into your site. Your table of contents is instantly live.
Works With Every Website Builder
Embed your table of contents on any platform that supports custom HTML
One TOC, every platform
MightyWidgets generates a single embed code that works everywhere. Whether your site runs on WordPress, Shopify, Squarespace, or plain HTML, your table of contents will look and work exactly the same. No platform-specific plugins needed.
- WordPress
- Shopify
- Squarespace
- Wix
- Webflow
- Weebly
- Ghost
- Custom HTML Sites
Frequently Asked Questions
Everything you need to know about table of contents widgets
What is a table of contents widget?
A table of contents widget is a navigation element that lists the major sections or headings of a page as clickable links. When a visitor clicks a link, the page scrolls smoothly to that section. It can be displayed inline, as a floating sidebar, or as a sticky element that follows the visitor as they scroll.
How does MightyWidgets create a table of contents?
Describe your page sections in plain English — list the headings you want in the TOC and mention any styling preferences. The AI builds a fully functional, responsive table of contents widget for you. You can ask for changes like "make it sticky on scroll" or "highlight the current section in purple" and the AI adjusts instantly.
Does the TOC highlight the active section as I scroll?
Yes. The table of contents automatically detects which section is currently in view and highlights the corresponding link. This active state tracking helps visitors maintain their orientation on long pages and know exactly where they are in the content.
Can I make the table of contents sticky?
Absolutely. You can ask for a sticky sidebar that stays visible as the visitor scrolls down the page. On mobile, the TOC can collapse into a dropdown or remain as a scrollable inline list — just tell the AI which behavior you prefer.
Does smooth scrolling work when clicking a link?
Yes. Clicking any link in the table of contents triggers a smooth scroll animation to the corresponding section. The scroll offset accounts for fixed headers so the section heading lands exactly where the visitor expects it.
How do I embed the TOC on my website?
Publish your table of contents widget and copy the single line of embed code. Paste it into any page on WordPress, Shopify, Squarespace, Wix, Webflow, or any platform that supports custom HTML. The widget loads asynchronously and never slows down your page.
Is MightyWidgets free to use?
You can create and customize widgets for free with our Free plan. Credits are used when your published widget loads on a visitor's browser and when you use AI features. Upgrade to a paid plan for more credits, widgets, and features. Top-up credit packs are also available and never expire.
Ready to Build Your Table of Contents?
Create a sticky page navigation widget in under a minute. No coding required, no credit card needed.
Get Started Free


