How Google Search works: crawling, indexing and ranking explained

Every search on Google returns results in a fraction of a second, chosen from billions of web pages. Understanding the basic process helps you see why some pages appear and others do not, and what you can actually influence.
Stage 1: Crawling
Google uses automated programs called crawlers, the main one being Googlebot, to discover pages. Crawlers find pages by:
- following links from pages they already know;
- reading XML sitemaps that site owners submit;
- URLs submitted through Google Search Console.
Googlebot also renders pages much like a browser, running JavaScript, so it can see content that loads dynamically. Crawling can be blocked by robots.txt rules, server errors, login walls or pages that are hard to reach through links.
Stage 2: Indexing
After crawling, Google tries to understand each page: its text, headings, images, structured data and links. It also decides which version to keep when several URLs show similar content (canonicalisation). The chosen pages are stored in the Google index.
Not every crawled page is indexed. Google may skip pages that are low quality, duplicate, blocked with a noindex tag or simply not considered useful enough. You can check a page’s status with the URL Inspection tool in Search Console.
Stage 3: Serving and ranking
When someone searches, Google’s systems look through the index for the most relevant, helpful results and order them. Many factors are involved, including:
- Meaning and intent: what the person really wants, including synonyms and context.
- Relevance: whether the page covers that topic.
- Quality and helpfulness: whether the content is original, accurate and created for people rather than to manipulate rankings.
- Usability: mobile-friendliness, speed and page experience.
- Context: the searcher’s location, language and device.
Links from other sites remain a signal of importance and trust, but they are one factor among many, and manipulative links can be ignored or penalised.
Search features
Results today include more than ten blue links: maps and local listings, images, videos, “People also ask” boxes, product listings and AI-generated overviews for some queries. Structured data can help Google understand your content for some of these features, though it never guarantees them.
What you can influence
- Crawlability: clear internal links, a sitemap and no accidental blocks.
- Indexability: unique, useful pages with the correct canonical and no stray noindex tags.
- Relevance: pages that clearly match what people search for.
- Quality: original, accurate, helpful content with real expertise.
- Experience: fast, mobile-friendly, secure pages.
Learn these foundations step by step in our SEO Course, or go deeper with Technical SEO.