Link and Anchor Text Extractor (from pasted HTML)
100% PrivateURL & Link ToolsExtract every link and its anchor text from HTML you paste.
Runs entirely in your browser. Your input is not uploaded to Ovatly or anywhere else.
- 1Copy the HTML from a page source or template and paste it in the box.
- 2Read the table: one row per link, with href, anchor text, rel and target.
- 3Check the summary line for the total count and how many links are nofollow.
- 4Copy the results as CSV, or download the CSV file for a spreadsheet.
Paste: <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 with anchor text "Example Site" and rel "nofollow sponsored" (counted as nofollow), the second pointing to /about with target _blank. An <a> tag without an href is not a link and is not listed.
- Only anchor tags with an href attribute count as links; named anchors and placeholder tags are ignored.
- Relative hrefs like /about are shown exactly as written in the markup, not resolved against a domain, because pasted fragments have no base address.
- Parsing uses the browser's own HTML parser in a passive document: scripts in the pasted code never run and images never load.
Yes. View-source output, a saved page, or a fragment all work. Very large pages extract quickly because the browser parser does the work.
About this tool
The Link and Anchor Text Extractor reads HTML you paste (a page source, an email template, a CMS export) and lists every link it contains: the href, the anchor text visitors see, the rel attributes and the target. SEO audits use it to find nofollow links and empty anchors; editors use it to inventory a page before a rewrite. The pasted markup is parsed, never executed.
Related tools
Part of Ovatly's free tools in URL & Link Tools.