URL / Link Extractor
Extract links from text in 5 modes - free, no signup.
What this tool does
Paste text or HTML and choose what to extract: every link, just the domains, just image links, just social media links, or just Markdown-style links. The list updates instantly as you switch modes.
Extracts every http/https link from pasted text or HTML.
Filters down to domains only, image links only (by file extension), social media platform links only, or Markdown-formatted links only.
Deduplicates and lets you copy or download the result as a CSV.
Strips a trailing period, comma, colon, semicolon, exclamation mark or question mark from the end of a matched link, since that punctuation usually belongs to the surrounding sentence, not the URL.
Deduplicates domain results case-insensitively, since a hostname isn't case-sensitive, while full URL results are compared exactly as written, since a path can be case-sensitive on some servers.
How to use it
- Paste your text or HTML.
- Choose which type of link to extract.
- Copy or download the results.
Why use this extractor
Pulling links out of an email, a page or notes by hand is slow. Extracting them with filters for domains, images, social links or Markdown gives clean lists in seconds.
Why we built it
We built the URL link extractor with five modes in one tool - all links, domains, images, social and Markdown - instead of five tools. Break a link apart with the URL parser and pull emails with the email extractor.
Handy alongside this: the Date & Time Extractor, the HTML Table Generator and the Keyword Extractor.
Who this tool is for
- SEO and content staff auditing pages
- Researchers collecting links
- Developers cleaning text
When to use it
- Collecting links from an article or an email.
- Listing the domains referenced in a document.
- Finding image links in HTML.
- Checking Markdown links.
Why one tool instead of five
All five modes are really the same underlying pattern with a different filter.
Finding a URL, filtering to just its domain, filtering to just image links, filtering to just social media links, and finding Markdown links are all variations on the same underlying task - find URLs, then optionally narrow them down. Building five separate single-purpose pages for that would mean re-pasting the same text five times to compare modes. This tool keeps the paste box in place and lets you switch modes instantly instead.
Trailing punctuation and case sensitivity
A URL at the end of a sentence is usually followed by punctuation that belongs to the sentence, not the link - "see https://example.com/guide." ends with a period that is not part of the address. This tool strips a trailing period, comma, colon, semicolon, exclamation mark or question mark from every match before it is listed.
Deduplication also treats the two kinds of result differently. Domains-only mode compares hostnames case-insensitively, because Example.com and example.com are the same host. Every other mode compares the full URL exactly as written, because the path after the domain can genuinely be case-sensitive on some servers - /Page and /page are not guaranteed to be the same resource.
This only recognises links starting with http:// or https://. A bare domain typed without a protocol, or a mailto: or ftp:// link, will not be matched.
What you give it, and what you get back
| Item | Details |
|---|---|
| Input | Text or HTML. |
| Modes | All links, domains, images, social or Markdown. |
| Output | A de-duplicated list, copy or CSV. |
Issues you may run into
| What you see | Why it happens | What to do |
|---|---|---|
| A bare domain is missed | Only http and https links are matched. | Add the protocol. |
| Trailing punctuation | Punctuation after a link is trimmed. | Check edge cases. |
| New platform not recognised | Social detection uses a known list. | Use "all links" and filter. |
Assumptions and limitations
- This recognizes http:// and https:// links specifically - it won't catch a bare domain typed without a protocol (like 'example.com' with no https://).
- Social media detection is based on a list of well-known platform domains - a newer or less common platform may not be recognized.
Frequently asked questions
How do I extract links from text online for free?
Paste your text, choose a mode (all links, domains, images, social, or Markdown), and the results appear instantly.
Can I get just the domain names, not full URLs?
Yes - select 'Domains only' to see just the hostname from each link, deduplicated.
Does this find image links specifically?
Yes - 'Image links only' filters to URLs ending in a common image file extension like .jpg, .png, .gif or .webp.
Does this work on raw HTML, not just plain text?
Yes - since it's looking for the URL pattern itself, it works whether you paste plain text or full HTML markup.
Is my data uploaded anywhere?
No. Extraction happens entirely in your browser - nothing is sent to a server.
Does a trailing period or comma end up as part of the link?
No. A period, comma, colon, semicolon, exclamation mark or question mark immediately after a URL is stripped, since it usually belongs to the surrounding sentence rather than the link itself.
Are domain results case-sensitive?
Domains-only mode treats them as case-insensitive when deduplicating, since a hostname isn't case-sensitive. Full URL results are compared exactly as written, since a URL path can be case-sensitive on some servers.
Further reading
Why an email or phone number extractor sometimes misses one, or catches too many — There's no single definition of an email, phone number or URL — so any extractor enforces one reasonable set of rules among several possible ones.