Link extractor

Pull every URL out of a web page, or out of HTML and text you paste. Relative links are resolved, duplicates removed, and the list is ready to copy or download.

What gets extracted

From HTML, the extractor collects the href of every anchor element and resolves it against the page address (or the page’s <base href> if it has one), so ../pricing becomes a full URL. Fragments like #top are stripped from web links so the same page isn’t counted twice. From plain text it picks up any address starting with http:// or https://, trimming trailing punctuation so a URL at the end of a sentence comes out clean.

Need more than a list? Send the same URL to the link analyzer for status codes and follow status, or to the anchor text checker for the words people click.

Questions people ask

How do I extract all links from a webpage?

Choose “From a URL”, paste the address and press Extract. The tool reads the page’s HTML and lists every link, resolved to a full absolute URL. Download as CSV or copy the plain list.

Can I extract URLs from text or HTML I already have?

Yes. Choose “Paste HTML or text”. It finds every <a href> in HTML and every http(s) address in plain text, entirely in your browser; nothing is uploaded. Set a base URL so relative links like /about resolve correctly.

Does it get links added by JavaScript?

From a URL, no: it reads the HTML the server sends. To capture JavaScript-rendered links, open the page in your browser, open developer tools, copy the rendered HTML from the Elements panel and paste it in the second tab.

Is there a limit?

From a URL, the first 1,000 links on a page (pages up to 1.5 MB). Pasted content is processed on your device with a limit of 5,000 links.

More link tools on this bench