Broken Link Checker — find dead links on your website avatar

Broken Link Checker — find dead links on your website

Pricing

$1.00 / 1,000 page crawleds

Go to Apify Store
Broken Link Checker — find dead links on your website

Broken Link Checker — find dead links on your website

Crawl your website and find every broken internal and external link (404, 500, DNS errors, timeouts), with the page it appears on and its anchor text. Polite crawler: robots.txt respected, delay between requests, no proxy.

Pricing

$1.00 / 1,000 page crawleds

Rating

0.0

(0)

Developer

Mahé Perrin

Mahé Perrin

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

an hour ago

Last modified

Features

Limited permissions

Share

Give the address of your website. The Actor crawls its pages, tests every link it finds (internal pages, external sites and optionally images) and tells you which links are broken, on which page, with which anchor text, so you can fix them in minutes.

Broken means: HTTP 4xx or 5xx, DNS failure, refused connection or timeout. Redirects are followed and reported, not counted as broken.

A polite crawler, by design

  • robots.txt is always respected, for your site and for every external host it tests (RFC 9309, including Crawl-delay). A link that robots.txt forbids is reported as blocked_by_robots, never requested.
  • One request at a time per host, with a configurable pause (500 ms by default, 200 ms minimum).
  • Honest identity: requests carry the User-Agent OpenRegistryLinkChecker/0.1 with a link to this page. No browser imitation, no proxy rotation, no CAPTCHA tricks. If a site blocks the checker, the link is reported as it was answered.
  • Each link is tested once per run, even if it appears on hundreds of pages: HEAD first, then GET when the server refuses HEAD or answers with an error, to avoid false alarms.
  • Only the site you enter is crawled. External sites are tested link by link, never crawled.

Use it on websites you own or manage.

Typical uses

  • SEO maintenance: broken links waste crawl budget and hurt user experience. Run it monthly on a schedule.
  • Website migrations: check that no internal link points to an old URL after a redesign.
  • Content audits: find outbound links to sites that disappeared (linkType: "external").
  • Agencies: deliver a broken link report to a client in one run, as a table or JSON.

Input example

{
"startUrls": [{ "url": "https://www.example.com/" }],
"maxPages": 500,
"maxDepth": 4,
"checkExternalLinks": true,
"checkImages": false,
"delayMs": 500
}

Output

One row per crawled page (Output tab, view Pages):

FieldMeaning
url, finalUrl, statusCode, titlethe page and how it answered
depth, foundOnclicks from the start page, and the page where it was found
linksFound, linksCheckeddistinct links on the page, links tested
brokenCount, brokenLinksbroken links with url, statusCode, error, anchorText, linkType (internal, external, image), redirectedTo
redirectedLinks, blockedByRobots, linksNotCheckedlinks that redirect, links robots.txt forbids, links over your limit
allLinksevery link with its status, when includeAllLinks is on
errorwhy a page could not be fetched

A flat list of all broken links (one entry per link and page, with foundOn) is also saved in the key-value store record BROKEN_LINKS, linked from the run's Output tab: handy for a spreadsheet.

Sample page row:

{
"url": "https://www.example.com/blog/", "statusCode": 200, "title": "Blog", "depth": 1,
"linksFound": 84, "linksChecked": 84, "brokenCount": 2,
"brokenLinks": [
{ "url": "https://www.example.com/old-post", "statusCode": 404, "error": null, "anchorText": "Our 2019 guide", "linkType": "internal", "redirectedTo": null },
{ "url": "https://gone.example.org/", "statusCode": null, "error": "network error (ENOTFOUND)", "anchorText": "partner", "linkType": "external", "redirectedTo": null }
]
}

Limits to know

  • The crawler reads the HTML sent by the server. Links created only by JavaScript in the browser are not seen.
  • Some sites answer automated requests with 403 or 429 even when the link works for people. A 429 is not counted as broken; a 403 is reported as returned, check those by hand.
  • If your robots.txt cannot be reached (server error), nothing is crawled, as the standard requires. Fix robots.txt or the server first.
  • Very large sites: raise maxPages and maxLinksChecked; at 500 ms per request, expect about 5,000 requests per hour per host.

Pricing

Pay per page crawled: $0.001 per page ($1 per 1,000 pages). Link tests are included, whatever their number. Pages that never answered are not charged. Cap any run with maxPages or Apify's maximum charge per run.