Link Extractor from URL
Extract all links from a web page — with anchor text, follow/nofollow and internal/external — then filter them and export to CSV.
0 links on
| # | URL | Text | Rel | Type |
|---|
No links match these filters.
Extract links from your code
This tool runs on the JsonLink Links API. One GET request returns every link on a page as JSON — for crawlers, SEO audits, broken-link checks and site maps.
Get free API keyRead the docs →curl "https://jsonlink.io/api/links?url=https://chaptergen.com&api_key=YOUR_API_KEY"
const res = await fetch(
`https://jsonlink.io/api/links?url=${encodeURIComponent(page)}&api_key=${process.env.JSONLINK_KEY}`
);
const { links } = await res.json();
const external = links.filter((l) => l.type === 'external');import requests
links = requests.get("https://jsonlink.io/api/links", params={
"url": page,
"api_key": JSONLINK_KEY,
}).json()["links"]{
"links": [
{
"url": "https://chaptergen.com/#main-content",
"text": "Skip to content",
"title": "",
"rel": "follow",
"type": "internal"
}
]
}Frequently asked questions
What does the link extractor do?
It extracts every link (URL) from a web page and tells you, for each one, its anchor text, title attribute, whether it is follow or nofollow, and whether it is internal or external.
What data does it return for each link?
The full URL, the anchor text, the title attribute, the rel status (follow or nofollow) and the type (internal or external).
Can it tell internal and external links apart?
Yes. Internal links point to the same domain as the page; external links point to other domains. You can filter the list by either.
Does it detect follow and nofollow links?
Yes, based on the rel attribute of each link. Use the nofollow filter to list only those.
Does it return the anchor text of each link?
Yes. The text column (and the text field in the API) holds the visible anchor text of every link.
Can I export the links?
Yes. Export to CSV downloads the filtered list with URL, text, title, rel and type, ready for a spreadsheet. Copy URLs puts just the URLs on your clipboard.
Is the link extractor free?
Yes. The online tool is free with a daily limit and no signup. For more, a free account includes 100 API credits every month; each extraction costs 1 credit.
Can it find links generated with JavaScript?
It tries to: pages that block simple requests are loaded in a headless browser. Links added only after user interaction may still be missed.
What kinds of links does it extract?
All standard HTML links (<a> tags) on the page, including http, https and other schemes such as mailto.
Does it work with pages behind a login?
No. It only works with publicly accessible pages.
Extract links at scale
100 free credits every month. 1 credit per page.