Every link, from text or HTML
The extractor finds links in three ways:
hrefandsrcattributes in HTML source, so you can paste a page’s source and get every link and image address, including relative paths like/about.- Full URLs starting with
http://orhttps://. - Bare domains like
example.comorwww.example.org/docs(optional), recognised by common top-level domains.
Trailing punctuation that belongs to the sentence (a full stop or closing bracket after a URL) is trimmed off. mailto:, javascript: and page-anchor links are ignored.
Options
- Domains only lists each unique hostname (without “www.”), which is useful for auditing outbound links or building allowlists.
- Remove duplicates and order by appearance, alphabetically or by domain.
To check the links’ anchor text and structure in an article, the Heading Structure Checker and HTML to Markdown Converter are good companions.
Worked example
Here is what the URL Extractor returns for its built-in example. Settings used: Remove duplicates: on; Read href/src in HTML: on; Include bare domains (example.com): on. Click Try an example in the tool above to load it, then change it as you like.
Read https://example.com/guide?ref=home and www.example.org/docs. Also see example.net.
<a href="/about">About</a> <img src="https://cdn.example.com/logo.png"> <a href="https://example.com/guide?ref=home">again</a>| Result | Value |
|---|---|
| Links | 5 |
| Found in total | 8 |
| Domains | 5 |
Questions
How do I get all links from a web page?
Copy the page source (View Source in your browser), paste it here and keep “Read href/src in HTML” on.
Can it list just the domains?
Yes. Turn on “Domains only” to get each unique hostname once.
Last reviewed · How Textkiln tools work