Extract URLs from Text
Pull every link out of text, HTML, Markdown or logs into a clean list.
- Free
- Real-time
- Runs locally
Options
Output
Separator
Links
0
Unique
0
Domains
0
Top domains
No domains yet.
Paste any text that contains links, such as an email, a web page's HTML source, a Markdown document, a spreadsheet export or a server log, and get a clean list of every URL in it. The list updates as you type and can be copied or downloaded in one click.
The extractor understands how links appear in real content: it reads them out of HTML attributes, decodes & in query strings, and drops punctuation and brackets that belong to the surrounding sentence. Everything runs in your browser, so the text you paste stays private.
How to extract URLs
- STEP 01
Paste your content
Paste plain text, HTML, Markdown, JSON or logs into the box. There is no size limit.
- STEP 02
Adjust the options
Choose whether to include www links, remove duplicates, sort the list, or show only domains.
- STEP 03
Copy the links
Copy the result or download it as a .txt file, one link per line or separated by commas or spaces.
Features
Works with any format
Finds links in prose, HTML href and src attributes, Markdown links, JSON values, CSV files and log lines.
Clean results
Trailing periods, commas and unmatched brackets are removed, while brackets that are part of the URL are kept.
http, https, ftp and www
Detects http://, https://, ftp:// and ftps:// links, plus links that start with www. without a protocol.
Duplicates and sorting
Remove repeated links, keep the original order, or sort the list alphabetically.
Domain overview
See how many links point to each domain, or output a list of unique domains instead of full URLs.
Private and instant
No upload and no button to press: results update as you type, entirely in your browser.
What counts as a URL
To keep the results accurate, the extractor follows these rules:
- A link starts with http://, https://, ftp://, ftps:// or www. and ends at a space, quote, backtick or angle bracket.
- Punctuation at the end, such as a period or comma closing a sentence, is not included.
- A closing bracket is kept only if the URL also contains the matching opening bracket, as in Wikipedia links.
- In HTML, & inside links is converted to &, and encoded quotes end the link.
- Relative links such as /about or ../image.png are not included because they have no domain on their own.
- Email addresses are not URLs and are not extracted, unless they appear inside a link.
Frequently asked questions
Can I extract links from a web page's HTML?
Yes. Open the page's source (Ctrl+U in most browsers), copy it, and paste it here. Links in href and src attributes, scripts and styles are all found.
Does it find links without http or https?
Links that start with www. are found by default; turn off “Include links without http(s)” to skip them. Bare domains like example.com are not matched, to avoid false positives such as file names.
How do I remove duplicate URLs?
“Remove duplicates” is on by default and keeps the first occurrence of each URL in its original order. Turn it off to see every occurrence, or turn on “Sort A–Z” to alphabetize the list.
Can I get only the domain names?
Yes. Switch the output to “Domains only” to get each hostname without the path, with www. removed. The Top domains panel shows how many links point to each one.
Is there a limit on how much text I can paste?
No fixed limit. Very large inputs are processed in your browser, so the speed depends on your device, but tens of thousands of links are handled quickly.
Is my text uploaded?
No. Link extraction runs entirely in your browser and nothing you paste is sent to a server.