Follow a search from crawling and rendering to indexing and ranking, showing how Google finds pages and returns results in a blink. Written in English, with a 3D view of each stage.
You type a question and answers appear in a fraction of a second. This little machine shows the real steps Google follows to make that happen. Watch a search travel through it.
Google handles more than 5 trillion searches a year.
First, Google has to find pages. Its crawler, Googlebot, is a program that hops from page to page by following links. It downloads what it finds, and it slows down if a website's server is struggling.
Pages behind a login, or blocked by a site's robots.txt file, are skipped.
Many pages are built by code while they load. So Google opens each page in a recent version of the Chrome browser and lets its JavaScript code run. Now Google sees the page roughly the way you would.
Next, Google reads the words, titles, images and videos and files them in its index. It works like the index at the back of a book: each word points to the pages that use it. Near-copies of a page are grouped, and one is picked to stand for them all.
The index holds hundreds of billions of pages: well over 100 million gigabytes.
When you search, Google does not race across the live web. It looks up your words in its ready-made index, so the matching pages are found almost instantly.
About 15% of searches each day are brand new: nobody has typed them before.
Then the matches are put in order. Google weighs hundreds of signals, grouped into meaning, relevance, quality, usability and context, such as your language and location. Nobody can pay to rank higher in the regular results.
The five coloured dials stand for those five groups. Google does not publish the exact recipe.
One little machine could never keep up. The real index is spread across halls full of computers, and people all over the planet are searching at the same moment. Picture every spark as a search.
5 trillion searches a year works out to about 158,000 every second.
Googlebot keeps revisiting the web, so the index stays fresh. Google also tests changes to Search all the time, with hundreds of thousands of experiments every year. Next time you search, picture this whole journey happening in a blink.
Not to scale: real data centres are far bigger than one desk-top machine.