Tech explained · Explained with diagrams

How does Google Search work?
From crawling to AI answers

Google Search works in three stages. Crawling: automated programs called Googlebot follow links to discover pages. Indexing: Google analyses each page and stores it in an index of hundreds of billions of pages. Serving: when you search, ranking systems pick the most relevant, useful results in a fraction of a second, and AI Overviews may summarise them.

By , FounderUpdated 8 min read

Share

Quick answer: How does Google Search work?

  1. Crawling — Googlebot discovers pages by following links and sitemaps, and renders them like a browser.
  2. Indexing — Google analyses text, images and structure, picks a canonical version and stores it in its index.
  3. Serving — for each query, ranking systems weigh relevance, quality, usability and context to order results.
  4. PageRank — the 1998 idea that a link is a vote, weighted by the importance of the linking page, is still one signal among hundreds.
  5. AI Overviews — since 2024, generated summaries appear above results for some queries; Google says they draw on the same index and quality systems.

Key takeaways

  • A page that is not crawled or not indexed cannot rank, which is why technical basics matter first.
  • Ranking is not one algorithm but many systems: relevance, helpfulness, freshness, spam detection and more.
  • Links still matter, but language understanding (BERT, later models) means pages are matched on meaning, not just keywords.
  • Google says there is no special trick to appear in AI Overviews: the same quality guidance applies.
  • For businesses, the durable strategy is the one Google states: content made for people, on a fast, crawlable site.

Type three words into Google and, in about half a second, it returns a ranked list from hundreds of billions of pages, often with an AI-written summary on top. It does that more than 5 trillion times a year. Behind the box are three separate machines: one that explores the web, one that files what it finds, and one that answers you. This guide explains each, with Google's own documentation as the source, and shows what that means if you want your own pages found.

How does Google Search work? At a glance: Crawling; Indexing; Serving; PageRank; AI Overviews.
At a glance: How does Google Search work?

How Google Search works in three stages

Google Search works in three stages: crawling, indexing and serving results1.

StageWhat happensWhat can go wrong for a site
CrawlingGooglebot discovers URLs through links and sitemaps, then downloads and renders the pagesPages blocked by robots.txt, behind logins or never linked
IndexingGoogle analyses content, groups duplicates, chooses a canonical URL and stores signalsThin or duplicate content; noindex tags; rendering errors
ServingFor each query, ranking systems pick and order the most relevant, helpful resultsContent that doesn't match intent, poor quality or a slow, unusable page

Table: The three stages of Google Search (Google Search Central)

1 · CRAWL P1P2P3P4P5 Googlebot follows links andsitemaps to discover pages. 2 · INDEX metro→ P1 P3 P4map→ P2 P3 P4 P5delhi→ P1 P4tube→ P2 P5history→ P3 An inverted index lists, for eachword, the pages that contain it. 3 · SERVE metro map 1. P3 · score 0.922. P4 · score 0.81 Pages with both words are rankedby relevance, quality and context. SIMPLIFIED · REAL RANKING USES HUNDREDS OF SIGNALS · SCORES ILLUSTRATIVE
The pipeline in miniature. A crawler follows links between pages; their words go into an inverted index that lists which pages contain each word; a query looks up its words and ranks the pages that match. Real ranking uses many more signals; the scores here are illustrative.
Searches a year, according to Google (2025)
5 trillion+
Size of Google's index, per Google
100,000,000+ GB
Year PageRank was published
1998
Monthly AI Overviews users at I/O 2025
1.5 billion

Stage 1: crawling, or how Google finds pages

There is no central registry of web pages, so Google has to discover them. Its crawlers, collectively called Googlebot, start from pages they already know and follow links to new ones; site owners can also submit sitemaps listing their URLs1. Googlebot then fetches each page and renders it with a recent version of Chrome, running its JavaScript, so Google sees roughly what a visitor sees.

Crawling is polite by design: Googlebot adjusts how fast it requests pages so it doesn't overload servers, and it obeys a site's robots.txt file, which can tell crawlers to stay out of certain areas.

Stage 2: indexing, or how Google files what it finds

Indexing is understanding and storing. Google processes a page's text, title, headings, images, video and structured data, and works out whether it duplicates other pages; from a cluster of duplicates it picks one canonical version to show1. The index itself is enormous: Google says it holds hundreds of billions of pages and is well over 100,000,000 gigabytes2.

At its heart is a structure computer scientists call an inverted index, like the index at the back of a book: for each word, a list of the pages it appears on. When you search, Google doesn't read the web; it reads the index, which is why answers arrive in a fraction of a second.

Stage 3: serving, or how Google ranks results

Ranking is done by many automated systems, not one formula. Google's own guide lists systems for relevance, link analysis, freshness, reliable information, spam detection, passages within pages, helpful and original content, reviews and more4. Broadly, they consider:

Stage 3: serving, or how Google ranks results: Meaning of the query; Relevance of the content; Quality and trust; Usability and context.
Stage 3: serving, or how Google ranks results

Meaning of the query

What are you really asking? Language models interpret synonyms, spelling mistakes and intent: "best metro map" might want images, history or a download.

Relevance of the content

Does the page actually address the query, in its text, headings and structure, not just repeat the words?

Quality and trust

Signals such as links from other reputable sites, and systems designed to reward content showing experience, expertise, authoritativeness and trustworthiness.

Usability and context

Is the page fast, mobile-friendly and secure? Your location, language and settings also shape results.

Google uses human Search Quality Raters to check whether results are good, guided by a public handbook that describes these qualities; raters don't rank pages directly, but their feedback helps evaluate changes to the systems11.

PageRank: the idea that started it all

In 1998, two Stanford PhD students, Larry Page and Sergey Brin, published "The Anatomy of a Large-Scale Hypertextual Web Search Engine", describing a prototype called Google3. Its key idea, PageRank, treated a link from one page to another as a vote, and gave more weight to votes from pages that were themselves well linked. It made Google's results far better than rivals that relied mainly on matching words.

A0.04B0.14C0.29D0.04E0.35F0.12 PAGERANK, 1998 A link is a vote. A vote from an important page counts for more, split across all of its links. PR(p) = (1−d)/N + d · Σ PR(q)/L(q) d = 0.85 · N = 6 pages VALUES COMPUTED BY SCIENCE OF APPS FOR THIS SIX-PAGE EXAMPLE
PageRank computed for a six-page example web, using the 1998 formula with a damping factor of 0.85. Circles are sized by score: pages that receive links from well-linked pages (E and C) rank highest. Values computed by Science of Apps.
Quick quizIn PageRank, which link helps a page most?

A page passes its score divided among its outgoing links, so a link from an important page with few other links passes the most. That is why one link from a respected site can outweigh many from obscure ones.

From keywords to meaning: RankBrain, BERT and beyond

From 2015 Google added machine-learning systems that understand language rather than matching strings. In 2019 it applied BERT, a language model that reads words in the context of the whole sentence, to search; Google said at the time it affected about one in ten English searches in the United States5. A query like "can you get medicine for someone pharmacy" could now be understood as being about picking up a prescription for another person, where earlier systems would have matched the keywords.

AI Overviews and AI Mode

In May 2024 Google began showing AI Overviews in the United States: short generated summaries at the top of some results, with links to the pages they draw on6. By Google I/O in May 2025 they had 1.5 billion monthly users in 200 countries and territories, and Google launched AI Mode, a chat-like search experience for longer, more complex questions7.

For site owners, Google's guidance is that there are no extra requirements or special optimisations to appear in AI features: the same crawling, indexing and quality systems apply, and pages need to be indexed and eligible to show a snippet8.

How to get your pages found: a practical checklist

Checklist: How to get your pages found: a practical checklist — Make pages crawlable; Submit a sitemap; One clear URL per page; Answer the query fully; Show who you are; Keep it fast and mobile-friendly; Earn links, don't buy them.
How to get your pages found: a practical checklist
  • Make pages crawlable — no robots.txt blocks on important pages, no content hidden behind logins, working internal links.
  • Submit a sitemap — and verify your site in Google Search Console to see what is indexed and why.
  • One clear URL per page — avoid duplicates; use canonical tags where duplicates are unavoidable.
  • Answer the query fully — write for the person searching, with the answer early and the detail after.
  • Show who you are — clear authorship, sources and contact details support trust.
  • Keep it fast and mobile-friendly — usability is part of ranking and of whether visitors stay.
  • Earn links, don't buy them — links from relevant, reputable sites are a quality signal; paid or spammy links can be penalised.

Google's own summary of the strategy is to create helpful, reliable, people-first content9. If your traffic arrives but visitors don't convert, the problem has moved from search to experience: that is where a SaaS UX audit helps.

Key terms, defined

Crawler (Googlebot) — a program that automatically fetches web pages by following links.

Index — Google's database of the pages it has processed and can show in results.

Inverted index — a data structure listing, for each word, the documents that contain it.

Canonical URL — the version of a page Google chooses to show when several URLs have the same content.

Ranking systems — the automated systems that order results for a query.

AI Overview — a generated summary shown at the top of some Google results, with links to sources.

How we researched this

The description of crawling, indexing and serving follows Google Search Central's documentation and Google's "How Search works" pages; historical facts come from Brin and Page's 1998 paper and Google's announcements for BERT (2019), AI Overviews (2024) and I/O 2025. The PageRank figure uses the published formula applied by us to a six-page example. Google changes its systems often, so treat details as accurate to October 2026. Last reviewed October 2026.

Frequently asked questions

How does Google decide which website ranks first?

Google uses many automated ranking systems that look at the meaning of your query, how relevant each page's content is, signals of quality and expertise such as links from other sites, how usable the page is (speed, mobile friendliness, security) and context like your location and language. No single factor decides the order.

What is Googlebot?

Googlebot is the generic name for Google's web crawlers, the automated programs that fetch pages from the web. They follow links from known pages, read sitemaps submitted by site owners and render pages, including their JavaScript, much as a browser would, so Google can see what users see.

What is PageRank?

PageRank is the algorithm described by Larry Page and Sergey Brin in 1998 that scores a page by the links pointing to it, treating each link as a vote weighted by the voting page's own score. It was Google's original advantage. Google still uses link analysis, but PageRank is now one of many signals.

How big is Google's index?

Google says its Search index contains hundreds of billions of web pages and is well over 100,000,000 gigabytes in size. In 2025 Google said it handles more than 5 trillion searches a year, roughly 14 billion a day.

How do Google's AI Overviews work?

AI Overviews use a Gemini model customised for Search to write a short summary for some queries, with links to the web pages it draws on. Google introduced them in the United States in May 2024 and later expanded them to more than 200 countries and territories. Google says the same quality systems and guidance apply as for regular results.

How can I get my website on Google?

Make sure your pages can be crawled (not blocked by robots.txt or login walls), link to them from other pages, submit a sitemap in Google Search Console and create genuinely useful content for people. Google generally finds new sites on its own; Search Console lets you request indexing and check for problems.

Sources

  1. Google Search Central — In-depth guide to how Google Search works
  2. Google — How Search works
  3. Brin & Page — The anatomy of a large-scale hypertextual Web search engine (1998), Google Research
  4. Google Search Central — A guide to Google Search ranking systems
  5. Google — Understanding searches better than ever before (BERT, 2019)
  6. Google — Generative AI in Search (May 2024)
  7. Google — 100 things we announced at I/O 2025
  8. Google Search Central — AI features and your website
  9. Google Search Central — Creating helpful, reliable, people-first content
  10. Search Engine Land — Google now sees more than 5 trillion searches per year (2025)
  11. Google — Search Quality Rater Guidelines (PDF)
  12. Checked October 25, 2026. Figures that change — fees, salaries, prices — are reviewed every six months; if something is out of date, tell us.
Pass it on

Know someone who'd enjoy this?

Send it to them — one tap, no sign-up. Good ideas travel best between friends.

Keep exploring

Where to go from here

Join free

Get the ideas, not the noise.

Sign up with Google and we’ll send you short UX psychology tips by email — why people tap, stall and leave, and what to do about it. Unsubscribe anytime. Prefer something to keep? Get the free Laws of UX guide as a PDF.

Get the free Laws of UX PDFFree · no spam · unsubscribe anytime
Technology is the easy part

Adoption is where products win or fail.

A behavioral UX audit of your app or SaaS product: why users hesitate, stall and leave, and a prioritized fix list. Fixed price, 2–4 weeks.

Free certification

Turn what you know into a credential.

Free, test-based UX, UI and product certifications. Answer real product scenarios, graded on our server, and earn a founder-signed certificate anyone can verify and you can add to LinkedIn.

  • Credential ID
  • QR verification
  • LinkedIn-ready
Free PDF · 74 pages · 2 editions

The Laws of UX, in one field guide

60 research-backed principles in 6 categories — what each one means, why it works on the human brain and how to use it on your own screens. Written by Sushant Singh, founder of Science of Apps, who has scaled consumer apps to lacs of users and spent 10+ years leading product across startups and digital businesses in the US, EU & India.

Pick your edition
Free. No card, no paywall — just your email.
Free PDF · 74 pages

Get Laws of UX by email

Choose your edition

You’ll also get occasional UX psychology tips. Unsubscribe anytime. Privacy policy

Free PDF · 90 pages · 2 editions

100+ Subscription Paywalls, decoded

110 real paywalls from top apps, taken apart, rated out of 5 and decoded with the Laws of UX — plus the frameworks, copy and checklists to ship your own. By Sushant Singh, founder of Science of Apps.

  • 110 paywalls rated
  • 34 Laws of UX
  • 12 frameworks

Which paywall scored 4.8 out of 5, and which scored 2.6? It’s all inside.

Pick your edition
Free. No card, no paywall — just your email.
Free PDF · 90 pages

Get 100+ Paywalls, Decoded by email

Choose your edition

You’ll also get occasional UX psychology tips. Unsubscribe anytime. Privacy policy