,

How Do Search Engines Work? Crawling, Indexing and Ranking Explained

By Simon White ·

Search engines are software systems that discover pages on the web, store what they learn in a huge index, and rank the best matches whenever someone types a query. Google does this in three stages: crawling to find pages, indexing to understand them, and serving to choose and display results in a fraction of a second.

Knowing these stages helps you diagnose problems. A page that isn’t showing up has failed at one of them, and the fix depends on which one. This guide follows Google’s own explanation in How Search works and its crawling and indexing documentation, translated into plain English. For the bigger picture of what you do with this knowledge, start with my guide to what SEO is.

How do search engines find new pages?

Search engines find new pages mainly by following links from pages they already know and by reading sitemaps that site owners submit. Google’s crawler, Googlebot, is a program that fetches pages, collects the links on them, and adds new addresses to its list of pages to visit.

There’s no central register of every page on the web, so discovery never stops. Some pages are known because Google has visited them before. Others are found when a known page links to a new one. Others arrive through a sitemap. The main routes in are:

  • Internal links. A link from your homepage or a related article is the most dependable way to get a new page found. Orphan pages, with no links pointing to them, are easy to miss.
  • External links. Links from other sites lead crawlers to you, and they also suggest your page is worth a look.
  • XML sitemaps. A file listing the URLs you want crawled, submitted in Google Search Console or referenced in robots.txt. Helpful for large or new sites, though not a guarantee of anything.
  • Manual requests. The URL Inspection tool in Search Console lets you ask Google to crawl a specific page.

Crawlers also pace themselves. Google adjusts how fast it crawls a site partly based on how the server responds, so a slow or error-prone server can mean fewer of your pages get visited.

What does robots.txt do?

Robots.txt is a plain-text file at the root of your site that tells crawlers which paths they may and may not fetch. It controls crawling, not indexing. A URL blocked in robots.txt can still appear in results if other pages link to it, usually without a description. To keep a page out of the index, let Google crawl it and add a noindex rule instead, because Google can only obey a noindex it’s allowed to see.

What happens during rendering?

Rendering is the step where Google runs a page’s code, including JavaScript, the way a browser would, so it can see the content a visitor sees. Google renders pages using a recent version of Chrome.

This matters because many modern sites build their content with JavaScript after the page first loads. If key text or links only appear once a script runs, Google has to render the page to find them, and anything that breaks rendering can hide your content from search. A few habits keep you safe:

  • Put important content and links in the HTML your server sends, wherever you can.
  • Don’t block the CSS and JavaScript files Google needs to render the page.
  • Use real links, anchor tags with an href, for navigation rather than click handlers.
  • Check what Google sees with the URL Inspection tool, which shows the rendered HTML.

Platform changes are a common moment for rendering and crawling problems to surface. If you’re moving to a new theme, framework or content system, read my website migration guide before you switch.

What gets indexed, and why are some pages left out?

Indexing is when Google analyzes a crawled page, works out what it’s about, and stores it so it can be shown in results. Google processes the text, title, headings, images, videos and structured data, and it doesn’t index every page it crawls.

Part of indexing is canonicalization. When several URLs show the same or very similar content, Google groups them and picks one as the canonical version to show in results, keeping the others as alternates. You can suggest your preferred URL with a canonical tag, but Google treats that as a strong hint rather than an order.

The most common reasons a page isn’t indexed:

ReasonWhat it looks likeWhat to do
Too newPublished recently and not yet crawledLink to it internally, submit it in Search Console, give it time
BlockedA noindex rule, or the page needs a loginRemove the noindex or make the page public
DuplicateGoogle chose a different URL as the canonicalConsolidate similar pages or set a clear canonical
Low valueThin, near-empty or copied contentImprove the page or merge it into a stronger one
Hard to reachNo internal links, buried deep in the siteLink to it from relevant pages and your navigation
Technical errorsServer errors, broken redirects, failed renderingFix the errors and recheck with URL Inspection

The Page indexing report in Search Console lists which of your URLs are indexed and gives a reason for each one that isn’t. It’s the first place to look. On WordPress sites, a single setting under Reading, the option that discourages search engines, can keep a whole site out of results, and it’s surprisingly easy to leave switched on after a launch. My WordPress SEO tips cover that and other common traps.

How do search engines rank results?

Search engines rank results by running each query through automated ranking systems that weigh many signals about relevance, quality, usability and context. There’s no single score, and different systems handle different jobs.

Google groups what it looks at into a handful of broad ideas:

  • Meaning. What the query is really asking, including spelling corrections, synonyms and whether the person wants something fresh or local.
  • Relevance. Whether a page contains information that matches the query, beyond simply repeating its keywords.
  • Quality. Whether the content shows expertise, authoritativeness and trustworthiness, with signals such as links from other respected sites playing a part.
  • Usability. Whether the page works well for people, for example on a phone.
  • Context. The searcher’s location, language, settings and, in some cases, past activity.

The details change constantly, and Google confirms some signals while staying quiet on others. I’ve separated the confirmed signals from the guesswork in Google ranking factors. One thread runs through all of it: the systems are built to reward pages people find helpful and reliable, which is the idea behind Google’s E-E-A-T framework.

How are search results served?

Serving is the final step: when you search, Google finds matching pages in its index and builds a results page tailored to the query, location, language and device. That page is often much more than a list of ten links.

Depending on the search, the results page might include:

  • Featured snippets that quote a short answer from one page at the top.
  • People Also Ask boxes with related questions.
  • A local pack with a map and nearby businesses.
  • Image, video and news results.
  • Knowledge panels about people, brands and places.
  • Ads, labeled as sponsored.
  • AI Overviews, which summarize an answer and link to supporting pages.

Each of these changes who gets the click, and some are easier to win than others. I go through them one at a time in SERP features.

AI Overviews and AI Mode run on the same foundations. Google’s guidance on AI features and your website says there’s no special markup or optimization required for them: a page has to be indexed and eligible to show with a snippet to appear as a supporting link. Google also explains that these features may use a “query fan-out” technique, running several related searches across subtopics to put an answer together. That’s one reason a page covering a topic thoroughly can be pulled in for questions it doesn’t target word for word.

How do AI assistants use search indexes?

Many AI assistants answer questions about current facts by searching the web first and then writing from the pages they find, so a search index sits underneath many AI answers. The model’s training covers general knowledge, but for anything recent, local or specific it usually needs to retrieve pages.

As of late 2026, the setups differ and change often. Google’s AI Overviews and AI Mode draw on Google Search. Other assistants use their own crawlers, partner search engines or a mix of both. The practical upshot is the same in every case: if your page can’t be crawled and indexed, and doesn’t rank reasonably well for the question, it’s unlikely to be read, let alone cited.

Several AI companies also run their own crawlers, and you can allow or block them in robots.txt just as you would a search crawler. Blocking them can keep your content out of their answers, so make that choice deliberately. I explain how rankings connect to AI visibility in SEO vs GEO.

FAQ

How does Google find new pages?

Mostly by following links from pages it already knows, plus the XML sitemaps site owners submit. Linking a new page from your homepage or a related article, and submitting it in Search Console, is the most reliable route.

Why isn’t my page indexed?

Usually because it’s new, blocked by a noindex rule, treated as a duplicate of another URL, judged too thin, or hard to reach through internal links. The Page indexing report in Search Console shows the reason Google gives for each URL.

How often does Google crawl a site?

There’s no fixed schedule. Google tends to revisit popular, frequently updated pages more often and quiet pages less often, and it adjusts to how well your server copes. You can see recent activity in the Crawl stats report in Search Console.

Do AI tools use Google’s index?

Google’s own AI features do. Other assistants, as of late 2026, use a mix of their own crawlers and partner search engines, and those arrangements change. Either way, being indexed and ranking well makes it far more likely an AI tool finds your page.

If pages on your site aren’t getting found or indexed and you can’t see why, contact me and I’ll help you work out which stage is failing and what to fix.

About the author

Simon White

Simon White is an SEO & AI consultant based in Encinitas, California, and co-founder of the digital marketing agency Local Blitz, which has served clients since 2009. A former electrical engineer with more than 15 years in SEO, he now helps businesses get found in Google and in AI answers through SEO, answer engine optimization (AEO) and generative engine optimization (GEO).

More about Simon →

Need help with this?

Get a clear SEO plan for your business

Simon has spent more than 15 years helping businesses rank and grow. Tell him where you are now and where you want to be.