ZapKit

URL Extractor

Paste text, a chat export or HTML source and get every link in it as a clean list, or just the unique domains.

What is a URL extractor?

A URL extractor scans text for web addresses and lists them. It's useful for collecting every link shared in a long group chat, pulling references out of a research document, auditing the links in an article or newsletter, or getting the list of pages from a page's HTML source.

This extractor recognises http and https links and ones beginning with www., trims punctuation that isn't part of the address, removes duplicates and can sort the list. Switching to domains only shows which websites are linked, one per line, without the individual pages.

How to extract all links from text

  1. 1.Paste the text or HTML

    Messages, documents, page source or a sitemap all work.

  2. 2.Choose links or domains

    Keep full URLs, or reduce them to the websites they point to.

  3. 3.Copy or download

    Deduplicate and sort first if you need a tidy list.

Example: links in a short paragraph

Text with a blog link ending a sentence, a www link, a Wikipedia link in brackets, an HTML link and a repeat:

Found
5
In the list
4
Kept bracket
https://en.wikipedia.org/wiki/URL_(disambiguation)
Trimmed
https://example.com/blog/post?id=42 without its full stop

Four unique links, each with sentence punctuation removed and its own brackets intact.

Clean ends on every link

Links in prose are often followed by a full stop, comma or closing bracket that isn't part of the address. Those are trimmed, but a bracket that belongs to the URL, as in many Wikipedia links, is kept because the link opens one too.

Links starting with www. are found even without http. In Domains only mode each link becomes its host name, such as shop.example.com, which is handy for checking which sites a document cites or auditing outbound links.

Frequently asked questions

Does it find links inside HTML?

Yes. Paste page source and links in href attributes and plain text are both picked up.

Will it find links without http?

Links starting with www. are found. Bare domains like example.com without www aren't, to avoid matching file names and sentences.

Can I get only the domains?

Yes. Set Show to Domains only and tick Remove duplicates for one line per site.

Does it open or check the links?

No. It only reads the text you paste; no link is visited.

More Utilities tools