Skip to content
Input
Markdown
Profiles
2 explicit
Runtime
Browser

Generate heading links with deterministic slugs

Turn document headings into nested Markdown links using deterministic GitHub-style slugs.

Local processingNo sign-upNo content logging

Generate table of contents

Text stays in this tab. Markdown is capped at 500 KiB; pasted HTML uses a 256 KiB cap.

Markdown table of contents

No result is placed in a URL, account, preset, API, or remote log.

What this tool does

Explicit-profile, bounded, local processing

A useful table of contents reflects heading order and collisions. The generator reads only headings in the pasted document and never changes the document itself.

Duplicate headings receive distinct anchors

Slug collisions are resolved in source order so repeated headings produce stable, reviewable links.

Processing stays in this browser and is bounded by a 500 KiB Markdown limit, a 256 KiB HTML limit, a 1 MiB result limit, and explicit syntax-tree limits. The public tool never calls the developer API, fetches a URL, or stores a preset.

Heading hierarchy remains visible

Indentation mirrors H1 through H6 depth. A separate lint pass can flag skipped levels before you publish.

Primary references

Questions and answers

Related Markdown tools