Generate a nested table of contents from any HTML content. Scans heading tags and produces a copyable, linkable TOC.
5 levels selected
Paste HTML content with heading tags (H2-H6). Works with any HTML source.
Toggle between HTML list output or Markdown list output for different CMS platforms.
Copy the generated TOC and insert it at the top of your article. Headings link to their sections.
A well-structured table of contents helps readers navigate long-form content and improves user engagement. Search engines also use heading structure to understand your content.
AI-powered title to URL slug
Space CJK & Latin text
Compare before & after HTML
Word count, reading time & more
Check HTML accessibility issues
Create social share images
HTML to Markdown and back
Schema markup for SEO
Or start with the main HTML cleanup tool
Open Publish HelperIt supports H2 through H6. H1 is typically the page title and is excluded from the TOC.
The TOC output includes anchor links. You'll need to ensure your heading tags have matching IDs in your HTML.
Yes, completely free with no signup required.
No. Everything runs in your browser.