Markdown Table of Contents Generator
Paste a README or Markdown article and get a linked table of contents using GitHub-style anchors.
Also called: Markdown TOC generator, README table of contents.
Markdown Table of Contents Generator
Paste a README or Markdown article and get a linked table of contents using GitHub-style anchors.
Watch: how to use the Markdown Table of Contents Generator (14 seconds)
Recorded on a phone, steps written on screen, no sound.
About the Markdown Table of Contents Generator
Paste a README or Markdown article and get a linked table of contents with GitHub-style anchors, down to the heading level you choose, as dashes, stars or numbers.
How to use the Markdown Table of Contents Generator
- Enter your textType or paste markdown.
- Pick the optionsdeepest heading and bullet (the defaults suit most uses).
- Press Run toolThe result appears right under the button.
- Copy or download the resultCopy text results with Copy output; when the tool makes a picture or file, use its Download button.
This tool works inside your browser: what you enter stays on your device.
Example
A sample input and the result the Markdown Table of Contents Generator gives for it (produced by the tool itself, not typed by hand).
- Markdown
- # Title ## Install ## Usage ### CLI ### API
- Deepest heading
- H3
- Bullet
- - dash
Result:
- [Title](#title)
- [Install](#install)
- [Usage](#usage)
- [CLI](#cli)
- [API](#api)Good to know
- What you need
- You type or choose: Markdown
- Where it runs
- In your browser, on your device.
- Cost
- Free, no sign-up.
Questions
Do the links work on GitHub?
Yes, they use GitHub's anchor format.
Is the H1 included?
Choose how deep the list goes.