URL Extractor
Extract all links from text or HTML source, clean trailing punctuation, remove duplicates and list full URLs or just the domains.
Paste text or HTML and every link in it is listed - the links are never opened.
Links are only read from the text - they are never opened or visited.
More Text & Writing Tools
View all 28Links written without http:// or www., such as example.com, are not picked up, to avoid matching file names.
What Is the URL Extractor?
It finds every link in text or HTML source and lists them. It removes punctuation that ends a sentence, drops duplicates, can filter links by a word such as a domain name, and can show just the domains. Links are only read from your text - they are never opened.
When to Use It
- Collecting all links from a document, a chat export or meeting notes.
- Listing the external links in a page's HTML source.
- Getting the list of domains a page or email links to.
How to Use It
- Paste the text or HTML.
- Choose full URLs or domains only, and optionally a word that links must contain.
- Copy the list or download it as a text file.
Example
From a paragraph that links to a blog post in brackets, a docs page with a full stop straight after it, www.example.org/start and the docs page again, the extractor returns three URLs: https://byteary.com/blog/dns-records-explained, https://example.com/docs?page=2 and www.example.org/start. The closing bracket and the full stop are removed, and the repeated link appears once.
How Links Are Recognised
A link must start with http://, https://, ftp:// or www.. Trailing commas, full stops and quote marks are removed, and a closing bracket is removed only when there is no matching opening bracket in the link - so Wikipedia-style links such as .../Python_(programming_language) stay whole.
Limitations
Bare domains without www. or a scheme, such as example.com, are not picked up, to avoid matching file names like report.pdf. Links built by JavaScript or hidden behind buttons are not in the HTML text. To break a URL into its parts, use the URL Parser; to see where a link leads, use the Redirect Checker.
Frequently Asked Questions
Explore More Tools
Keep going with related categories and our most used tools.