Free to explore: filter winning sites by DR, traffic and niche  ·  Try the live explorer →

What is a web crawler?

A spider web in morning light

What is a web crawler? Google’s own definition is the cleanest: “Crawler (sometimes also called a ‘robot’ or ‘spider’) is a generic term for any program that is used to automatically discover and scan websites.” Googlebot is one. So is the auditing tool you run on your own site, the bot an AI company uses to collect training data, and the scraper copying your prices.

The useful questions for an SEO are narrower than the definition. How does a crawler find your URLs? Which crawlers obey your robots.txt? And how do you tell a real search engine crawler from something pretending to be one? Those three answers decide most of what you can control.

How web crawlers find websites

A crawler cannot visit a page it does not know exists. Google’s “How Search works” documentation describes three routes to new URLs: pages it has already crawled, the links found on those pages, and sitemaps that site owners submit. Everything else is a variation on those.

A robot toy on a desk

In practice the process is a loop. The crawler takes a URL from its queue, fetches it, extracts the links, adds any new ones to the queue, and moves on. Pages that are linked from many known pages get found quickly. Pages linked from nowhere get found only if they appear in a sitemap, and even then they are fetched with less urgency.

That is why internal linking matters before any ranking question arises. An orphaned page is not penalised; it is simply hard to find. A page buried six clicks deep is found, but later and less often. If you want the fuller picture of where crawling sits relative to indexing and ranking, our guide on crawlability vs indexability separates the two steps.

Sitemaps are the backstop, not the main route. A sitemap tells a crawler that a URL exists and, if you keep the dates honest, when it last changed. It does not tell the crawler the page matters. Links do that, because a page that many of your own pages point to is visibly part of the site. Use the sitemap to cover what links might miss, such as new pages and deep archive URLs, and our guide to XML sitemaps covers what to include.

Server racks with lights

Crawlers also decide how fast to fetch. A search engine crawler will slow down if your server responds slowly or returns errors, and speed up when it responds well. On a small site this rarely matters. On a site with hundreds of thousands of URLs it becomes the question of crawl budget.

Google’s three types of crawler

Google’s overview of Google crawlers and fetchers sorts its own bots into three categories. The split is worth knowing because the categories behave differently around robots.txt.

CategoryExamplerobots.txt behaviourWhen it runs
Common crawlersGooglebot“Always respect robots.txt rules for automatic crawls”Automatically, to build Google’s index
Special-case crawlersCrawlers for specific Google productsMay ignore robots.txt in some conditionsWhere there is an agreement between the site and the product
User-triggered fetchersGoogle Site VerifierRun at a user’s request rather than automaticallyWhen a user asks for the fetch

The practical reading: if you block Googlebot in robots.txt, it will respect the rule. If you see a Google fetcher in your logs that does not seem to, check which category it belongs to before assuming something is wrong. A user-triggered fetch, such as verifying ownership of a property, is a person acting through Google, not Google crawling on its own schedule.

Library bookshelves

Not every web crawler plays by the same rules

robots.txt is a request, not a lock. Well-behaved crawlers read it before fetching and follow it. Badly behaved ones ignore it, and nothing in the file can stop them. Our guide to robots.txt for SEO covers the syntax; the point here is that the file only governs crawlers that choose to honour it.

Outside the search engines, the crawler population is mixed. There are SEO tools building link and keyword indexes, monitoring services checking uptime, AI companies collecting training data, and scrapers with no interest in your rules at all. If you want to control the AI bots specifically, the options and their limits are in our post on how to block AI crawlers.

Network cables in a switch

The received wisdom is that blocking a crawler in robots.txt keeps a page out of search. It does not. robots.txt controls crawling, not indexing. A blocked URL can still appear in results if other pages link to it, just without a description. If the goal is to keep a page out of the index, it has to be crawlable so the crawler can see a noindex directive.

How to verify a crawler is really Google

Any program can send a user-agent string that says Googlebot. Scrapers do it precisely because many sites treat Googlebot generously. Google’s documentation lists three things to check: the user-agent header, the source IP address, and a reverse DNS lookup on that IP.

The user-agent is the weakest signal, because it is self-declared. The IP and reverse DNS are what settle it. A reverse lookup on a genuine Google crawler’s IP resolves to a Google-owned hostname, and a forward lookup on that hostname returns the same IP. On a Linux server, the check looks like this:

# 1. Reverse lookup on the IP from your logs
host <source-ip>
# returns a hostname; confirm it belongs to Google

# 2. Forward lookup on that hostname
host <returned-hostname>
# should return the original IP
A developer reading logs

You will rarely need to do this by hand. Most server security tools and CDNs can verify search engine crawlers automatically. The manual check is for the moment you see a “Googlebot” hammering your server at an odd rate and want to know whether to block it. Our breakdown of the Googlebot user agent lists the strings you will see in logs, and log file analysis shows how to read them at scale.

A security gate at an entrance

What crawling tells you, and what it does not

Crawling is the first step, not a verdict. A page that has been crawled has been fetched; it has not necessarily been indexed, and being indexed says nothing about where it ranks. Search Console reports such as “Crawled, currently not indexed” exist precisely because the gap between those steps is wide.

The limitation worth stating plainly is that you can observe crawlers but not their priorities. Your server logs show which URLs a crawler fetched and when. They do not show why it chose those URLs, how it ranked them in its queue, or what it decided after the fetch. Treat log patterns as evidence of behaviour, not as a readout of the crawler’s reasoning.

What you can control is simple: make important pages easy to find through links and sitemaps, keep the server fast and error-free, write robots.txt rules you actually mean, and verify any crawler before you trust or block it.

Frequently asked questions

What is a web crawler in simple terms?

A program that visits web pages automatically, reads them and follows their links to find more pages. Search engines use crawlers to discover content to index.

How do web crawlers find websites?

Google describes three routes: pages it has already crawled, links found on those pages, and sitemaps submitted by site owners.

Do all crawlers obey robots.txt?

No. Google says its common crawlers such as Googlebot always respect robots.txt for automatic crawls, but special-case crawlers may not in some conditions, and many third-party bots ignore it.

Is a crawler the same as a spider or a bot?

Yes. Google notes that a crawler is sometimes also called a robot or a spider; the terms describe the same kind of program.

The takeaway A web crawler discovers pages through links and sitemaps. Make important URLs easy to reach, remember robots.txt only binds crawlers that honour it, and verify Googlebot by IP and reverse DNS, not by its user-agent.