What is a URL extractor?
A URL extractor scans text for web addresses and lists them. It's useful for collecting every link shared in a long group chat, pulling references out of a research document, auditing the links in an article or newsletter, or getting the list of pages from a page's HTML source.
This extractor recognises http and https links and ones beginning with www., trims punctuation that isn't part of the address, removes duplicates and can sort the list. Switching to domains only shows which websites are linked, one per line, without the individual pages.
How to extract all links from text
1.Paste the text or HTML
Messages, documents, page source or a sitemap all work.
2.Choose links or domains
Keep full URLs, or reduce them to the websites they point to.
3.Copy or download
Deduplicate and sort first if you need a tidy list.
Example: links in a short paragraph
Text with a blog link ending a sentence, a www link, a Wikipedia link in brackets, an HTML link and a repeat:
- Found
- 5
- In the list
- 4
- Kept bracket
- https://en.wikipedia.org/wiki/URL_(disambiguation)
- Trimmed
- https://example.com/blog/post?id=42 without its full stop
Four unique links, each with sentence punctuation removed and its own brackets intact.
Clean ends on every link
Links in prose are often followed by a full stop, comma or closing bracket that isn't part of the address. Those are trimmed, but a bracket that belongs to the URL, as in many Wikipedia links, is kept because the link opens one too.
Links starting with www. are found even without http. In Domains only mode each link becomes its host name, such as shop.example.com, which is handy for checking which sites a document cites or auditing outbound links.
Frequently asked questions
Does it find links inside HTML?
Yes. Paste page source and links in href attributes and plain text are both picked up.
Will it find links without http?
Links starting with www. are found. Bare domains like example.com without www aren't, to avoid matching file names and sentences.
Can I get only the domains?
Yes. Set Show to Domains only and tick Remove duplicates for one line per site.
Does it open or check the links?
No. It only reads the text you paste; no link is visited.
Related tools
Email Extractor
Pull every email address out of text, deduplicated and ready to copy.
URL Parser
Break a URL into protocol, host, port, path, query and fragment.
Strip HTML Tags
Remove HTML tags and get clean, readable plain text.
Word Counter
Words, characters, sentences, paragraphs and reading time.
Character Counter
Characters against X, Instagram, SMS and SEO limits.
Case Converter
UPPER, lower, Title, Sentence, camelCase, snake_case and more.
More Utilities tools
Dates & time
Percent & price
Unit converters
Text tools
Generators
Share & collaborate
Maths
- Ratio calculator
- Average calculator
- Weighted average calculator
- Standard deviation calculator
- Percentile calculator
- Fraction calculator
- GCD and LCM calculator
- Prime number checker
- Quadratic equation solver
- Golden ratio calculator
- Roman numeral converter
- Number to words
- Number base converter
- Scientific calculator
- Factorial calculator
- Exponent calculator
- Logarithm calculator
- Modulo calculator