Broken Link & Redirect Checker (Site Crawl or Sitemap)
Pricing
from $5.00 / 1,000 page crawleds
Broken Link & Redirect Checker (Site Crawl or Sitemap)
Crawl a website or sitemap.xml to find broken links (4xx/5xx), redirect chains, redirect loops, and insecure HTTP links on HTTPS pages. Respects robots.txt and lists every page where each broken link appears.
Pricing
from $5.00 / 1,000 page crawleds
Rating
0.0
(0)
Developer
Beryline Pastel
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 hours ago
Last modified
Categories
Features
Share
Find broken links, redirect chains, redirect loops and insecure http links on any website. Give it a start URL and/or a sitemap.xml; it crawls your pages with plain HTTP (no headless browser, so it is fast and cheap) and checks every link, image, stylesheet, script and canonical tag exactly once. Results are one clean row per problem link, with the list of pages where it appears, ready to export to CSV, Excel, JSON or Google Sheets.
What it finds
| Problem | Meaning |
|---|---|
broken | 4xx / 5xx response, DNS failure, connection error or timeout |
redirect-chain | 2 or more redirect hops before the final page |
redirect-loop | Redirects that never end |
http-on-https-page | An http:// link, image or script used on an https:// page |
redirect | A single 301/302/307/308 redirect on an internal link (update the link to the final URL) |
Checked: <a href>, <img src>, <link rel="stylesheet">, <link rel="canonical">, <script src>. Skipped: mailto:, tel:, javascript:, data: and #fragments.
Why use it
- Whole-site check from a sitemap or a start page. Same-host breadth-first crawl, up to your page limit.
- Every unique link is checked once, no matter how many pages contain it.
foundOnlists up to 20 pages,foundOnCountgives the total, so you know which broken link to fix first. - Full redirect chain for each redirecting link, with status code per hop and the final URL.
- Polite by design: honors
robots.txt(Disallow/Allow/Crawl-delayforUser-agent: *or this tool's own name), max 4 parallel requests per host, small delay between requests, honors429 Retry-After. Identifies itself with a configurable User-Agent. - You only pay for pages actually fetched. Pages that fail are free, and links checked are never charged.
Input
| Field | Description |
|---|---|
startUrls | Pages where the crawl starts (same host only) |
sitemapUrl | Optional sitemap or sitemap index; its pages are checked and crawled |
maxPages | Max HTML pages fetched per run (default 50) |
checkExternalLinks | Also check links to other sites (default true; external pages are never crawled) |
maxLinksPerPage | Process only the first N unique links per page (default 300) |
respectRobotsTxt | Skip pages disallowed in robots.txt (default true) |
concurrency | Total parallel requests (default 8; per host never above 4) |
requestTimeoutSecs | Per-request timeout (default 15) |
userAgent | User-Agent sent with every request |
{ "startUrls": ["https://example.com/"], "sitemapUrl": "https://example.com/sitemap.xml", "maxPages": 200, "checkExternalLinks": true }
Output (one row per problem link)
{"url": "https://example.com/old-page","status": 200,"problem": "redirect-chain","redirectChain": [{ "url": "https://example.com/old-page", "status": 301 },{ "url": "https://example.com/old-page/", "status": 302 }],"finalUrl": "https://example.com/new-page","foundOn": ["https://example.com/", "https://example.com/blog/"],"foundOnCount": 2,"linkType": "a","linkTypes": ["a"],"isExternal": false}
Broken links without a response carry status: null and an error such as dns: fetch failed or timeout: .... If a start URL itself cannot be fetched you get a row with status: "error".
A summary is saved to the key-value store as SUMMARY:
{ "pagesCrawled": 40, "linksChecked": 280, "brokenCount": 15, "redirectCount": 16, "problemLinks": 34,"byProblem": { "broken": 15, "redirect-loop": 2, "redirect-chain": 5, "http-on-https-page": 3, "redirect": 9 }, "skippedByRobots": 21 }
redirectCount = redirect, redirect-chain and redirect-loop rows. linksChecked = unique links checked.
Pricing
Pay per event: $0.005 per page crawled (one successfully fetched HTML page). 1,000 pages = $5, and that includes checking every link found on them. Failed pages are free. Set Max cost per run to cap spending; the actor stops crawling cleanly when the limit is reached and still reports the links it already found.
FAQ
Does it run JavaScript? No. It reads the HTML the server returns, so links added only by JavaScript are not seen. This keeps runs fast and cheap.
How long does it take? Roughly 10-15 links per second per site because of the polite per-host limits. A 30-page site with about 850 unique links takes a few minutes.
Why was a page skipped? Pages disallowed by robots.txt are neither crawled nor checked (counted in skippedByRobots). Turn off Respect robots.txt only for sites you own.
Why does a link work in my browser but show 403/429 here? Some sites (social networks, large retailers) block automated requests. Treat 403/429/999 on external links as "verify manually".
Does a link with a single redirect count as a problem? Only internal links (it is a cleanup recommendation). External single redirects are ignored. http:// links on https:// pages are always reported.
Limits
Same-host crawling only; no login, no forms, no JavaScript rendering; PDFs/images are checked but not parsed; at most 10 redirect hops are followed; HTML above about 3 MB is truncated.
Use with AI agents (MCP)
This Actor works as a tool for Claude, ChatGPT, Cursor and other MCP clients through the Apify MCP server:
https://mcp.apify.com?tools=beryline_pastel/broken-link-redirect-checker
Example prompt: "Crawl https://example.com and list all broken links and redirect chains."