How to extract links from HTML or text
- Paste HTML source, an email, a document or any text. Links in
<a>tags are extracted with their anchor text andrelattributes, and bare URLs in plain text are found too. - Enter the page's base URL to resolve relative links such as
/guideand to split links into internal and external. - Filter by internal, external or nofollow, and keep Unique only on to remove duplicates.
- Copy the URLs or download a CSV with URL, anchor text, type and rel.
Uses for a link extractor
SEO specialists use link lists to audit internal linking (are important pages linked with descriptive anchor text?), check which external sites a page links to, find links missing rel="sponsored" or rel="nofollow" on paid or user-generated content, and spot empty anchors from image links without alt text. Content teams use it to gather all URLs from a newsletter or document before checking them, and developers to pull endpoints out of logs or configuration.
The type column also identifies mailto:, tel:, in-page #anchors and javascript: links, which crawlers cannot follow. Links opening in a new tab without rel="noopener" are marked; modern browsers apply it by default, but older ones did not.
Extraction is done with your browser's HTML parser, so nothing is fetched or uploaded. To list links from a live page, paste its source.
What is the difference between nofollow, sponsored and ugc?
All three ask search engines not to pass ranking credit. Use sponsored for paid or affiliate links, ugc for user-generated content such as comments, and nofollow for anything else you do not vouch for.
Can it find links in a PDF or Word file?
Copy the text out of the document and paste it here; plain URLs will be found.
Why are some links shown as relative?
Without a base URL, links like /about cannot be turned into full addresses. Enter the page URL to resolve them.