URL Extractor: Extract All Links from a Web Page
Get every link from any web page for free. This URL extractor renders the page, splits internal and external links, drops duplicates, and exports CSV or TXT.
How do I extract all URLs from a web page?
- Enter the address of the page you want to read.
- Click Extract links. The page is rendered in a browser first, so links added by JavaScript are included.
- Switch between All, Internal, and External, or type in the filter box to narrow the list by URL or anchor text.
- Copy the URLs, or download them as a TXT file with one URL per line or a CSV file with the URL, anchor text, and link type.
Which links does the URL extractor find?
It reads every a and area element with an href in the rendered HTML, including navigation, footer, and in-content links. Relative paths are resolved against the page URL, or against the page's base element when it has one. Links that only jump within the page, and mailto:, tel:, and javascript: links, are skipped.
What counts as an internal link?
A link is internal when its host matches the page's host, its www version, or one of its subdomains. For a page on example.com, links to www.example.com and docs.example.com are internal, and links to example.org are external.
How do I find every URL on a website, not just one page?
One page only links to part of a site. To list all of a site's pages, use a sitemap extractor: the Context.dev Map URLs API reads a domain's sitemaps, or its homepage links when there is no sitemap, and returns up to 100,000 URLs in one call for 1 credit. The free sitemap generator does the same for one domain at a time and gives you an XML file.
How do I extract links with an API?
Send the page to the web scraping API and ask for HTML, then read the href attributes yourself. Or turn on the parse format with a CSS rule such as { "links": { "selector": "a", "type": "list", "output": "@href" } } and the API returns every link as a JSON array. CSS parsing adds no credits to the 1-credit scrape.
What can you use a link extractor for?
- SEO audits of internal links, outbound links, and anchor text
- Finding the pages to scrape next from a directory or listing page
- Checking navigation and footer links after a redesign
- Collecting every resource linked from a curated list or newsletter
- Reviewing which sites a page links out to
Frequently asked questions
Is the URL extractor free?
Are duplicate links removed?
Can I extract links from a page behind a login?
Does it find links added by JavaScript?
What is in the CSV export?
What is the difference between a URL extractor and a sitemap extractor?
Is the URL extractor free?
Does it find links added by JavaScript?
Are duplicate links removed?
What is in the CSV export?
Can I extract links from a page behind a login?
What is the difference between a URL extractor and a sitemap extractor?
More free tools
Keep exploring
- New
Sitemap Checker and Validator
Validate a sitemap and see URL count, lastmod coverage, and errors.
Map URLs API URL to Markdown Converter
Any webpage to clean GitHub Flavored Markdown, for docs, AI, or migrations.
Scrape API (Markdown)- New
Random User Agent Generator
Current, real browser user agent strings, one or in bulk.
Web Scraping API
Ship an agent that actually knows things.
Free tier, 10-minute integration, and the same API powering agents at Mintlify, daily.dev, and Propane. No credit card to start.