JR Trove
Free · Browser-only · No signup

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.

Leaderboard 728×90 • Ad slot
Table of contents (15)
- [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)
Extracts H1-H6 headings from Markdown or HTML. Generates nested TOC in 3 output formats. Anchor links use slugified heading text (lowercase, hyphenated).
Medium Rectangle 336×280 • Ad slot
Inside the tool

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

Built differently

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.

Use Contexts

Common use contexts

  • README.md TOC for long documents
  • Blog post navigation
  • Documentation site TOC
  • Quick "what's in this article" summary
Privacy by design

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.

Leaderboard 728×90 • Ad slot