How Google Search Works: Crawling, Indexing and Ranking

Google Search works in three stages. First, automated programs called crawlers discover pages by following links. Second, Google analyzes and stores what it finds in an index. Third, when someone searches, it picks the most relevant and useful indexed pages and ranks them. A page can fail at any stage, and knowing which one explains most visibility problems.
Stage 1: crawling
Google uses a crawler, often called Googlebot, to fetch pages from the web. It starts from known addresses and follows links to find more. It also uses sitemaps that site owners submit. The crawler decides how often to visit and how many pages to fetch, based on how fast your server responds, how often your content changes and how important the site seems. It does not crawl everything, and it does not crawl instantly.
What can block crawling
- A robots.txt file that disallows the page.
- Pages with no links pointing to them and not in a sitemap.
- Pages behind a login.
- Server errors or very slow responses.
- Complicated address patterns that create endless variations.
Stage 2: indexing
After fetching a page, Google tries to understand it: the text, images, video, links, the language and the structured data. It also chooses a canonical version when similar pages exist, see the canonical tag guide. Then it stores the page in the index, a huge database. Not every crawled page gets indexed. Google may skip pages that are duplicates, very thin, blocked by a "noindex" instruction or of low quality.
Rendering is part of this stage. Many pages build their content with JavaScript, so Google runs the page to see what visitors see. If key content appears only after complex scripts, it might be missed or delayed.
Stage 3: serving and ranking
When a person types a query, Google looks in the index for matching pages and orders them. Its systems consider hundreds of signals. Google describes the main categories as meaning of the query, relevance of the page, quality of the content, usability of the page and context such as location, language and settings. There is no single ranking formula, and results are personalized and varied by place.
Signals you can influence
- Relevance: the page answers the query in clear words, see the search intent guide.
- Quality: original, accurate, people-first content, see the helpful content checklist.
- Usability: fast, stable, mobile-friendly pages, see the Core Web Vitals guide.
- Links: trustworthy sites linking to you, see the backlinks guide.
- Security: HTTPS across the site, see the HTTPS guide.
How to see your pages the way Google does
- Search for your address using the site: operator to get a rough view of what is indexed.
- In Search Console, use the URL inspection tool on an important page to see whether it is indexed, when it was last crawled and which canonical was chosen.
- Check the coverage or pages report for reasons that pages are not indexed.
- Look at the crawl stats for server errors and response times.
Each report is explained in the Search Console guide.
A worked example
A new service page is published but never appears in search. The owner checks: the page is not in the sitemap and no other page links to it, so the crawler may not have found it. After adding it to the sitemap and linking it from the services overview, the URL inspection tool shows it as crawled. A week later it is indexed, and it begins to receive impressions. The fix was not to change the text, but to make the page discoverable. Check where your problem is before you rewrite anything.
How to speed up discovery
- Keep a clean sitemap with only pages you want indexed.
- Link new pages from related pages and navigation, see the topic clusters guide.
- Use meaningful, stable addresses, see the URL structure guide.
- Use the inspection tool to request indexing for a few important pages. It is a request, not an order.
- Fix server errors and slow responses.
Myths to drop
- "Submitting a page means it will rank." It only helps discovery.
- "More pages always mean more traffic." Thin pages can dilute quality.
- "Ranking is the same for everyone." It varies by person, place and device.
- "Fresh dates boost ranking." Updating real content helps, changing only the date does not.
A second example: a page that was indexed but not found
A florist notices that her shop page is indexed, yet it does not appear for "wedding flowers" in her town. The page is indexed, so crawling is not the problem. Reading the results page shows local map listings and shop pages that state prices and a service area. Her page has only a gallery and no text. She adds a description of the wedding packages, the area she serves, typical prices and a short FAQ. Ranking depends on relevance and usefulness, and the page now has something to match. This is a different kind of problem from a missing page, and the fix is also different, which is why identifying the stage matters.
A simple diagnosis table
- Not crawled: check links, sitemap, robots.txt and server errors.
- Crawled but not indexed: check duplicates, thin content, noindex tags and quality.
- Indexed but not ranking: check intent, depth, links and competition.
- Ranking but not clicked: improve the title, description and rich result eligibility.
FAQ
How long until a new page appears?
From hours to several weeks. Links and a sitemap speed it up.
Why is my page crawled but not indexed?
Often because it is a duplicate, too thin or judged low in value. Improve it or merge it.
Does Google crawl my whole site every day?
No. It schedules visits based on importance and change frequency.
Can I stop a page from being indexed?
Yes, with a noindex instruction. Blocking in robots.txt prevents crawling but does not always prevent the address from appearing.
Is JavaScript a problem?
Not by itself, but make sure important content and links are available once the page is rendered.
Your next step: inspect your most important page in Search Console and note whether it is crawled, indexed and which canonical was chosen.