Zero Signup ToolsFree browser tools

SEO Tools

HTML Link Extractor

Extract every anchor tag link from any HTML page or fragment in your browser. View href, anchor text, rel, target, and copy as CSV, Markdown, or JSON.

0 chars

Parsing uses the browser DOMParser, which creates an inert document. Scripts inside pasted HTML are never executed and your input never leaves the page.

Set a base URL to resolve relative hrefs (like "/about" or "../docs/index.html") into absolute URLs, and to mark every link as internal or external. Leave it blank to keep raw hrefs and skip internal/external tagging.

Summary

Paste HTML on the left. Anchor counts and a breakdown by link type will appear here.

Filter

Every anchor tag found in the input

Output

Compact table of every link and its metadata

Paste HTML on the left to extract every <a href> the browser sees. Try Load sample for a worked example.

How to use

  1. Paste an HTML page (right-click, View page source, copy the whole thing) or any fragment that contains anchor tags into the input on the left. Or click Load sample for a worked example.
  2. Optional but recommended: enter the page's base URL (for example https://example.com) so relative hrefs resolve to absolute URLs and every link is tagged as internal or external.
  3. Use the filter chips to narrow the list to internal, external, nofollow, links with anchor text, empty links, mailto and tel, or page anchors. Toggle Dedupe by URL and Sort A-Z to clean up the output.
  4. Pick an output format: Table for a full audit view, URL list for one href per line, CSV for spreadsheets, Markdown for documentation, or JSON for scripts.
  5. Click Copy URLs, Copy view, or the per-row Copy buttons to grab the result. The summary panel shows total anchors, internal vs external counts, nofollow/sponsored/UGC counts, and empty-href detection.

About this tool

HTML Link Extractor parses any HTML you paste (a full page from view-source or just an article fragment) and lists every anchor tag the browser sees. For each link it captures the href, the visible anchor text, the title attribute, every rel token (with nofollow, sponsored, and ugc highlighted), and the target attribute so you can spot links that open in a new tab. Set an optional base URL and the tool resolves relative hrefs like /about, ../docs/index.html, and bare paths into absolute URLs, then tags each link as internal (same hostname as the base) or external (different hostname). Filter the list by internal, external, nofollow, anchor text present, empty links, mailto and tel, or page anchors. Optional dedupe by URL and A-to-Z sort make the result paste-ready for redirect maps, content audits, and migrations. Export the working list as a table, a plain URL list (one per line), a CSV with quoted columns, a Markdown bullet list of [text](url), or a structured JSON array. Parsing uses the browser DOMParser, which builds an inert document, so scripts inside the pasted HTML are never executed. Everything runs in your browser, so the HTML and base URL stay on your device.

Free to use. Works in your browser. No signup, no login.

Related tools

You may also like

All tools
All toolsSEO Tools