Skip to content
ZeroServer.tools

Link Extractor

Extract all hyperlinks from HTML — see each href, anchor text, and link type.

9 links found

URLAnchor textType
/Homerelative
/aboutAboutrelative
https://example.com/docsDocumentationabsolute
https://blog.example.comblogabsolute
/files/report.pdfreport (PDF)relative
mailto:[email protected]Contact usmailto
tel:+15555555555Call ustel
#section-2Jump to section 2anchor
//cdn.example.com/asset.jsCDN scriptprotocol-relative

How link extraction works

The extractor scans the HTML for <a href="…"> tags using a regex tokenizer (no DOMParser — fully SSR-safe). It classifies each link: absolute (https://…), relative (/path), anchor (#id), protocol-relative (//…), mailto:, or tel:. Anchor text is extracted by stripping any nested HTML tags.

To encode or decode the extracted URLs use the URL Encoder. To parse a specific URL into its parts, try URL Parser. To audit your page's meta tags, see Meta Tag Analyzer.

Private & free — this tool runs entirely in your browser.

Recommended: Namecheap Register a domain for your next project — from $1.98/yr.affiliate

Related Web & SEO tools