Link Extractor

Extract all URLs and links from any text instantly into a clean list — free link extractor.

About

About the Link Extractor

Paste any block of text — an article, a chat export, a pile of notes — and get every link pulled out as a clean list. It only matches a link when it starts with http:// or https://, so bare domains without a scheme aren't caught here — use the domain extractor for those instead.

Researchers and writers use it to collect every source linked in an article or document, and site owners use it to list the links in a page's HTML source before checking them. It's one of many free text tools on Toolapt, and like every tool here, it's free to use with no sign-up and no limit on how much text you scan.

Choose what to view about this tool

Guide

Using the Link Extractor

  1. 1

    Step 1

    Links is already selected below as the type to find.

  2. 2

    Step 2

    Paste your text into the input box.

  3. 3

    Step 3

    Click Extract to see every matched link listed below, entirely in your browser.

  4. 4

    Step 4

    Copy the list with the Copy button, then de-duplicate if needed.

  • Finds every link that starts with http:// or https://, including paths, query strings and #anchors
  • Works on plain text and raw HTML alike, pulling links out of href and src attributes
  • Removes duplicate links by default, so each URL is listed once
  • Can sort links alphabetically, which groups links from the same site together
  • Can separate links with commas instead of one per line
  • Works entirely in your browser — nothing you paste is uploaded, and no link is ever visited

Researchers

Researchers use the Link Extractor for collecting every source cited in an article, report or set of notes.

SEO specialists

SEO specialists use the Link Extractor for listing every outbound link in a page's HTML source.

Content editors

Content editors use the Link Extractor for checking which links a draft or newsletter contains before it goes out.

Community moderators

Community moderators use the Link Extractor for pulling the links out of a chat or forum export to review them.

Extract something else

Examples

Link Extractor examples

4 worked examples

01

Links inside a paragraph

Paste "Check https://example.com and http://sub.test.org/page?x=1 today." and Find returns 2 links: https://example.com and http://sub.test.org/page?x=1.

02

Bare domain ignored

Paste "Visit example.com or https://example.com" and only 1 link is found — example.com has no scheme, so it's skipped.

03

Links inside HTML source

Paste <a href="https://toolapt.com/faq">FAQ</a> and Find still pulls out https://toolapt.com/faq from inside the attribute.

04

Trailing punctuation

"Docs: https://example.com/docs." extracts https://example.com/docs. with the final full stop attached — trim it before using the link.

FAQ

Frequently asked questions

Quick answers to common questions about the Link Extractor.

How do I extract links from text?

Paste your text above, make sure "Links" is selected as the type, then click Extract. Every matched URL is listed below — nothing is uploaded anywhere.

Is this link extractor free?

Yes. It's free, with no sign-up and no limit on how much text you scan.

Does it catch bare domains without http:// in front?

No — links are matched only when they start with http:// or https://. For text mentioning a bare domain like "example.com" with no scheme, use the dedicated domain extractor instead.

Does it work on HTML source, not just plain text?

Yes — paste raw HTML and it'll still find every http:// or https:// link inside attributes and text alike, since it matches on the URL pattern itself, not the surrounding markup.

Can I extract email addresses or domains instead?

Yes — the same tool also finds emails, domains, numbers, hashtags/mentions and IP addresses. Switch the type dropdown, or use one of the dedicated extractor pages below.

Is my text uploaded anywhere?

No. Extraction runs entirely in your browser — nothing is sent to a server.

Why does a link sometimes end with a full stop or comma?

A link ends at the next space, quote, angle bracket or closing parenthesis, so punctuation written straight after a URL — like the full stop in "visit https://example.com." — stays attached. Check links at the end of sentences and trim that last character if needed.

Can I extract links from a PDF or Word document?

Copy the document's text and paste it in; for a PDF, the PDF Text Extractor can pull out all the text first. Only links written out as text are found — a link hidden behind words like "click here" isn't part of the copied text.

Can I sort the links or list each one only once?

Yes. "Remove duplicates" is on by default, and "Sort results" puts the links in alphabetical order, which groups links from the same site together.

Does it check whether the links still work?

No. It only finds text that looks like a link and never visits any of them, so nothing is sent to those sites. Open the links yourself, or use a dedicated link checker, to find broken ones.

Still have a question? Contact us