Markdown Internal Anchor Checker
Validate all internal anchor links (`#section-name`) across your Markdown document against actual headings. Catch broken table-of-contents links before publishing to GitHub.
Broken Anchors (2)
Valid Verified Anchors (3)
Check & Fix Broken Internal Anchor Links in Markdown Online
Verify that internal anchor links ([Section](#section-name)) point to real headings in your document. Identifies broken table-of-contents links and reports line numbers for instant fixing.
How to Use the Markdown Anchor Checker
Paste Markdown
Input your documentation page or README containing table of contents links.
Instant Verification
The validator matches every in-page anchor (#slug) against all document headings.
Fix Broken Headings
Review reported broken anchors and line numbers to correct typos or missing sections.
Key Features & Capabilities
Pro Tips & Best Practices
- •Run this checker before submitting large open source documentation PRs to guarantee zero dead jumps in your table of contents.
Frequently Asked Questions
Why do internal anchor links break in Markdown?
When an author renames a heading (e.g. from '## Quick Start' to '## Installation'), earlier table of contents links pointing to '#quick-start' stop working, leaving users with dead clicks.
How does GitHub generate anchor slugs?
GitHub converts heading titles to lowercase, removes punctuation (dots, commas, parentheses), and replaces whitespace with hyphens.
Does this tool audit external website links?
This tool specifically focuses on internal document anchors (#slug). To audit external HTTP/HTTPS links and images, use our companion tool 'Markdown Link Extractor'.
Related Markdown Tools
Link & Image Extractor
Audit all hyperlinks and image URLs, group by domain, check line numbers, and export to CSV.
TOC Generator
Generate clickable Table of Contents lists with GitHub-compatible heading anchor slugs.
Slug Generator
Generate clean URL anchor slugs from heading titles with customizable hyphens or underscores.
PII & Secret Redactor
Scrub sensitive API keys, tokens, emails, IP addresses, and credit cards before sharing.