Extract URLs
Pull every link out of a block of text, one per line, deduplicated and ready to copy.
Extracted live as you type. Nothing leaves your browser.
Options
SeparatorExtracted URLs will appear here.
How to extract URLs from text
Paste your text
Type or paste any text, HTML, or document contents that contains links.
Choose options
Deduplicate, sort, strip query strings, and pick how the URLs are separated.
Copy the list
The clean list of URLs updates live with a count. Copy it with one click.
Why use this tool
Finds http and www links
Both full http and https URLs and bare www hostnames are detected, with trailing sentence punctuation stripped off.
Deduplicate and sort
Remove repeated links and sort the list alphabetically so a long block of text becomes a tidy set of addresses.
Strip query strings
An option removes everything after the ? or # so you get clean base URLs without tracking parameters.
Flexible output
List URLs one per line, comma separated, or space separated to match wherever you are pasting them.
Private by design
All processing runs on your device. Nothing you paste leaves the page. No upload, no signup.
About this tool
When you copy an article, an email, or a page of HTML, the links are buried in the surrounding text. This tool scans the whole block and pulls every URL into a clean list you can copy in one go. It recognises full http and https addresses as well as bare www hostnames, and it trims trailing punctuation like commas and periods that belong to the sentence rather than the link.
A few options shape the result. Unique only removes repeated links, sort arranges them alphabetically, and strip query strings cuts everything after the question mark or hash so you are left with clean base URLs, which is handy for removing tracking parameters. You can output the list one per line, comma separated, or space separated depending on where it is going.
Everything runs live as you type, with a count of how many URLs were found and how many duplicates were removed. Large pastes are handled without freezing the page. For related work try extract emails to pull addresses, or the url parser to break a single link into its parts.
Frequently asked questions
- What kinds of URLs does it find?
- It detects http and https links and bare hostnames that start with www. Trailing punctuation such as a period or closing bracket is removed so the link stays clean.
- Can it remove duplicate links?
- Yes. The unique only option is on by default and drops repeated URLs, and the count shows how many duplicates were removed.
- What does strip query strings do?
- It removes everything after the ? or # in each URL, leaving the base address. This is a quick way to strip tracking parameters and fragments.
- Will it work on a large page of text?
- Yes. The scanner is built to handle big pastes without slowing the page, and it runs entirely in your browser.
- Is my data sent anywhere?
- No. Everything runs in your browser as you type. Nothing is uploaded and no account is needed.
Related tools
Email Extractor
Pull every email address out of any text, then deduplicate, sort, lowercase, and copy the clean list.
URL Parser
Paste a URL and see every part broken out, with a decoded table of its query parameters.
Query String Parser
Paste a URL or query string, edit every parameter in a decoded table, and copy the rebuilt query string and full URL.
Add Line Numbers
Prefix every line of your text with a number. Set where the count starts, choose a separator, pad with leading zeros, and skip blank lines.
Alternating Case Generator
Turn text into aLtErNaTiNg caps, the mocking SpongeBob style.
Case Converter
Switch text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case, and more.