Every page carries a few links nobody has checked since the day they were pasted in. A button whose text never got written. A placeholder address that survived three redesigns. A defect scan of the pasted HTML is how you catch those before a visitor does.
One boundary first, because the whole guide depends on it. The Link and Anchor Text Extractor on Ovatly never fetches anything. It reads the HTML you paste and lists the links in it. So in this guide, broken means visibly defective in the pasted markup: empty anchor text, placeholder or unfinished href values, links missing from the markup entirely. Whether a live address returns a 404 or a redirect is an HTTP question, and HTTP status is explicitly out of scope here.
Contents
- Quick answer
- What broken means when nothing is fetched
- The three findings a defect scan produces
- How to scan pasted HTML, step by step
- Worked example: reading a two-link snippet as a defect scan
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
Quick answer
Paste the page's HTML into the Link and Anchor Text Extractor and read the table it returns: one row per link, with the href, the anchor text, the rel attributes and the target. Scan for rows whose anchor text is empty, and for href values that look like placeholders or unfinished relatives. Check the summary line for the total count and the nofollow count. For a large page, copy or download the CSV and scan it in a spreadsheet. Remember what the scan cannot do: the extractor never fetches a URL, so it reports defects visible in the markup, never HTTP status. Fix every defect at the source, in the page or template the HTML came from.
What broken means when nothing is fetched
A link checker that visits addresses can tell you a URL returned a 404. This scan is a different instrument. It parses the markup you hand it, using your browser's own HTML parser in a passive document, and reports what is written there. Scripts in the pasted code never run and images never load, so what you see is the raw link inventory of the page, exactly as the markup carries it.
That is a narrower promise than a crawl, and for markup defects it is the more reliable one: this table reports what the page actually contains, every anchor with an href, its text, its rel attributes and its target, with relative hrefs shown exactly as written rather than resolved against a domain. Defects that live in the writing itself cannot hide from it.
The three findings a defect scan produces
The first finding is a row whose anchor text is empty. The href may be perfectly correct, but a visitor sees nothing readable to click, and a screen reader has nothing meaningful to announce.
The second finding is an href that was never finished. Because hrefs are shown exactly as written, placeholder values and relative paths sit in the list where your eye can catch them. A relative href is often legitimate on a web page, but it is a value to eyeball rather than wave through, and a placeholder that was meant to be replaced before launch is a genuine defect.
The third finding is absence. A link that should be on the page but is not in the table at all is a result, not a gap in the tool. Only anchor tags with an href count as links, so an anchor without one is not listed. And a link built by script at runtime never appears in static HTML. A missing link therefore has two named causes, and each points at a different fix in the source.
How to scan pasted HTML, step by step
- Copy the HTML from the page source, a saved page or the template you are auditing, and paste it into the Link and Anchor Text Extractor.
- Read the table one row at a time: href, anchor text, rel and target. Mark every row whose anchor text is empty.
- Eyeball the href column for placeholders and unfinished values, remembering that relative hrefs are shown exactly as written.
- Check the summary line for the total count and the nofollow count, and compare the total against the number of links you expected the page to have.
- For a large page, copy the results as CSV or download the CSV file and scan the rows in a spreadsheet.
- Fix each defect at the source, in the page or template the HTML came from, then paste the corrected HTML and scan again to confirm.
Worked example: reading a two-link snippet as a defect scan
Take the snippet <a href="https://example.com" rel="nofollow sponsored">Example Site</a> and <a href="/about" target="_blank">About</a>. The table shows 2 links. The first carries the anchor text Example Site and the rel value nofollow sponsored, and it is counted as nofollow in the summary. The second points to /about with target _blank and the text About.
Read as a defect scan, that table is mostly reassuring: both rows have readable anchor text, so there is no empty-link defect. The one value to eyeball is /about, shown exactly as written because it is relative; on the live page it may be entirely correct, but the scan has done its job by putting it in front of you. Now suppose the design for this page also had a Contact link, and it is nowhere in the table. That absence is the finding. Either the Contact anchor was written without an href, as a JavaScript placeholder, or the link is built by script at runtime and never appears in the static HTML.
Limitations and honest tradeoffs
The extractor never fetches anything, so it cannot report HTTP status: no 404s, no redirects, no server errors, no slow responses. A row that looks clean in the table can still point at an address that fails when visited, and a destination check of that kind needs a different tool that makes network requests.
Relative hrefs are shown exactly as written and are not resolved against a domain, because pasted fragments have no base address. The scan can show you the value; judging whether that relative path is right for the page it lives on is your call. Only anchors with an href are listed, so named anchors and placeholder tags are invisible to the count. And because the pasted markup is parsed passively, with scripts never run, any link a script builds at runtime is outside the scan entirely.
Common mistakes
- Treating a clean table as proof every destination works. The scan proves the markup is sound. It says nothing about what the addresses return when visited.
- Expecting status codes from a paste. If a report needs 404s and redirects, that is a fetching tool's job, not this one's.
- Skipping rows with empty text because the href looks fine. An unreadable link is a defect even when its destination is correct.
- Fixing the pasted copy instead of the source. The paste is a snapshot. Repairs belong in the page or template, or the next paste brings the defect back.
- Assuming a missing link means the page has none. It may be script-built. Absence tells you where to look, not that nothing is there.
FAQs
Does the extractor check whether a link returns a 404? No. The extractor never fetches anything; it reads the HTML you paste and lists the links written in it. Whether a live address returns a 404 or a redirect is an HTTP question, and this scan cannot answer it.
What counts as a broken link in pasted HTML? A defect you can see in the markup: a row whose anchor text is empty, an href that is a placeholder or an unfinished relative value, or a link that should be in the page but never appears in the table at all.
Why is a link I expected not in the table? The two usual causes are that the anchor has no href, which makes it a JavaScript placeholder rather than a link, or that the link is built by script at runtime and never appears in the static HTML you pasted.
What does the extractor show for each link? One row per link with the href, the anchor text, the rel attributes and the target, plus a summary line with the total count and how many links are nofollow. The CSV adds a title column to those four.
Can I scan a whole page of HTML this way? Yes. A whole page source, a saved page or a small fragment all work. For a large page, copy or download the CSV and scan the rows in a spreadsheet, where empty text and odd hrefs are easier to spot.
Conclusion
A paste-based scan will never tell you what a server returns, and it should not try. What it tells you is arguably more basic: whether the links in your markup are finished, labelled and present at all. Run the Link and Anchor Text Extractor over any page before it ships, fix what the table exposes at the source, and the defects your visitors would have found never reach them. The companion guide shows the same inventory at work on a different input: extracting links from an email template or newsletter HTML. For more guides in this series, see the URL and Link Tools guides.