Home / Text & Data / Markdown TOC Generator
Markdown TOC Generator
Make a table of contents for a README or Markdown file with GitHub-style anchor links.
Free, no uploads, no sign-up. Runs 100% in your browser.
How Markdown TOC Generator works
Everything is worked out in your browser as you type. Nothing is uploaded or saved, and no account is needed. ATX (#) and underlined headings are found, skipping fenced code blocks. Anchors follow GitHub rules, including -1, -2 suffixes for repeated headings, and the list is indented by heading level.
Input: MD, Text. Output: MD.
How to use Markdown TOC Generator
- Paste your Markdown.
- Pick the heading levels to include.
- Choose the list style and indent.
- Copy the TOC into your file.
Tips
- Text never leaves your device, so it is safe for drafts and private notes.
Markdown TOC Generator FAQ
- Are my files uploaded?
- No. This tool runs entirely in your browser tab. Files are read from your disk into memory and the result is generated locally.
- Is it free? Are there limits or watermarks?
- Free. There are no file-size caps, daily quotas, accounts or watermarks.
- Does it work offline?
- Yes, once the page (and any engine it needs) has loaded, it keeps working without a connection thanks to the service worker cache.
Related tools
- Markdown Editor: Live split-pane Markdown editor with HTML export.
- Markdown to PDF: Write Markdown with a live preview and export a beautiful PDF.
- Diff Checker: Compare text and code side-by-side or inline.
- Time Zone Converter: Convert times across zones, keep a world clock and find meeting times that suit everyone.