Markdown
Markdown Anchor Generator
Create anchor links for every heading in a document.
How it works
- 1Paste your Markdown.
- 2Each heading becomes a [text](#anchor) link.
- 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.
Related tools
See all →Markdown Editor
A fast, free online Markdown editor with live side-by-side preview.
Live Markdown Preview
Paste Markdown and see it rendered live, side by side, as you edit.
Split View Markdown Editor
A two-pane Markdown editor with the source and live preview side by side.
Fullscreen Markdown Editor
An immersive, full-window Markdown editor with live preview.