Extract URLs and Links From Text

Paste a document, an email, or scraped HTML and get every absolute link on its own line. Trailing punctuation is trimmed so the addresses can be pasted straight into a browser or a crawl tool.

This page is preset to Extract URLs. Paste your text, then run it with one press.

Input

Words
0
Characters
0
No spaces
0
Lines
0
Actions

Output

Words
0
Characters
0
No spaces
0
Lines
0

How to use it

  1. Paste the text or the HTML you want to audit.
  2. Press Extract URLs.
  3. Check the output for shortened or tracking links you want to drop.
  4. Copy or download the list.

What is matched

Only absolute links that begin with http:// or https:// are returned. Query strings and fragments are preserved, because they often carry the tracking parameters people are auditing for.

Punctuation that follows a link in a sentence, such as a comma, a period, or a closing bracket, is stripped from the end so it does not corrupt the address.

Relative links are skipped

A link like /pricing or ../docs is not an absolute URL and will not appear. If you need those, they have to be resolved against the page's base URL first, which this tool does not do.

Typical uses

Auditing outbound links in a draft, checking for stale domains before a migration, pulling citation URLs out of research notes, and separating links from prose before translation.

Frequently asked questions

Does it extract relative links like /pricing?

No. Only absolute http and https URLs are matched.

Are duplicates removed?

Yes. Each distinct URL appears once.

Are tracking parameters kept?

Yes, the full URL is preserved including the query string, so you can see and remove utm parameters yourself.

Related tools

Browse all text tools or open the full cleaner with every action.