Advertisement
What is an anchor text extractor? An anchor text extractor reads the HTML of a page and lists each link with its visible text. This one finds every a tag with an href, labels it internal, external, #anchor, email or phone, flags nofollow, new-tab and noopener attributes, warns about empty or generic anchors, and exports the list as CSV.

What is an anchor text extractor?

Anchor text is the clickable words of a link. Search engines use it, along with the page around it, to understand what the target page is about. On a long article, though, it is hard to see all your links at once. An anchor text extractor pulls them into one table so you can review the wording and the attributes in a minute.

You paste HTML into Paste HTML Source, and optionally enter your domain in the box above it so links to that domain count as internal. Press Extract Links and the tool shows totals, warnings and a table with number, anchor text, href, type and attributes. Filter tabs narrow the list to Internal, External, #Anchors, Nofollow or Empty Anchor, and you can export the lot.

It works only on the HTML you provide. It does not visit the page, follow the links or test whether they work, and it does not see links added later by JavaScript. For link status, use the Broken Link Checker.

How to extract anchor text from HTML

  1. Copy the HTML of your page or just the content section, and paste it into Paste HTML Source. Load Sample fills in an example.
  2. Enter your site address, such as https://example.com, in the box at the top right so same-domain links are marked Internal.
  3. Click Extract Links.
  4. Read the stat boxes (Total Links, Internal, External, Nofollow, Empty Anchor, #Anchors) and any yellow warnings.
  5. Use the tabs All Links, Internal, External, #Anchors, Nofollow and Empty Anchor to filter the table.
  6. Press Export CSV to download the table or Copy All URLs to copy every href.

What this anchor text extractor shows

Link type labels

Each link is tagged Internal, External, #Anchor, Email, Phone or Other. Paths starting with / and, with a domain entered, links on that domain count as internal.

Image link text

If a link holds only an image, the tool shows the alt text as [img: alt], or [image โ€“ no alt] if there is none.

Generic anchor flag

Anchors such as click here, read more, here, learn more or see more info are marked generic and the row is highlighted.

Attribute badges

Nofollow, new tab (target=_blank) and noopener appear as small badges beside each link.

Security warning

A message counts links that open in a new tab without rel noopener.

CSV export

The export has columns for number, anchor text, URL, type, nofollow, new tab and noopener.

Who uses it, and for what

  • SEO editors reviewing an article. Paste a post and see whether your internal links use descriptive wording or a pile of read more links.
  • Content auditors. Export the table to a spreadsheet and sort by anchor text to spot repeated phrases pointing to different pages.
  • Developers checking templates. Find links with target=_blank and no noopener, or empty links left behind by a page builder.
  • Link builders checking a placement. Paste the HTML of a guest post to confirm your link is present and not nofollow. Then see where else it appears with the Keyword Density Checker.

Tips for reading the results

  • Enter your domain. Without it, a full URL to your own site is labelled External because only relative paths are treated as internal.
  • Only links with an href attribute are listed. An a tag without href is ignored.
  • Mailto and tel links appear in the table, but they are not counted in the stat boxes for Internal or External.
  • The nofollow check looks for the word nofollow inside rel. Sponsored and ugc values are not tracked separately.
  • The new-tab warning counts any link with target=_blank and no noopener, not only external ones.
  • Anchor text for a link with nested elements is the combined text content, so a button inside a link shows the button label.

Is it safe? Privacy and limits

Extraction runs in your browser with the built-in HTML parser. The HTML you paste is not uploaded or stored by DotThemes. The CSV is generated on your device and downloaded directly. The tool does not request any of the links it lists, so it cannot tell you whether they work or what they point to now.

Anchor text extractor FAQ

It reads the HTML you give it and lists every link with its visible text. For each a tag with an href, this tool shows the anchor text, the URL, a type label, and badges for nofollow, new tab and noopener. It also adds totals and warnings for empty, image-only and generic anchors. You can filter, export to CSV or copy all URLs. It does not browse your site, so you must paste the HTML of each page you want to review.

Links that start with /, ./ or ../ are internal. If you type your site address in the domain box, any full URL on that hostname is also internal, ignoring a leading www. Links starting with # are labelled #Anchor, mailto links Email and tel links Phone. Other http or https links are External. If you leave the domain box empty, absolute links to your own site will show as External, so fill it in for audits.

A link is empty when it has no readable text and no image alt text. A link wrapping an image with a non-empty alt attribute shows [img: your alt text] and is not empty. A link wrapping an image with no alt shows [image โ€“ no alt] and is counted as empty. These links are hard for screen reader users, and they give search engines little context. Add a short descriptive alt attribute or visible text.

Generic anchor text tells readers and search engines nothing about the target. The tool looks for exact matches like click here, read more, here, more, link, this, learn more, view, see more and more info. Compare read more with a link reading our guide to canonical tags: the second one describes the destination. Occasional generic links are not a disaster, but on a key internal link it is a missed chance to add context.

It detects nofollow only. The tool checks whether the rel attribute includes the word nofollow and shows a badge and a filter tab. A rel of sponsored or ugc on its own is not flagged, though it is still visible in your source. If you audit paid or user-generated links, check those values separately. Remember that nofollow, sponsored and ugc are hints to search engines, not blocks.

No. There is no URL fetching. You copy the HTML from your browser's view-source page, your CMS code editor, or a saved file, then paste it in. This means it also works for drafts and local files. The trade-off is that links inserted by JavaScript after page load will not be in view-source HTML. If you need to see rendered links, copy the HTML from the browser inspector instead.

The CSV has seven columns: number, anchor text, URL, type, nofollow, new tab and noopener, with true or false for the last three. Anchor text is quoted, so commas inside it do not break columns. The export includes all links found, not only the currently filtered tab. Open it in Excel or Google Sheets to sort by anchor text and find repeated wording. Copy All URLs gives just the hrefs, one per line, which you can feed to a link checker.

Yes. It is free, with no account, no daily limit and no upload. It runs entirely in the browser. It is best for one page at a time. For a site-wide anchor audit you would need a crawler, though you can still paste several key templates here to catch problems early. After cleaning up anchors, run important pages through the Meta Tag Analyzer too.

Advertisement