Skip to content
Link Checker
Learn

How to find broken links on your whole website

Updated October 13, 2026 · 6 min read · 7 sections

The broken links that cost you are rarely the ones you know about. They sit in old posts nobody rereads, in a footer link to a partner who closed, in a menu item that pointed at a page renamed during the last redesign. No single method finds them all, so I look from four directions and then fix in order of damage.

Which method finds which broken links

Each source sees a different slice of the site. Search Console sees what Google tried to fetch, a crawler sees what your pages link to, the sitemap shows what you claim exists, and the server log shows what real visitors actually hit.

Four ways to find broken links on a website
MethodFindsMissesCost
Search Console, Page indexing reportURLs Google requested and got 404, soft 404, 5xx or a redirect error, including URLs linked from other sitesYour outbound links to other sites; pages Google never crawledFree; needs a verified property; data lags by days
Desktop crawlerEvery internal and outbound link reachable from the home page, with the page it sits onOrphan pages; links that only appear after JavaScript runs, unless rendering is onFree tiers are capped (Screaming Frog's free version stops at 500 URLs)
Sitemap in the List or file tabDead domains, malformed and off-host entries, and which URLs answer at allLinks inside the pages; exact codes beyond 25 a dayFree; 200 URLs per run, in your browser
Server access logReal requests that ended in 404, with the page that sent themLinks nobody clicksNeeds log access

For one important page, add a fifth: open it in the link checker's Scan a page tab. You get every link on that page with its status, anchor text and rel, which none of the four methods above shows in one place.

Start with Search Console's Page indexing report

Open Indexing → Pages and scroll to "Why pages aren't indexed". The rows that matter for links are Not found (404), Soft 404, Redirect error and Server error (5xx). Click a row to see example URLs; the list is capped at 1,000 rows, so a large site may have more than you see (Search Console Help).

Not every 404 there needs work. Google finds URLs in old sitemaps, in links from other sites and in mistyped links from forums. Google's own advice is to fix the 404s that your pages link to or that appear in your sitemap, and to 301 a page that has moved. A 404 for a URL that never existed on your site is the correct answer; leave it.

Click the inspect icon next to a URL to see where Google found it ("Referring page" in URL Inspection). That is the page you edit. When the fixes are in, press Validate Fix; Google rechecks over roughly two weeks.

Check every URL in your sitemap

A sitemap should list only final, working URLs: no redirects, no 404s, nothing on another host. Open /sitemap.xml in your browser, save it, and load it with Open file in the List or file tab. The tool detects "Sitemap · N URLs" and applies the sitemaps.org rules before any request: every loc absolute, all on one protocol and host (each entry is compared with the first), under 2,048 characters, at most 50,000 per file, lastmod in W3C format such as YYYY-MM-DD. A sitemap index lists its child sitemaps; open each child and load it the same way.

Then press Check links. A run covers 200 URLs, so a sitemap of 1,180 URLs takes ceil(1,180 / 200) = 6 runs, the last one with 180 URLs. With 30 seconds between runs and at most 10 runs an hour, all six fit in a single hour.

Be realistic about what a browser sees on your own site. Unless your server sends CORS headers, most rows come back Answered (Unconfirmed): the server replied, but the browser hides whether it was 200 or 404. The sitemap run is strongest at catching dead domains, off-host and malformed entries and URLs that do not answer. For exact codes, spend the 25 daily Get exact status checks on the URLs you doubt, and lean on Search Console and a crawler for the rest.

Crawl the site with a desktop crawler

A crawler starts at your home page and follows every link, so it finds broken links exactly where they are. The column I care about is the list of pages linking to each broken URL ("inlinks" in most crawlers): a broken link in the footer shows up on every page, and one template edit fixes hundreds of them.

Three settings save trouble. Turn on checking of external links, which some crawlers skip by default. Lower the speed to one or two requests a second on shared hosting, so your own server does not start answering 503. And if your menus are built by JavaScript, switch on rendering, or the crawler will never see those links (Google also asks for real <a href> links: Google: crawlable links).

Read the 404s in your server log

Logs show what people and bots really requested. In the common "combined" format used by nginx and Apache, field 9 is the status, field 7 the path and field 11 the referrer. The 20 most requested missing paths:

awk '$9 == 404 {print $7}' access.log | sort | uniq -c | sort -rn | head -20

Swap $7 for $11 to see which pages sent people there. A missing path with your own domain as the referrer is a broken internal link; one with an outside referrer is a backlink worth a 301. Ignore the noise of /wp-login.php and .env probes; those 404s are correct.

Fix in order of damage

The order I fix broken links in
PriorityWhatWhy
1Broken links in the menu, header, footer or sidebarThey repeat on every page
2Old URLs with backlinks or visits that now return 404A 301 keeps the visitors and the links
3Broken links on your most visited pagesMost readers hit them
4Dead outbound referencesReplace or link an archived copy
5Internal links that go through redirectsLink the final URL; no visitor is lost, just time

The fixes themselves, from a 301 to an archived copy, are in how to fix broken links; choosing the redirect code is in 301 vs 302.

A routine that keeps links clean

Link rot never stops: Pew Research Center found that 38% of pages that existed a decade earlier were gone. A small routine beats a yearly panic.

  1. Weekly, 10 minutes: open the Page indexing report and look only at new Not found (404) and Redirect error rows.
  2. Weekly: filter the server log for 404s with your own domain as referrer.
  3. Before publishing a long article: paste its HTML into Scan a page and clear every Broken and Generic anchor row.
  4. Monthly: run a full crawl with external links on, and sort broken URLs by number of inlinks.
  5. After every migration or permalink change: load the old sitemap in List or file, then use Get exact status on the old URLs that matter most to confirm each one redirects in one hop.
  6. Every quarter: check the outbound links on your top pages and replace dead references with archived copies.

Questions and answers

How do I find broken links on my website for free?

Use Search Console's Page indexing report for the 404s Google sees, the free tier of a desktop crawler for links on your pages, and your sitemap in the List or file tab. Small sites can also scan their key pages one by one.

Why does Search Console show 404s for pages I never had?

Google follows links from other sites and old sitemaps, including mistyped ones. A 404 for a URL that never existed is the right answer and needs no fix.

How often should I check my site for broken links?

A quick look at new 404s every week and a full crawl every month is enough for most sites; always check right after a migration or URL change.

Can a browser tool check all my site's links?

It can audit the markup exactly and see which links answer, but a browser cannot read the status code of a site without CORS. Exact codes come from Microlink, 25 a day, so combine it with a crawler for big sites.

Try the Link Checker

Related reading