Skip to content
hateitall

URL Extractor

Get every link out of notes, emails, chat logs or page source, without the full stops and brackets that usually stick to them.

Processed locallyIn: Text, HTML source, MarkdownOut: List, TXT, CSV

Loading tool…

How to use url extractor

  1. Paste the text, Markdown or HTML source.

  2. Choose Full links or Domains only.

  3. Remove duplicates and sort as you like.

  4. Copy the list or download TXT, or CSV with a domain column.

What this tool does

  • Finds links starting with http://, https://, ftp:// or www.
  • Strips trailing . , ; : ! ? quotes and Markdown emphasis from the end of each link.
  • Drops a closing bracket only when the link has no matching opening one, so Markdown links come out clean and Wikipedia links like Mercury_(planet) stay whole.
  • Checks each link with the browser's URL parser and flags any that do not parse.
  • Domains only mode lists each site once, without www.

How the result is verified

Every match is parsed with the browser's own URL parser and flagged if it fails. A test checks punctuation and bracket cleanup on sentence ends, parentheses, Markdown links and Wikipedia-style paths.

Frequently asked questions

Why does my link not end with the full stop from my sentence?

Sentence punctuation is removed from the end of every link, because a URL very rarely ends in a full stop, comma, colon or quote, and keeping it breaks the link. Punctuation inside the link is kept.

Can I paste HTML?

Yes. Links in href attributes are found because quotes and angle brackets end a match. Relative links such as /about have no host and are not listed.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Strip utm_, fbclid, gclid and other trackers, and unwrap redirect links

URL · Text→ URLLight on device

Break a URL into scheme, host, port, path, query and fragment

URL→ ReportLight on device

Find, dedupe and export email addresses, including written-out ones

Text · Email headers · HTML source→ ListLight on device

Find, count and export hashtags in any language

Text→ ListLight on device

Pull every match or capture group into a list, deduplicated and sorted

Text · Regex→ TextLight on device