Broken Anchor Checker
Paste a page's HTML: the tool checks every in-page anchor link (#section) and flags those whose target does not exist, plus duplicated ids.
Privacy and cost
This tool runs in your browser. What you type or paste is not sent to our servers and it costs nothing to use.
How it works
- Paste the full HTML of the page (optionally its URL, so /page#section links are checked too).
- The tool lists every id and <a name> in the document, then compares each link fragment case-sensitively.
- Fix missing targets, case differences, empty "#" links and duplicate ids.
Example
A page with 5 anchor links (#features, #pricing, #Contact, #faq, #) and the ids features, pricing-plans and contact gives: 1 target found, 2 missing (#pricing because the id is pricing-plans, and #faq), 1 case mismatch (#Contact instead of #contact) and 1 empty "#".
What the result means
A #id link never produces a 404: when the id does not exist the browser simply stays where it is, so the bug is easy to miss. Ids are case-sensitive. A bare "#" scrolls to the top and is often a fake link for JavaScript; #top is valid even without an element. The check covers static HTML: ids added by JavaScript after load are not detected.
Common problems this tool helps with
- A table of contents where some links go nowhere after a heading or id was renamed.
- Editor-generated ids that no longer match hand-written links.
- Duplicate ids, which always send the browser to the first element only.
- href="#" links used as buttons, which hurt keyboard accessibility.
Frequently asked questions
Does a broken anchor hurt SEO?
There is no known penalty, but it is a poor experience: the reader cannot find the promised section. Google can sometimes show links to page sections, and reliable ids help.
Do I need an id or a name attribute?
An id is enough in HTML5. The tool also accepts <a name="…">, still found on many older pages.
What does #:~:text= mean?
It is a text fragment that highlights a passage. It is not an id, so the tool reports it but cannot verify it.
Related tools
- Link CounterPaste a page's HTML or load its URL to get a count of every link by type, with a detailed list and the problems worth fixing.Free · no account needed
- Internal / External Link ExtractorPull the full list of internal and outbound links from a page in one go: absolute URL, anchor text, rel and new-tab behaviour, ready to export.Free · no account needed
- Heading Structure AnalyzerPaste a page's HTML or enter its URL to see its heading outline as a tree and catch broken hierarchy.Free · no account needed
- Anchor Text AnalyzerPaste the HTML of a page or article to extract every anchor text and see which ones are vague, empty or repeated.Free · runs in your browser
- Single Page SEO AuditEnter a page address: the tool downloads it, runs about fifty technical checks and returns a score per category with the issues to fix first.Free account · 3 live checks/day