Easy Table of Contents Alternative: Server-Side Rendering for Zero Layout Shifts
Stop losing Core Web Vitals points to JavaScript TOC rendering. Get a Gutenberg-native table of contents that is in the HTML from the first byte.
Why choose Tidy TOC over Easy Table of Contents?
Server-side rendering eliminates layout shifts
Easy Table of Contents generates the TOC with JavaScript after page load, causing a visible layout shift (CLS). Tidy Table of Contents renders the TOC in PHP via render.php, so it is in the HTML from the first byte. Zero CLS, better Core Web Vitals.
True Gutenberg block with live preview
Tidy TOC provides a native Gutenberg block that shows a real-time preview of your table of contents in the editor. Easy Table of Contents offers basic block support, but the rendering still relies on JavaScript on the frontend.
No jQuery dependency
Easy Table of Contents loads jQuery for smooth scrolling and TOC generation. Tidy TOC uses vanilla JavaScript only for optional smooth scroll and collapse interactions, keeping the footprint minimal and avoiding jQuery overhead.
Generous free tier with all essentials
Smooth scroll, collapsible sections, heading-level selection, auto-insertion, and exclude patterns are all free in Tidy TOC. Easy Table of Contents reserves some features like custom styling options for its Pro version ($39-$99/year).
SEO-friendly anchor links from the first byte
Because Tidy TOC renders server-side, anchor links are present in the initial HTML that Google crawls. This enables jump-to links in search results. JS-rendered TOCs may not be indexed reliably by all search engines.
Lightweight and modern codebase
Tidy TOC is built for WordPress 6.0+ with modern PHP and block editor standards. No legacy shortcode system, no compatibility layers for the classic editor. A focused, maintainable codebase.
Tidy TOC vs Easy Table of Contents — Feature comparison
| Feature | Tidy TOC | Easy TOC |
|---|---|---|
| Annual Cost | Free / $49 Pro | Free / $39-$99 Pro |
| Free Version | ||
| Gutenberg Block | Native with preview | Basic |
| Server-Side Rendering | ||
| Smooth Scroll | ||
| Collapsible TOC | ||
| Custom Heading Levels | ||
| Exclude Headings | ||
| Auto-Insert | ||
| Sticky/Fixed Sidebar | Pro | |
| jQuery Required | ||
| Zero CLS | ||
| Active Installs | New | 400,000+ |
| WordPress 6.0+ |
Easy Table of Contents vs Tidy TOC: an in-depth comparison
The CLS problem with JavaScript TOC rendering
Easy Table of Contents is the most popular TOC plugin for WordPress with over 400,000 active installations. It works by scanning the page's headings with JavaScript after the DOM is loaded, then injecting the table of contents into the page. This approach was perfectly acceptable before Google introduced Core Web Vitals in 2021.
The problem is Cumulative Layout Shift (CLS). When the TOC is injected after page load, the content below it shifts down. This layout shift is measured by Google and directly impacts your CLS score. A CLS score above 0.1 is considered "needs improvement," and above 0.25 is "poor." Depending on TOC length and page layout, Easy Table of Contents can push your CLS into the poor range.
Server-side rendering: the modern approach
Tidy Table of Contents takes a fundamentally different approach. The TOC is rendered in PHP via WordPress's render.php callback for dynamic blocks. When the server sends the HTML to the browser, the table of contents is already there. No JavaScript execution needed, no DOM manipulation, no layout shift. The browser renders the page with the TOC in place from the very first paint.
This means your CLS contribution from the TOC is exactly zero. Search engines see the TOC and its anchor links in the raw HTML, which enables Google to display jump-to links in search results.
jQuery: a legacy dependency
Easy Table of Contents depends on jQuery for its smooth scrolling and TOC generation. While WordPress bundles jQuery, loading it adds approximately 30KB (minified and gzipped) to your page weight. On sites that do not otherwise use jQuery, this is unnecessary overhead.
Tidy TOC uses no jQuery. Smooth scrolling and collapse interactions use modern vanilla JavaScript with minimal footprint. If your theme and other plugins do not need jQuery, Tidy TOC will not force it onto your pages.
The install count argument
Easy Table of Contents has 400,000+ active installs. That is a legitimate indicator of reliability and community trust. It has been around since 2018 and works well for many sites. But install count reflects historical momentum, not technical superiority. Many of those installs predate Core Web Vitals, and switching plugins requires effort that most site owners avoid unless there is a clear problem.
If you are starting a new site or actively optimizing for Core Web Vitals, the rendering method matters more than the install count. Server-side rendering is objectively better for CLS than client-side JavaScript injection.
When Easy Table of Contents is the better choice
Easy Table of Contents may be the better option in these situations:
- You need classic editor support. Easy Table of Contents supports both the classic editor and the block editor. If your site still uses the classic editor, Easy TOC's shortcode approach may be more convenient.
- You rely on a large community and established documentation. With 400,000+ installs, Easy Table of Contents has extensive community support, tutorials, and third-party integrations. If you value a large support ecosystem, Easy TOC has the advantage.
- CLS is not a concern for your site. If your pages are short, your TOC is small, or your site's CLS is already well within acceptable limits from other optimizations, the rendering method difference may not matter for your specific case.
- You need specific Easy TOC Pro features. Easy TOC Pro offers certain advanced styling and placement options that may match your specific design requirements. Check whether Tidy TOC covers your needs before switching.
Frequently Asked Questions
Is Easy Table of Contents bad for Core Web Vitals?
Can I migrate from Easy Table of Contents to Tidy TOC?
Does Easy Table of Contents have a Gutenberg block?
Why does Easy Table of Contents have more installs?
Is Easy Table of Contents Pro worth $39-$99 per year?
Does switching to Tidy TOC improve my Google rankings?
Compare with other TOC plugins
Ready for a TOC that does not hurt your Core Web Vitals?
Switch from Easy Table of Contents to server-side rendering. Free to start, zero CLS from day one.
Get TOC Free →