Buzzmatic

Crawling and Indexing: How Google Discovers and Stores Pages

For a page to rank, Google first has to find it and add it to the index. This deep dive shows the technical mechanisms behind that – from robots.txt to the canonical tag.

Intermediate8 min readLast updated: July 20, 2026

What you will learn

  • How crawlers systematically search the web and find new URLs
  • How to steer crawlers deliberately with robots.txt
  • What happens with crawl budget and which obstacles slow crawlers down
  • How Google analyzes, renders and adds crawled pages to the index
  • How to control indexing with meta tags and canonical tags

Why crawling and indexing are the foundation

For a page to appear in the search results at all, Google has to clear two hurdles: it has to be found (crawling) and added to the index (indexing). Without this first step, every further SEO measure is futile – a page Google doesn't know about can't rank.

This article is the technical deep dive following on from the overview How search engines work. There you get the big picture of the three phases: crawling, indexing and ranking. Here we go deep into the first two: how crawlers work, how you steer them, and how a page gets into the index – or doesn't.

Crawling: the bots' journey of discovery

Crawling is the process by which search engines search the web for content. This is done by automated programs – the crawlers (also spiders or bots). The best known is the Googlebot. Their job: to find new and updated web pages, images, videos, PDFs and other files.

How crawling works in practice

The process follows four steps:

  1. Starting point: Crawlers start from known URLs or from addresses submitted via the Google Search Console. An XML sitemap is especially valuable here, because it provides a structured list of the important URLs.
  2. Following links: Just as a user clicks from link to link, the crawler follows the hyperlinks. Every newly discovered URL is added to the queue.
  3. Fetching content: On a page, the crawler downloads HTML code, text, images, metadata and other elements.
  4. Initial analysis: The information is prepared for the next step – indexing.

Steering crawlers: robots.txt

Through the file robots.txt in the root directory of a website (e.g. yourdomain.com/robots.txt), you give crawlers instructions about which areas they may visit and which not:

  • User-agent: * applies to all bots.
  • Disallow: blocks access to the named directories.
  • User-agent: Googlebot targets the Googlebot specifically.
  • Allow: explicitly permits access, even if a parent folder is blocked.
  • Sitemap: points to the location of the XML sitemap.

Important: the robots.txt is only a guideline. Reputable crawlers stick to it, malicious bots often ignore it. Sensitive areas therefore additionally belong behind password protection. And a faulty configuration can accidentally exclude important pages from crawling – a common, costly mistake. More on this under Robots.txt.

Crawl budget: efficiency counts

Search engines don't have unlimited resources. The crawl budget describes the number of URLs a bot crawls on a website before it leaves. For large websites with thousands or millions of pages, optimization becomes important: the crawler should not waste its time on unimportant pages (such as filter or sort URLs in online shops), but find the relevant content. Through a clean robots.txt and a good site structure, you use the budget efficiently. For small websites, crawl budget is usually not a bottleneck.

Common obstacles for crawlers

Sometimes crawlers don't reach all content. Typical reasons:

  • Login-protected areas: Content behind login forms is invisible to crawlers.
  • Search forms: Crawlers can't run internal searches – important content has to be reachable via normal links.
  • Non-textual formats: Text in images or videos is hard to read out. Important content belongs in the HTML code.
  • Faulty navigation: Purely JavaScript-based menus without a fallback can prevent all pages from being discovered.
  • Technical errors: If the server reports 404 ("not found") or a 5xx server error, the crawler can't process the page.

Indexing: organizing knowledge

After successful crawling comes indexing. Not every crawled page automatically lands in the index – Google first checks whether it is relevant and high-quality enough. You can picture the index like the catalog of a gigantic library.

The journey of a URL into the index: the quality check decides Thin Content Duplicate noindex YES NO CRAWLED RENDERING QUALITY CHECK INTO THE INDEX FILTERED OUT

On the way into the index, a quality check decides whether a URL is included.

How indexing works

  • Content analysis: Google breaks down the page content – text, headings, meta tags (title, description), images including alt texts, and the structure – to understand topic and context.
  • Rendering: Modern pages are often rendered, i.e. displayed similarly to a browser. Google executes JavaScript and interprets CSS to see how the page looks to users. This step costs more computing power and often happens with a delay after crawling.
  • Quality assessment: Pages with very little content ("thin content"), duplicate content or policy violations may not be included.
  • Storage: If the page is classified as relevant, the extracted information along with the URL lands in the index – together with signals for later ranking.

Steering indexing: meta tags

Just as the robots.txt steers crawling, you influence indexing via meta tags in the <head> of a page (or via the HTTP header using X-Robots-Tag). The most important directives:

  • `index` / `noindex`: Determines whether the page should go into the index. A noindex page is crawled but does not appear in the results – ideal for internal search result pages or print versions.
  • `follow` / `nofollow`: Determines whether the crawler follows the page's links and passes on link authority.
  • `noarchive`: Prevents a cached copy from being shown – sensible for frequently changing content like prices.

An example of a meta robots tag:

This tag instructs search engines not to index the page, but to follow the links on it. Important: For the instruction to take effect, the page must not be excluded from crawling via robots.txt – the crawler has to be able to visit it to read the tag in the <head>. The X-Robots-Tag in the HTTP header offers more flexibility, for example to exclude PDFs from indexing or to set rules for entire directories.

Duplicate content: the canonical tag

Sometimes the same content is reachable via several URLs – through print versions, session IDs or parameters. This confuses search engines. The canonical tag (rel="canonical") in the <head> points to the preferred URL version:

With this you signal: "Even though this content exists under several URLs, this one here is the version that should be indexed and shown."

Removal from the index

Pages can also drop out of the index again. Reasons include an error status (4xx/5xx), a noindex tag set afterwards, a manual penalty for a policy violation, or newly set-up password protection. With the Search Console's URL inspection tool you check the status of individual URLs and request re-indexing if needed.

The role of the Google Search Console

The Google Search Console is the free, indispensable tool for keeping an eye on crawling and indexing:

  • Index coverage report: shows which pages are indexed, which errors occurred and why certain pages are missing.
  • URL inspection tool: checks the crawling, indexing and rendering status of a single URL.
  • Sitemap submission: helps Google find all important pages.
  • Error reports: report crawling errors like 404s or server errors.

Conclusion

Crawling and indexing are the mechanisms with which Google discovers, understands and organizes the web. Only when both work smoothly does a page have the chance to rank. With clean technology, a clear structure, high-quality content and the targeted use of robots.txt, meta tags, canonical tags and sitemaps, you help search engines capture your content optimally. That is the basis of every successful SEO strategy – and the prerequisite for the signals described in the article Ranking factors to take effect at all.

FAQ

Frequently asked questions

Crawling is the discovery and download of a page by the crawler. Indexing is the subsequent analysis and storage in the index. A page can be crawled without being indexed.

No. The robots.txt controls crawling, not indexing. A page blocked via robots.txt can, in exceptional cases, still be indexed (for example via external links). To reliably prevent indexing, you use a noindex tag – and must then not block the page via robots.txt, otherwise Google can't read the tag.

For small and medium websites, usually not. Only for very large websites with thousands or millions of pages is it worthwhile to actively optimize crawl budget via structure and robots.txt.

Most reliably via the Google Search Console's URL inspection tool. A quick clue comes from the search site:yourdomain.com/page directly on Google.

Quiz

Test your knowledge

Five questions on crawling, indexing and how to steer them.

Question 1 of 5

What is robots.txt responsible for?