Citation Anchor Checker
Can AI answers link straight to the right part of your page? We check every heading for a stable anchor (#id) that works, and suggest ids where there are none.
Run all 34 checks on this site in URSY One report, the top 10 fixes first. Free with a URSY account.
Guide
What this checker does
It reads one page, as your server sends it, and looks at every heading from H1 to H4. For each one it finds the anchor a link can point to: an id on the heading, an id inside it, an id on the section or block the heading opens, or an empty anchor right next to it. That anchor is the part after # in an address such as example.com/delivery#charges.
Then it checks that a link to that anchor really lands on the heading, whether the page links to it itself (a table of contents), and whether the id is likely to stay the same. It does not run JavaScript, so ids added by scripts after the page loads are not seen.
Why it matters
A long page answers many questions. When a person, a search engine or an AI assistant wants to point a reader at one answer, the best link opens the page at that section. Without an anchor, the link can only open the top of the page and the reader has to hunt.
An anchor is only useful if it lasts. A link made today may be clicked in a year. If the id was made by a page builder and changes on the next save, or a second element uses the same id, the link quietly lands somewhere else.
How to read the result
The table lists the headings with problems first. "Link lands here" says whether a link to the anchor would open the page at this heading. The verdict says why not, or what could break later.
- No anchor: the section cannot be linked. The suggested id column offers one made from the heading words.
- Duplicate id: the HTML standard says an id must be unique in the page. A browser goes to the first element with that id, so later copies never get the link.
- Machine-made: random letters, a hash or a code such as _R_95_. These often change when a site is rebuilt. It is a guess from the shape of the id.
- Numbered: ids such as section-3 or faq-2 can move to a different heading when sections are added or moved.
- Space or special characters: an id must not contain a space. Accents and signs are allowed but are encoded in links, which makes them long and easy to break.
- Hidden: a heading hidden in the HTML cannot be shown by a link. A closed details box is different: the HTML standard tells browsers to open it for a link.
How to fix it
Give each H2, and the H3s people quote, a short id of a few lower-case words joined by hyphens, such as delivery-charges. Most editors have an "HTML anchor" box on the heading block. Set it by hand on the headings that matter, so it does not change when you save.
Treat an id as an address, not a label. If you reword a heading, keep its old id. Before you replace an id that already exists, remember that every link using the old one will stop landing on the section. The suggested anchors are a starting point: check them before you change any links.
On long pages, add a short table of contents that links to the main sections. Readers can jump straight to what they need, and the section links are written out for anyone to copy.
Why it matters
A citation anchor turns a long page into many quotable spots. MDN says an id must be unique within the whole document and must not contain whitespace, and that its purpose includes linking with a fragment identifier. Break either rule and the link silently lands at the top.
Browsers also support text fragments, links ending in #:~:text= that highlight a phrase. MDN points out that these fail as soon as the wording changes, and suggests element ids may be more reliable for long-lived links. An AI answer that cites you months later needs the long-lived kind.
Google uses section links too. Its snippet guide describes "Read more" deep links that jump to a section, and says they are more likely when content is visible straight away, not tucked behind tabs or expandable sections, and when the page does not force the scroll position on load.
Check it yourself today
- Open the page, right-click a heading and choose Inspect. In DevTools, look for
id="..."on the<h2>tag. - To see them all at once, open the Console and run
[...document.querySelectorAll('h2,h3')].map(h => h.id || '(none)') - Copy one id, add it after a
#at the end of the page address and open it in a new tab. The browser should jump straight to that heading. - Save the page in your editor without changing anything and run step 2 again. If the ids changed, they are not stable.
- Run the page through the Link Checker to catch links that point at pages that no longer exist, and the AI Readiness Checker to confirm AI tools can read the HTML.
Common problems and how to fix them
Editors that make new ids on every save
Many block editors let you type a fixed "HTML anchor" for a heading. Set it by hand on the headings that matter, using short lower-case words joined by hyphens.
You renamed a heading and old links broke
Keep the old id on the heading even if the words change. An id is an address, not a label, so it does not have to match the text.
Answers live in an accordion
Open the key sections by default, or move the main answer above the fold-out parts. Google's guidance prefers content that is visible on load.
Related in URSY Pro
The Citation anchors manager keeps heading links stable across a whole site, and Fact anchors and citations links each fact to its source. For how sections help internal linking, see the wiki.
Sources
- MDN Web Docs: id global attribute, checked 23 November 2026
- MDN Web Docs: Text fragments, checked 23 November 2026
- Google Search Central: Control your snippets in search results, checked 23 November 2026
Updated 23 November 2026 by URSY.
Questions and answers
Do anchors help my rankings?
Not directly. They make each section easy to link to, quote and share, which is where their value comes from. We make no promise about rankings.
What about links ending in #:~:text=?
Those are text fragments. They open a page at some words and highlight them, even with no id. Current versions of Chrome, Edge, Firefox and Safari support them. But if the words change, the link falls back to the top of the page, so they do not replace a stable id.
Should every paragraph have an id?
No. Section headings are enough for most pages. Add more only for things people quote often, such as a price table or a key fact.
Can two pages use the same id?
Yes. An id only has to be unique within one page. Using the same id for the same kind of section on every page, such as delivery, is a good habit.
Why does it say an id looks machine-made when I typed it?
The check looks at the shape of the id only: long strings of random letters and numbers, hashes and codes such as _R_95_. If you chose that id yourself and it never changes, the link is fine. A readable id is still easier for people to trust and share.
Why are some ids missing that I can see in my browser?
We read the HTML your server sends, without running JavaScript. Some table-of-contents tools add ids with a script after the page loads. Those work in a browser, but not for readers and bots that do not run scripts. Putting the ids in the HTML itself is safer.
Create a free account
Every tool at Pro level, free for 6 months. No card. More checks a day, every row of every table, and your sites tracked over time.
Sign in with a code we email you. No password.