Sitemap Link Checker: broken links, redirects and noindex avatar

Sitemap Link Checker: broken links, redirects and noindex

Pricing

from $0.50 / 1,000 url checkeds

Go to Apify Store
Sitemap Link Checker: broken links, redirects and noindex

Sitemap Link Checker: broken links, redirects and noindex

Extract every URL from your sitemaps (indexes, .gz, robots.txt discovery) and check status codes, redirect chains, noindex, canonicals and broken links. $0.50 per 1,000 URLs, half the price of the most-used broken-link checker.

Pricing

from $0.50 / 1,000 url checkeds

Rating

0.0

(0)

Developer

Rishad M

Rishad M

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 days ago

Last modified

Features

Limited permissions

Share

A cloud broken-link and redirect auditor. Give it a sitemap (or just your homepage) and get one row per URL with a clear verdict (ok, broken, blocked or skipped) and a plain-English reason, plus the HTTP status code, the full redirect chain, soft 404 detection, response time, noindex (meta robots and X-Robots-Tag), canonical and the sitemap's lastmod. Turn on the link crawl to also check every link on those pages and find broken links inside your content. Nothing runs on your computer or your server.

  • No false alarms from bot protection: a Cloudflare challenge, a 403 from a firewall or a 429 rate limit is reported as blocked ("likely fine in a browser, re-check by hand"), not as a broken link. Cloudflare, Akamai, Imperva, DataDome, PerimeterX, AWS WAF, Sucuri, Vercel and DDoS-Guard challenge pages are recognised by name.

  • Real broken links only in broken: 404, 410 and other 4xx, 5xx after retries, DNS failures, timeouts, TLS errors and redirect loops, each with a reason such as "404 Not found after 1 redirect".

  • Soft 404s flagged: pages that answer 200 but whose title or main heading says "page not found", and deep URLs that redirect to the homepage.

  • Reads any sitemap: sitemap indexes (nested), .xml.gz, plain-text sitemaps, and Sitemap: lines in robots.txt. Give a homepage and it finds the sitemap for you.

  • Every redirect hop recorded: see 301 → 302 → 200 chains, redirect loops, and redirects that end in a 404. Chains of 2+ hops, temporary (302/307) redirects, http → https redirects, https → http downgrades and sitemap URLs that redirect are flagged in issues.

  • SEO checks in the same pass: noindex pages that are still in your sitemap, and pages whose canonical points somewhere else.

  • Broken link crawl (one level): checks the links on each page, internal only or outbound too, and tells you which page each broken link was found on.

  • Fast and light: plain HTTP requests, no browser, so it runs in 256–512 MB.

  • Polite by default: respects robots.txt (including Crawl-delay), sends at most 2 requests per second per site by default, backs off automatically when a site answers 429 or 503, retries timeouts and 5xx errors with exponential back-off, and identifies itself with a clear user agent. It never tries to get around bot protection; it just tells you it was there.

What can you use it for?

Use caseHow
Find broken pages listed in your sitemapAdd the sitemap, filter statusCategory = broken (same as isBroken = true)
See which URLs couldn't be verified because of bot protectionFilter statusCategory = blocked, or open the Blocked and soft 404 checks view
Find soft 404sFilter soft404 = true
Fix sitemap entries that redirectFilter issues contains sitemap-url-redirects
Clean up redirect chains after a migrationLook at redirectCount > 1 in the Redirect chains and errors view
Find noindex pages that shouldn't be in the sitemapFilter noindex = true
Check canonicalsFilter canonicalIsSelf = false
Find broken links in your contentTurn on Also check links found on pages
Monitor a siteSchedule a daily or weekly run and get the SUMMARY record by webhook
Feed other toolsExport the 200 OK URLs to the Lighthouse Bulk Auditor or your own pipeline

How to use it

  1. Paste one or more sitemap URLs, for example https://www.example.com/sitemap.xml, or add your homepage under Start URLs.
  2. Set Max URLs to check. The default is 50 so a first run is quick; raise it for a full site.
  3. Optional: turn on Also check links found on pages to find broken links.
  4. Click Start. Download the results as JSON, CSV, Excel or HTML, or read them with the API.

Input

FieldDescriptionDefault
sitemapUrlsSitemaps, sitemap indexes, .gz sitemaps or robots.txt URLs["https://apify.com/sitemap.xml"] if you give neither this nor startUrls
startUrlsPages or homepages to check directly–
discoverSitemapsRead the sitemaps listed in each start URL's robots.txt (falls back to /sitemap.xml)true
maxUrlsCap on URLs from start URLs and sitemaps (shared fairly between several sitemaps)50
crawlLinksAlso check <a href> links found on checked pages, one level deepfalse
sameDomainOnlyOnly check links on the same host (www. ignored)true
maxLinkUrlsWith the link crawl on: cap on extra on-page link URLs, on top of maxUrls500
maxConcurrencyRequests in flight at once, across all sites10
maxRequestsPerSecondPerHostPer-site rate limit; slows down automatically on 429/5032
requestTimeoutSecsTimeout per request (each redirect hop)15
maxRedirectsLonger chains are reported as an error10
maxRetriesRetries for timeouts, connection resets, 429, 500, 502, 503 and 504, with exponential back-off (honours Retry-After)2

The sitemapUrls default is only used when you give neither field, so an empty run still works. If you only give startUrls, that example default is not used, even if the platform fills it in.

Example: check a whole site and every internal link on it.

{
"startUrls": [{ "url": "https://www.example.com/" }],
"maxUrls": 5000,
"crawlLinks": true,
"maxLinkUrls": 5000,
"sameDomainOnly": true
}

Output

One dataset row per URL. Real example from a test run against apify.com:

{
"url": "https://apify.com/alternatives/gmapsextractor-alternative",
"source": "sitemap",
"foundOn": null,
"sitemapUrl": "https://apify.com/sitemap/pages.xml",
"lastmod": null,
"robotsBlocked": false,
"statusCode": 308,
"finalStatusCode": 200,
"statusClass": "2xx",
"statusCategory": "ok",
"statusReason": "200 OK after 1 redirect.",
"isBroken": false,
"isBlocked": false,
"botProtection": null,
"soft404": false,
"soft404Reason": null,
"issues": ["sitemap-url-redirects"],
"finalUrl": "https://apify.com/alternatives/outscraper-alternative",
"redirectCount": 1,
"redirectChain": [
{ "url": "https://apify.com/alternatives/gmapsextractor-alternative", "statusCode": 308, "location": "https://apify.com/alternatives/outscraper-alternative" }
],
"redirectLoop": false,
"longRedirectChain": false,
"responseTimeMs": 28,
"contentType": "text/html; charset=utf-8",
"noindex": false,
"noindexSource": null,
"metaRobots": "robots: index,follow",
"xRobotsTag": null,
"canonical": "https://apify.com/alternatives/outscraper-alternative",
"canonicalIsSelf": true,
"linksFound": null,
"error": null
}

A bot-protected page looks like this instead: "finalStatusCode": 403, "statusCategory": "blocked", "botProtection": "Cloudflare", "statusReason": "Cloudflare bot protection answered 403 (a challenge or block page). Likely fine in a browser; re-check by hand. Not counted as broken."

FieldMeaning
sourcesitemap, startUrl, or page (a link found on a checked page)
foundOnFor links: the page that links to this URL
statusCode / finalStatusCodeFirst response (e.g. 301) and the status after all redirects
statusCategoryok, broken, blocked or skipped (see below)
statusReasonWhy, in plain English: "404 Not found after 1 redirect.", "No response: Timed out.", "Cloudflare bot protection answered 403..."
isBrokenstatusCategory = broken: 404/410/other 4xx, 5xx, or no response at all (DNS, timeout, TLS, connection refused, redirect loop or too many redirects)
isBlocked, botProtectionstatusCategory = blocked: the site refused an automated request (bot-protection challenge, 401, 403, 406, 429 or 999). botProtection names the vendor when it can be recognised
soft404, soft404ReasonA 2xx page whose <title> or first <h1> says not found, or a deep URL redirected to the homepage. Still ok, because it is a heuristic: check these by hand
issuesFlags: redirect-chain (2+ hops), redirect-loop, too-many-redirects, temporary-redirect (302/307), http-to-https-redirect, https-to-http-redirect, sitemap-url-redirects, soft-404, noindex-in-sitemap, canonical-elsewhere, canonical-http, bot-protection, rate-limited, login-required
redirectLoop, longRedirectChainThe redirects loop; the chain has 2 or more hops (redirectCount is the chain length)
redirectChainEvery hop: URL, status, and where it pointed
responseTimeMsNetwork time until the final response headers, summed over all hops
noindex, noindexSourcemeta, header (X-Robots-Tag), or both
canonical, canonicalIsSelfFrom <link rel="canonical"> or the Link header
robotsBlockedrobots.txt disallows this URL, so it was not requested
errorLow-level error when the check failed, or a note such as "Rate limited by the site (429)"

Verdicts: ok = the page loaded (2xx, possibly after redirects). broken = a real failure you should fix. blocked = the server would not answer an automated checker, so the link could not be verified; it usually works in a browser and is not counted as broken. skipped = not requested because robots.txt disallows it.

There is also a SUMMARY record in the key-value store with counts by verdict (categoryCounts), by issue flag (issueCounts), of 2xx/3xx/4xx/5xx/errors (by first and by final status, and brokenStatusCounts for broken URLs only), the number of broken, blocked, soft 404, redirect-loop and rate-limited URLs and redirect chains with more than one hop, noindex and non-self canonical counts, average response time, the sitemaps that were read (with any errors), and lists of the broken URLs, blocked URLs, soft 404s and long redirect chains (up to 200 each).

How much does it cost?

$0.50 per 1,000 URLs checked ($0.0005 per URL), plus a start fee of $0.00005 per run at the default memory (Apify's standard Actor-start event). Platform usage is included, so that is the whole bill: checking a 10,000-URL sitemap costs about $5.

You only pay for URLs that returned an HTTP response, whatever the status (a 404 is a useful result). URLs skipped because of robots.txt and requests that got no HTTP response at all (DNS failure, connection refused, timeout) are free. Set Maximum cost per run in the run options to cap your spend: the Actor checks as many URLs as that allows and stops cleanly. See the Pricing tab for the current price.

Good to know

  • robots.txt is always respected. If your own site blocks bots, allow the SitemapLinkChecker user agent for the paths you want checked. A robots.txt that returns a 5xx error means "don't crawl" (RFC 9309), so that site's URLs are skipped and marked robotsBlocked.
  • Pages are fetched with GET, never HEAD, because many servers answer HEAD wrongly (405, 404 or 403), which is a classic source of false broken links. Only HTML pages are read: the <head> and first <h1> (up to 512 KB) for meta robots, canonical and soft 404 checks, or up to 3 MB with the link crawl on; other files are closed after the headers. Refusal pages (403, 429, 503...) are read up to 32 KB to recognise bot protection.
  • No JavaScript rendering. Links added by JavaScript after the page loads aren't seen. Use a browser-based crawler for those.
  • Soft 404 and bot-protection detection are heuristics. They look at status codes, response headers, the page title and the first heading. Treat blocked and soft404 rows as "check by hand", not as final.
  • The link crawl is one level deep. Links found on pages are checked but not crawled further. Pages from your sitemaps and start URLs are checked first, then the links found on them, up to maxLinkUrls.
  • No personal data is collected. The Actor stores URLs, status codes and SEO headers only, never page text. mailto: and tel: links are ignored.
  • Only check sites you own or have permission to test, and keep the rate limit gentle on sites that aren't yours.

Further reading: How to find broken links from your sitemap.xml (and check every URL in it) and How to check a Shopify sitemap for broken links and 404s, step-by-step walkthroughs on dev.to.

FAQ

Can it check a sitemap with 50,000 URLs? Yes. Set maxUrls high enough. At the default 2 requests per second per site, 50,000 URLs on one site take about 7 hours; raise maxRequestsPerSecondPerHost on your own site to go faster.

Why is a 403 not marked broken? Most 403s on links to other sites come from bot protection (Cloudflare and similar) refusing automated checkers, while the page loads fine for people. Reporting those as broken is the most common complaint about link checkers, so they are blocked instead, with the reason and the vendor when known. If a 403 is on your own site, it is worth a look.

Why is a URL marked broken with no status code? The request failed before any response: DNS lookup, connection refused, TLS certificate problem, timeout, or a redirect loop. The error field says which.

Does it follow redirects to other domains? Yes, every hop is followed and recorded, up to maxRedirects. Loops and chains longer than maxRedirects are broken, with redirectLoop or the too-many-redirects issue set.

Can I run it on a schedule? Yes. Create a task with your input, add a schedule, and use a webhook or integration to get the SUMMARY record after each run.

Changelog

0.2 (November 2026): every row now has a verdict, statusCategory (ok, broken, blocked or skipped), with a plain-English statusReason. isBroken now means real failures only: rows answered with 401, 403, 406, 429 or 999, or a recognised bot-protection challenge, are blocked instead and no longer count as broken. If you filter on isBroken, expect fewer rows than before; filter statusCategory = blocked to see the URLs that couldn't be verified. Also new: soft 404 detection (soft404), redirect issue flags (issues, redirectLoop, longRedirectChain), and retries with exponential back-off for 500, 502 and 504.

Questions or a site that doesn't work? Open an issue on the Issues tab.