Search engines work in 3 stages: they crawl the web to find and fetch pages, index those pages by reading and storing what they contain, and then serve results by picking and ordering the stored pages that best answer each search. Every search engine, from Google to Bing, follows this basic pattern. Knowing which stage a page is stuck at tells you what to fix.
What are the 3 stages? #
Google sets out the stages in its in-depth guide to how Search works. We use the same 3 words across our wiki:
| Stage | What happens | What can go wrong |
|---|---|---|
| Crawling | A bot downloads text, images and video from pages it has found | Blocked by robots.txt, server errors, no links pointing in |
| Indexing | The engine reads the page, works out its topic and stores it | Thin or duplicate content, a noindex rule, wrong canonical |
| Serving | For each search, the engine picks and orders the stored pages | Weak relevance, poor quality signals, a stronger rival |
How does crawling work? #
A crawler is a program that fetches pages automatically. Google’s is called Googlebot; Bing’s is Bingbot. There is no central list of every page on the web, so crawlers must discover addresses. Google says most new pages are found by following a link from a page it already knows. The rest come from lists such as an XML sitemap.
Googlebot decides for itself which sites to visit, the gap between visits and the number of pages taken each time. It tries not to overload a server. Your robots.txt file tells it which paths to stay out of. Google’s link guidance adds a practical point: it can reliably follow a link only when it is an a element with an href attribute. A link built from a span or an onclick script may never be followed.
Some engines also accept a push. IndexNow is a simple ping that tells taking-part engines a URL has changed. When we checked, its site listed Microsoft Bing, Naver, Seznam.cz, Yandex and Yep. Google is not on that list. Read more on IndexNow.
What is rendering? #
Many pages build their content with JavaScript. Google says it runs that code with a recent version of Chrome, so it can see content that appears after the first download. This step is called rendering. It costs the engine more time than reading plain HTML, which is why JavaScript SEO is its own subject. If key text only appears after a click, a bot may never see it.
How does indexing work? #
Once a page is fetched, the engine reads the text, the title tag, headings, image alt text and links. It works out what the page is about. It also groups pages that look the same and picks one to represent the group. That chosen page is the canonical, and it is the one that may appear in results. A canonical tag is your hint about which one you want.
The result goes into the search engine index, a huge database. Google is clear that being crawled does not mean being indexed: not every page it processes is kept. Pages with little unique value, or with a noindex rule, are left out.
How does serving work? #
When someone searches, the engine looks through its index for matching pages and orders them. Google says relevance is judged on hundreds of factors, and that these can include the searcher’s location, language and device. A search for “bike repair” in Bristol on a phone gets a different page of results from the same words typed in Glasgow on a laptop.
The ordering is done by many systems working together. Google’s ranking systems guide names some of them: RankBrain and BERT for understanding language, link analysis systems including PageRank, freshness systems, a reviews system, spam detection, and a site diversity system that usually shows no more than 2 results from one site in the top listings. The final page may also include SERP features such as maps, images or an AI Overview.
Can you pay to rank higher? #
No. Google says money buys neither extra crawl visits nor a higher organic place. Ads are sold separately and are labelled. Organic places are earned.
Why does it matter for AI answers? #
AI search tools sit on top of the same stages. A tool such as ChatGPT search or Perplexity has its own crawlers, such as OAI-SearchBot and PerplexityBot. If a bot cannot fetch your page, no assistant can quote it. If your page is fetched but the facts are buried, the answer may quote a rival instead. The new step is that the engine writes an answer from several sources rather than only listing links. See retrieval-augmented generation and our guide on how AI Overviews pick sources.
Common mistakes #
- Blocking a page in robots.txt and adding noindex. If the bot cannot fetch the page, it never sees the noindex.
- Orphan pages. A page with no links pointing to it is hard to discover. See orphan page.
- Thinking a sitemap forces indexing. It helps discovery. It does not make the engine keep the page.
- Hiding content behind scripts or clicks. Put the main text in the HTML.
A worked example #
A Manchester bakery adds a page for wedding cakes. It links to it from the homepage menu and lists it in the sitemap. Googlebot follows the link within days and fetches the page. The page has a clear title, 400 words of its own text, real photos and prices, so it is indexed. A month later, a search for “wedding cakes Manchester” from nearby shows it on page 2. The bakery earns 2 links from local wedding blogs, and over time the page climbs. Each stage worked in turn: found, stored, then ranked.
How to check it #
- Use the robots.txt checker to confirm bots may fetch the page.
- Run the sitemap checker to see the URL is listed and the sitemap is valid.
- Use the HTTP header checker to read the response code a bot gets back, plus any X-Robots-Tag rule.
- Open the URL in URL Inspection in Search Console to see whether Google has indexed it. Our indexability checker is live now.
Questions #
How long does it take a new page to appear? #
There is no fixed time. It can be hours or weeks, depending on how easily the page is found and how much the engine values the site.
Do all search engines work the same way? #
The 3 stages are the same. Each engine has its own bots, index and ranking systems, so results differ.
Is crawling the same as indexing? #
No. Crawling is fetching the page. Indexing is deciding to store it.
Related words #
Sources #
- Google Search Central: In-depth guide to how Google Search works, checked 24 November 2026
- Google Search Central: A guide to Google Search ranking systems, checked 24 November 2026
- Google Search Central: Link best practices for Google, checked 24 November 2026
- IndexNow.org: IndexNow home page, checked 24 November 2026
Updated 24 November 2026 by URSY.
Cite this page: How search engines work. URSY. Updated 24 November 2026. https://ursy.com/wiki/how-search-engines-work/ · Section links
Tools for this
- LiveAI Readiness Checkeris your site ready for ChatGPT, Gemini, Claude? Score + fixesRun the check →
- LiveAI Bot Checkerwhich AI bots your robots.txt lets inRun the check →
- LiveVerify an AI Botis it really GPTBot? IP, published lists and user agentRun the check →
- Livellms.txt Checker + Generatorcheck your llms.txt, or write llms.txt, llms-full.txt and llms.jsonRun the check →
- LiveAI Crawler Log Analyserdrop in your server log, see which AI bots read what (in browser)Run the check →
- LiveIs your site in Common Crawl (a main source of AI training data)?Run the check →
- ProFan-out trackerThe searches AI runs behind your promptsIn URSY Pro →
- ProSourcesSearch, AI, social, links, directIn URSY Pro →
- ProSite search termsWhat people search for on your siteIn URSY Pro →