DuckyTools
Home Text Extract URLs

Extract URLs Text

Pull every link out of a block of text.

Extract URLs is a free online tool that pull every link out of a block of text. It runs entirely in your web browser using plain JavaScript, so files are processed on your own device and never uploaded to a server. There is no sign-up, no file size limit imposed by the site, no watermark and no paid tier.

Price
Free — no account, no quota, no watermark
Category
Text
Where it runs
In your browser, on your device
Files uploaded
None
Technology
plain JavaScript
Settings
1
Works offline
Yes, after the first visit

About Extract URLs

URLs are found by pattern and then validated by the browser's own URL parser, which is what makes the output trustworthy — anything the parser rejects is discarded rather than reported. The hard part of URL extraction is knowing where one ends: a trailing full stop is almost always sentence punctuation, but a trailing closing bracket may belong to the URL, as it does with many Wikipedia links.

How to use it

  1. Paste the text you want to run through extract urls.
  2. Set remove duplicates.

The one setting

SettingWhat it doesDefault
Remove duplicatesOn or off. On by default.On

Under the hood

Runs onplain JavaScript — runs the whole thing
ControlsRemove duplicates

Questions

Does it find URLs without http://?

Bare domains like `example.com` are matched where the context makes them unambiguous. Text such as "version 2.0" is deliberately not treated as a domain.

Can I get just the domains?

Yes — there is an option to output unique hostnames instead of full URLs, which is the quickest way to audit what a page links to.