Extract every link from HTML or text
Paste page source or any text. You get each URL with its anchor text, with relative links resolved and duplicates removed. What you paste stays in your browser.
Results appear here as you paste.
Runs in your browser. Nothing you paste is uploaded.
How to use it
- 1
Open the page, press Ctrl+U (⌘+Option+U on a Mac) to view its source, then select all and copy. Any text that contains URLs works too.
- 2
Paste it into the box. If links start with / (relative links), enter the page address so they become full URLs.
- 3
Copy the list, or download a CSV with the anchor text in a second column.
Frequently asked questions
Short answers to what people usually ask before installing.
Can I enter a website address instead of pasting HTML?
No. The tool runs only in your browser and doesn't fetch pages, so nothing is sent to a server. To get links from a live page, view its source and paste it here, or use the DataLens extension, which reads the page you have open.
Which links does it find?
Every <a href> in the HTML, plus plain-text URLs that are not wrapped in a link, such as an address written in a paragraph. It skips mailto:, tel: and javascript: links, and links that only jump within the same page (#section).
Why do some links show up as /path instead of a full URL?
Those are relative links. Enter the page address in the "Page URL" field and they are turned into full URLs.
Can I keep only links to the same website?
Yes. Tick "Same site only" and links to other domains are dropped. The site is taken from the page URL you entered, or from the first full link if you left it blank.
Is there a size limit?
No fixed limit. Everything runs in your browser, so a few megabytes of HTML is fine on a normal laptop.
More free tools
Other small tools for extracting and cleaning web data. All run in your browser.
DataLens