PDora Guide · 4 min read
How to Extract URLs from Text or a Document
Copying links one by one from a report, email or web page is slow and error-prone. The URL Extractor scans pasted text, finds web addresses that start with http:// or https:// and lists each unique link once. This guide explains what it finds, what it misses and what to check before using the list.
Ready to try this workflow? Open the matching tool.
Open URL ExtractorPublished by PDora · Last updated November 17, 2026
How to extract links from text
Copy the text that contains the links, paste it into the URL Extractor and run it. The result is one URL per line with repeated links removed, or the message No URLs found when nothing matches.
For example, pasting "Visit https://example.com and https://example.org/help, then https://example.com again" returns two unique addresses rather than three.
What counts as a URL here
The extractor looks for text that begins with http:// or https:// and continues until it reaches a space, a quote or one of the characters < > ( ) [ ] { }. Addresses written without a scheme, such as www.example.com, and other schemes such as mailto: or ftp: are not matched.
Check trailing punctuation and brackets
A link at the end of a sentence may keep its full stop or comma, so https://example.com/help. can appear with the dot attached. Remove it before opening or importing the link.
Because round brackets end a match, an address that legitimately contains parentheses, such as some wiki page names, will be cut short. Compare the list with the source for important links.
Before you use the list
A valid-looking address can still be broken, redirected or unsafe, and extraction does not visit the page. Open a sample of links, and do not paste confidential documents into an online tool. For email addresses and phone numbers, use the related extractors instead.
Official and technical references
Frequently asked questions
How do I extract all URLs from text?
Paste the text into the URL Extractor and run it. It lists every http and https link once, one per line.
Does the extractor remove duplicate links?
Yes. A link that appears several times is listed once.
Why does a link include a full stop at the end?
The tool does not strip sentence punctuation. Delete the trailing dot or comma before using the link.
Will it find links without http or https?
No. Addresses such as www.example.com without a scheme, and mailto: or ftp: links, are not matched.
Does it check that the links work?
No. It only finds text that looks like a web address. Open the links to confirm they work.
Try a related tool
Continue with a related PDora utility when you are ready to put this guide into practice.