Skip to content
Markdown

Markdown Anchor Generator

Create anchor links for every heading in a document.

How it works

  1. 1Paste your Markdown.
  2. 2Each heading becomes a [text](#anchor) link.
  3. 3Copy the links you need.

Use cases

  • Cross-link sections within a page.
  • Build a custom mini-TOC.
  • Reference a section from another doc.

Frequently asked questions

How are anchors generated?

Using GitHub’s slug algorithm: lowercase, spaces to hyphens, punctuation removed.

Are duplicate headings handled?

Yes. Repeated headings get -1, -2 suffixes like GitHub does.

Is it private?

Yes. Everything runs in your browser — nothing is uploaded.

See all →