Table of Contents Generator
Extract heading structure (H1-H6) from Markdown or HTML content and generate a nested table of contents. 3 output formats: Markdown list, HTML <ul>, or plain indented. Optional anchor links with slugified IDs.
- [Getting Started](#getting-started)
- [Installation](#installation)
- [Requirements](#requirements)
- [Quick start](#quick-start)
- [Configuration](#configuration)
- [Environment variables](#environment-variables)
- [Config file](#config-file)
- [API Reference](#api-reference)
- [Authentication](#authentication)
- [Endpoints](#endpoints)
- [Users](#users)
- [Projects](#projects)
- [Examples](#examples)
- [Hello World](#hello-world)
- [Advanced](#advanced)What powers the Table of Contents Generator
Source: Markdown (#) or HTML (<h1>)
Output: Markdown / HTML <ul> / plain indented
Anchor links with slugified IDs
Max heading level filter
Instant
Why the Table of Contents Generator is different
Browser-native
The Table of Contents Generator runs entirely in your browser. Input is processed locally — never uploaded, never logged, never cached anywhere outside your device.
No artificial limits
No daily quotas, no character ceilings, no "upgrade for more" walls. Every feature is the complete feature — the same on the first use as the thousandth.
Production-grade quality
Built to the same engineering bar as paid SaaS tools — accurate algorithms, audited logic, responsive design and accessibility-tested interactions.
Common use contexts
- README.md TOC for long documents
- Blog post navigation
- Documentation site TOC
- Quick "what's in this article" summary
Private and secure
Zero upload
All processing happens in your browser. Input is never transmitted, logged or cached.
Works offline
Once the page loads, the tool runs without an internet connection. No network calls happen during use.
No tracking
No accounts, no cookies for tool state. Only aggregate analytics count visits at the page level.