Type a question into Google and a ranked page of answers appears in well under a second. It feels instant, but that result is the final step of a process that started days, weeks or months earlier, when a crawler first found the pages now being shown to you.
Understanding that process is the foundation of SEO. Almost every technical fix, content decision and link-building tactic maps to one of three stages: getting pages crawled, getting them indexed, and getting them ranked. If you know which stage is failing, you know what to fix.
This guide explains how search engines work in 2026, using Google as the main example because it publishes the most detailed documentation. You will learn what happens at each stage, which systems Google uses to understand meaning, and how AI features fit into the picture.
Key Takeaways
- Search engines work in three stages: crawling (finding and fetching pages), indexing (understanding and storing them) and serving (ranking results for a query).
- Google does not crawl every URL it discovers, does not index every page it crawls, and does not guarantee rankings.
- During indexing, Google groups duplicate pages and picks one canonical URL to show.
- Ranking weighs meaning, relevance, quality, usability and context, using systems such as BERT, RankBrain and neural matching.
- You cannot pay Google to crawl or rank your site organically; you earn it with accessible, helpful pages.
The Three Stages at a Glance
| Stage | What happens | What can go wrong | Where to check |
|---|---|---|---|
| Crawling | Crawlers discover URLs and download pages, then render JavaScript | Blocked by robots.txt, server errors, no links to the page, login walls | Crawl Stats report, server logs |
| Indexing | Content is analysed, duplicates clustered, a canonical chosen and the page stored | Low-quality or duplicate content, noindex tags, soft 404s | Page indexing report, URL Inspection |
| Serving and ranking | Relevant indexed pages are ranked and displayed for a query | Weak relevance, low quality, poor intent match, strong competition | Performance report, rank tracking |
Google is clear that money does not shortcut this pipeline:
“Google doesn't accept payment to crawl a site more frequently, or rank it higher.”
— Google Search Central, In-depth guide to how Google Search works
Stage 1: Crawling
There is no central registry of web pages, so search engines have to keep finding them. Google's How Search works guide describes this as URL discovery: Google learns about URLs from pages it already knows (through links), from sitemaps submitted by site owners, and by revisiting known pages to check for changes.
A program called a crawler (Google's is Googlebot) then fetches the pages. An algorithm decides which sites to crawl, how often and how many pages to fetch, and it is careful not to overload servers. Crawling can fail when robots.txt rules block a URL, when the server returns errors, or when content sits behind a login.
Google also renders pages, running JavaScript the way a browser would:
“During the crawl, Google renders the page and runs any JavaScript it finds using a recent version of Chrome.”
— Google Search Central, In-depth guide to how Google Search works
Rendering can be queued, so JavaScript-heavy pages may take longer to be fully understood, as Google's JavaScript SEO basics explains. For a deeper look at the crawler itself, read our guide on how Googlebot works; server speed matters too, as covered in how web hosting affects SEO.
How to help crawling
- Link to every important page from somewhere on your site; avoid orphan pages.
- Submit an accurate XML sitemap in Search Console.
- Keep servers fast and stable, and do not block CSS or JavaScript.
- For engines that support it, such as Bing, use IndexNow to notify them of changes.
Stage 2: Indexing
After fetching a page, Google tries to understand what it is about. It processes the text, key HTML elements such as the <title> element and alt attributes, and images and videos. It also records signals about the page, such as its language, the country it is relevant to and how usable it is.
A crucial part of indexing is canonicalisation. Google groups pages with the same or very similar content into a cluster and picks the most representative one as the canonical, which is the version usually shown in results. Its canonicalization documentation explains that redirects and rel="canonical" are strong signals in that choice and sitemap inclusion is a weak one.
Indexing is not guaranteed. Pages may be left out because the content is low quality, because a noindex tag excludes them, because they look like errors, or because the site's design makes indexing difficult. Our guide to "Crawled – currently not indexed" covers one of the most common statuses.
From strings to things
Modern indexing is not just a list of words. Google maintains a Knowledge Graph of real-world entities (people, places, organisations, concepts) and the relationships between them, which lets it connect pages to the things they discuss. Our guide to entity SEO explains how to make your brand legible to that system.
Stage 3: Serving and Ranking
When someone searches, Google looks through its index for matching pages and returns the results it believes are most relevant and highest quality. Google's public ranking results explainer groups the factors into five areas:
| Factor | What it means | What you can do |
|---|---|---|
| Meaning of the query | Understanding intent, spelling, synonyms and language | Match search intent and use natural language |
| Relevance of content | Whether the page contains information that matches the query | Cover the topic thoroughly with clear headings |
| Quality of content | Signals of expertise, authoritativeness and trustworthiness, including links from prominent sites | Publish original, people-first content and earn citations |
| Usability | Page experience, mobile-friendliness, accessibility, speed | Improve Core Web Vitals and mobile layouts |
| Context and settings | Location, past search history and search settings | Optimise local signals and relevant language versions |
“Our systems understand the words and intent are related and so connect you with the right content.”
— Google, How Search works: Ranking results
Google says it also uses aggregated and anonymised interaction data to assess whether results are relevant to queries.
The ranking systems behind the scenes
Google's guide to its ranking systems lists the named systems that contribute to ranking. A few of the best known:
- RankBrain helps Google understand how words relate to concepts, so it can return relevant pages that do not contain the exact query words.
- Neural matching helps match representations of concepts in queries and pages.
- BERT helps Google understand how combinations of words express different meanings and intent.
- Passage ranking identifies individual sections of a page to judge how relevant the page is.
- Helpful content, originally a separate system announced in 2022, became part of Google's core ranking systems in March 2024.
Google described how these AI systems evolved in a 2022 post by Pandu Nayak. This is why semantic SEO, writing for meaning rather than exact keywords, works better than repeating phrases.
Search features and AI results
Results pages are no longer ten blue links. Depending on the query, Google may show AI Overviews, featured snippets, People Also Ask boxes, local packs, images, videos or shopping results, and users can switch to the conversational AI Mode. These features draw on the same crawled and indexed content, which is why the fundamentals still apply. Our guides to AI Overviews SEO and Google AI Mode explain the differences.
How to Use This Knowledge: A Diagnostic Process
- Check discovery. Is the URL linked internally and listed in your sitemap?
- Check crawlability. Use URL Inspection to confirm Google can fetch it, and that robots.txt allows it.
- Check rendering. View the tested page's screenshot and HTML; is the main content visible?
- Check indexing. Is the page indexed? If not, which reason does Search Console give? Is another URL chosen as canonical?
- Check relevance and intent. Compare your page with what currently ranks for the target query.
- Check quality and authority. Is the content original, expert and supported by links and mentions?
- Check usability. Test mobile layout and Core Web Vitals.
Common Mistakes
- Assuming "published" means "indexed". Always confirm with URL Inspection or the Page indexing report.
- Blocking pages in robots.txt to remove them. That stops crawling, not indexing; use noindex.
- Writing for exact-match keywords. Systems such as BERT reward clarity and topical depth over repetition.
- Ignoring duplicates. Many URL variants dilute signals and make canonical selection unpredictable.
- Believing myths. Google's starter guide states it does not use the keywords meta tag, and paying for ads does not improve organic rankings.
Related Guides
- Google Search Operators: The Complete Cheat Sheet
- SEO A/B Testing: How to Run Split Tests That Mean Something
- Entity SEO: How Google Understands Things, Not Strings
Frequently Asked Questions
What are the three main functions of a search engine?
Crawling (discovering and fetching pages), indexing (analysing and storing them) and serving or ranking (choosing and ordering the most relevant results for each query).
Does Google index every page it crawls?
No. Google says indexing is not guaranteed. Pages may be excluded for low quality, duplication, noindex directives or technical problems.
How does Google decide rankings?
It considers the meaning of the query, the relevance and quality of content, the usability of pages and context such as location and settings, using many automated ranking systems.
Can I pay Google to rank higher organically?
No. Google states it does not accept payment to crawl a site more frequently or rank it higher. Paid ads are separate and labelled.
How long does it take for a new page to appear in Google?
It varies from hours to weeks depending on how quickly Google discovers and crawls the page and whether it chooses to index it. Internal links and sitemaps help discovery.
Do other search engines work the same way?
Broadly, yes. Bing and others also crawl, index and rank pages, though their crawlers, signals and features differ. Bing additionally supports the IndexNow protocol for faster discovery.
Conclusion
Search engines are pipelines: discover, crawl, render, index, rank. When a page underperforms, find the stage where it is stuck before changing anything. Most ranking problems trace back to pages that are hard to crawl, never indexed, or simply not the best answer for the query.
Want to know which stage is holding your site back? Our SEO services start with a full crawl, indexing and ranking audit. Get a free quote.
References
- Google Search Central: In-depth guide to how Google Search works
- Google: How Search works – Ranking results
- Google Search Central: A guide to Google Search ranking systems
- The Keyword (Google): How AI powers great search results
- Google Search Central: How to specify a canonical URL
- Google Search Central: Understand JavaScript SEO basics
- Semrush: How Search Engines Work [Explained]




