Extract URLs from Text

Pull every link out of any text.

Free extract URLs from text tool — find every http, https and www link in pasted text, remove duplicates, reduce to domains, sort and export as a list or comma-separated. Runs entirely in your browser, nothing is uploaded. It runs free in your browser on Gera Tools, with nothing uploaded.

Last updated Source: Gera Tools

Which links does it find?

It matches full http:// and https:// URLs as well as bare www. addresses, then trims trailing punctuation like a sentence-ending period or a closing bracket that is not part of the link.

Extract URLs from text

Whether you’re auditing the links in a document, harvesting sources from an article, or pulling referring domains out of a log, finding every URL by eye is tedious. This tool scans any text — prose, HTML, logs or exports — and lists every link it contains, with options to clean and reshape the result.

How it works

The extractor matches full http:// and https:// URLs plus bare www. addresses, then trims trailing punctuation and unbalanced brackets so a link at the end of a sentence or inside parentheses comes out clean. From there your options apply: de-duplicate keeps each link once; domain only parses each URL with the browser’s built-in URL parser and keeps just the hostname; sort orders them alphabetically; and the separator toggle joins them with newlines or commas. A count shows how many links were found.

Example

Paste:

See (https://example.com/page). Also visit www.example.com and https://docs.example.com.

With domain-only, de-duplicate and sort on, the output is:

docs.example.com
example.com

The trailing ) and . are trimmed, the two example.com links collapse to one domain, and docs.example.com is kept separately.

Practical use cases

Link auditing. Paste a long blog post or marketing document and instantly see every external URL it references — useful for checking that no links are broken, outdated, or pointing to competitor sites.

Log analysis. Server and application logs are full of URLs buried in noise. Paste a chunk of log output and extract only the request or redirect URLs for quick inspection without writing a regex by hand.

Backlink research. Export a list of mentions from a media monitoring tool, paste the raw text, and turn on domain-only mode to get a clean list of the referring domains without the full paths.

Newsletter or email content review. Paste the HTML or plain-text body of an email and instantly verify every link before sending. The de-duplicate option makes it obvious whether any destination appears multiple times.

Research bibliography. Copy a Wikipedia article or research blog and extract all cited URLs to build a reading list quickly.

Output format tips

  • Use newline separation when pasting into a spreadsheet column or a redirect mapping file.
  • Use comma separation to paste directly into a tool that expects a comma-separated list of domains.
  • Turn on alphabetical sort when comparing two documents’ link lists side by side — sorted lists diff much more cleanly.

Everything runs in your browser — nothing is uploaded.