URL extractor
Only the first 200 domains are shown.
Everything runs in your browser; nothing is sent or stored.
- Paste free text or the source code of a page in the "Text or HTML code" field, and the list updates as you type. The addresses are shown as text only: they are not opened, checked, or loaded.
- In the "Options" section, select or clear the operations on the list. The "Remove duplicate addresses" option is selected by default. To find domains written without a protocol and without www, select the last option.
- In the "Filter by domain" field, enter a domain, for example, example.com, to show only the addresses on that domain in the list.
- Punctuation at the end of an address, such as a period, a comma, quotation marks, or a closing parenthesis or bracket that was not opened inside the address, is not included in it. HTML entities, such as &, are decoded. Relative addresses (such as /about) and email addresses are not included.
- Above the list, the tool shows the number of addresses found, and below the list, the number of addresses per domain.
- To copy the list, click "Copy".
Which addresses the tool finds in text
The tool finds addresses that start with http://, https://, ftp://, or www., including addresses inside the href and src attributes of HTML code. HTML entities in the code, such as &, are decoded before the search, so each address in the list is identical to the address the browser opens when you click the link. A domain written without a prefix is found only when the matching option is selected and its ending is known to the tool, such as .com, .org, or .co.uk, including some international endings written in non-Latin letters. As a result, file names such as index.php or app.js stay out of the list.
Removing tracking parameters and duplicate addresses
Tracking parameters are added to addresses in campaigns and when links are shared on social networks. The utm_source, utm_medium, and utm_campaign parameters tell analytics systems where a visit came from, the fbclid parameter is added to links that lead out of Facebook, and the gclid parameter is added to visits from Google Ads. The option to remove tracking parameters deletes every parameter that starts with utm_ and the common click identifiers, and keeps the other parameters in their original order and spelling. Tracking parameters are removed before duplicate addresses, so addresses that differ only in their tracking parameters appear in the list once.
Common uses for URL extraction
Extracting the addresses from the source code of a page shows the links, images, scripts, and style sheets that the page refers to by their full address. Grouping by domain quickly shows the external services that the page loads content from. Before moving a site to a new domain or to HTTPS, filtering by the old domain shows the full addresses that need to be updated in the content. The URL extractor is also useful for collecting links from messages, documents, and log files into one list that you can copy into a spreadsheet.
Addresses in text and the address you get in the list
(https://example.com/plans).the parentheses and the period around the address are not included in it.https://en.wikipedia.org/wiki/URL_(disambiguation)parentheses that open and close inside the address are kept.https://example.com/?utm_source=news&id=7with tracking parameters removed, the address in the list ishttps://example.com/?id=7.href="https://example.com/?a=1&b=2"the&entity is decoded, and the address in the list ishttps://example.com/?a=1&b=2.example.co.ukthe domain is found only when the option for domains without a prefix is selected.index.phpthe file name is not found even when the option is selected, because php is not a domain ending./abouta relative address is not included in the list.
URL extractor FAQ
Does the tool find relative addresses?
No. Relative addresses, which start with a slash or a file name, are not included in the list, because they have no domain and their full address depends on the page where they appear. Addresses that start with two slashes, without a protocol, are not included either.
Why does a domain written without a protocol not appear in the list?
When the option for domains without a prefix is not selected, the tool finds only addresses that start with a protocol or with www. Even when the option is selected, a domain with an ending that the tool does not recognize is found only when its address is written with a protocol or with www, for example, https://example.travel.
Does the domain filter include subdomains?
Yes. The domain filter includes the domain and all of its subdomains, so filtering by example.com also shows addresses on www.example.com and shop.example.com. Filtering by www.example.com does not include example.com. You can also paste a full address in the "Filter by domain" field, and the list is filtered by the domain in that address.
When are two addresses considered duplicates?
Two addresses are considered duplicates when they are identical, ignoring upper and lower case in the protocol and the domain. In the path, upper and lower case letters are treated as different, because the path can be case-sensitive. An address with www and an address without www, as well as an address with http and an address with https, are treated as different addresses.
How is the order of the list determined?
Without sorting, the addresses appear in the order in which they occur in the text. When the list is sorted, numbers in an address are sorted by their value, so page2 comes before page10. When the list is grouped by domain, the domains with the most addresses come first, and the addresses keep their order within each domain.
What is the maximum size of text for URL extraction?
The input can be up to 1 MB, and an address longer than 8,192 characters is not included in the list. The list of addresses per domain shows up to 200 domains.