Developer Tools

Markdown TOC Generator with Anchor Links

Generate a table of contents with anchor links from Markdown headings locally in your browser. Supports slug rules and an option to skip H1. Useful for README and long-form docs.

MarkdownTOC

Favorite this tool

No favorite storage mode has been selected.

Quick actions

Copy this tool URL or open the system share sheet on a supported device.

Use cases

  • Add a TOC to a GitHub README
  • Index long technical documents
  • Build jump links for article sections

How to use

  1. Paste Markdown source
  2. Optionally skip top-level H1 headings
  3. Copy the TOC list into your document

Example input and output

Input

## Usage

Output

- [Usage](#usage)

FAQ

What happens with special characters in headings?

Illegal characters are cleaned with GitHub-like rules before the anchor slug is generated.

Do I need to write anchors by hand?

No. The tool builds anchor links from heading text.

Tools

Related tools

Continue with another translated tool for a nearby task.

Text Splitter

Split Text by Delimiter, Length, or Words

Available

Split text into multiple lines by a fixed delimiter, character length, or word count. Optionally trim each segment and skip empty parts. Useful for list cleanup and chunking.

Text Split Lines

Regex Extractor

Extract Matches with Regular Expressions

Available

Extract every regex match from text with flags, capture groups, expand-all groups, dedupe, and multiple output formats for log fields and structured collection.

Text Regex Extract