Markdown TOC Generator

Make a linked table of contents from the headings of a Markdown file.

Markdown TOC Generator

.md · .markdown

Paste text or open a file to see the result.

What it does

Reads the headings of a Markdown file and builds a table of contents with links to each section. Handy for long README files and documentation. You get a nested list to paste at the top of the file.

About the .md format

.MD file extension
File Type
Markdown Documentation File
Developer
John Gruber
MIME
text/markdown

MD File Extensions are a new feature introduced in MacOS Mojave. Users can now open a .md file on MacOS Mojave and edit the content using Markdown Language.

Also works with

Markdown TOC Generator questions

How do I use the Markdown TOC Generator?

Paste the text into the Input box or open a file, set the options, then copy or download the result.

Does renaming a file to .md change its format?

No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .md page lists programs and converters for it.