Markdown TOC Generator

Build a clickable table of contents from the headings in your Markdown, with GitHub-style anchors and nested levels.

Markdown table of contents

Paste Markdown and get a nested table of contents with anchor links.

No TOC yet

Paste Markdown above, then press “Generate TOC”.

Anchors follow the GitHub style (lowercase, punctuation removed, spaces become hyphens, Unicode letters kept) and repeated headings get a -1, -2 suffix. Headings inside fenced code blocks are ignored.

Runs entirely in your browser. Nothing is uploaded.

How it works

This utility runs locally in your browser for privacy and speed.

1 ⚡

Unlimited local tools

This run costs 1 credit(s) and is saved to your history automatically.

Log in to save and view your usage history.

My usage history

No runs recorded yet.

Frequently asked questions

Do I get free credits to try Markdown TOC Generator?
Yes — new accounts get 3 free credits to spend on any tool, Markdown TOC Generator included. After that you only pay for what you run.
How many credits does Markdown TOC Generator cost?
Everything runs in your browser and nothing is uploaded: free accounts pay 1 credit per run, and Pro or Pro+ members run it as often as they like.
Is the content I paste private?
Markdown TOC Generator uses your input only to generate the result. Stored results are deleted automatically by our retention policy, and you can remove any run from your history.
Do I need to install anything?
No. Markdown TOC Generator works in any modern browser — nothing to download or install.

Related tools

Tools people usually need next, in the same workflow.