Snoika
Glossary·Technical SEO

What is a web crawler

Definition

A web crawler is a program that visits web pages automatically and follows their links to find more pages.

Google and Bing use crawlers to discover the pages they can add to their search index, and AI assistants now run crawlers of their own. A web crawler is the software that determines which of your pages a search engine or AI tool knows exist.

TermWeb crawler3 min read · reviewed by the Snoika team

Web crawler defined

A web crawler is an automated bot that fetches pages and records what it finds. People also call it a spider or a bot. Googlebot is the best-known example, and Bingbot does the same job for Microsoft. A crawler collects pages, and other systems decide how to rank them and what else to do with them.

How a web crawler works

A crawler starts from a list of known URLs and moves outward through links. It requests each page and pulls every link out of the HTML. New links join a queue, called the crawl frontier, and the crawler visits them in order of priority. Before it fetches anything on a site, a well-behaved crawler reads the robots.txt file to see which paths it may visit. Popular pages get revisited. A new page with no links pointing to it will never be found.

Why crawlability drives search visibility

If a crawler can't reach a page, that page can't appear in search results. In SEO, crawling comes before indexing. A page must then be indexed before it can rank. A page that robots.txt blocks, or that sits behind broken links, drops out at the first step. Google also limits how much it crawls each site, so I always check that crawlers prioritize pages that matter over duplicate URLs within that budget.

Crawlers behind AI answers

AI assistants crawl web pages with their own named bots. Some of these bots collect training data ahead of time, and others fetch a page live when a user asks a question. OpenAI runs GPTBot for training and OAI-SearchBot for ChatGPT search. Anthropic runs ClaudeBot, and Perplexity runs PerplexityBot. Each one identifies itself in its user-agent string, so you can allow or block it by name in robots.txt. Unlike Googlebot, most AI crawlers don't run JavaScript, so text that loads only through scripts may be invisible to them.

Web crawler vs web scraper

A crawler finds and maps pages, while a scraper pulls specific data out of them. A search engine crawler wants to know what each page covers and where it links. A scraper targets particular fields, such as the prices on a retail site, and copies them into a database. The two work as a pair when a crawler collects URLs for a scraper to process. Major search engine crawlers respect robots.txt. Scrapers ignore it.

Make your site crawlable

You make a site crawlable by giving bots a clear path to every page you want found and by removing whatever blocks them. Start with the blocks, then build the map.

Check what you block

Open your robots.txt file and confirm it doesn't disallow folders you care about. One line, "Disallow: /", shuts out every crawler. Next, look for pages that return errors or send bots through long redirect chains, because crawlers give up on those. Google Search Console's Crawl Stats report shows how often Googlebot visits and which responses it gets.

Give crawlers a map

Submit an XML sitemap in Google Search Console and Bing Webmaster Tools. Link every important page from at least one other page on your site, since crawlers rarely find orphan pages. And put your main content in the HTML itself, so AI bots that skip JavaScript can still read it.

A crawler in action

Say you publish a new guide on your blog. When Googlebot recrawls your blog index, it spots the new link and adds the URL to its queue. When it reaches the guide, it checks robots.txt and downloads the HTML. Then it renders the page and passes it on for indexing. A day later, GPTBot finds the same URL through your sitemap. If the guide's text loads only through JavaScript, GPTBot records a page that's close to empty.

Related terms to know

These terms come up alongside crawling, and each one covers a separate step or tool:

Indexingstoring crawled pages so they can appear in results. Crawling finds a page, and indexing files it.
Crawl budgetthe number of URLs a search engine will crawl on your site in a given period.
Robots.txtthe text file that tells crawlers which paths they may visit.
Renderingrunning a page's JavaScript to see its final content. Googlebot does this, and most AI crawlers don't.
XML sitemapa list of URLs you give to crawlers so they don't have to rely on links alone.

Once you know what a web crawler is, you'll run into these terms soon after. For a practical next step, open your own robots.txt file and your Crawl Stats report to see which bots reach your pages.

Look up more AI search and SEO terms in our glossary.

Related terms

All terms
Reverse proxyA reverse proxy is a server that sits in front of a website and gets every request before the site's own server does. It decides where each request goes, then sends the answer back to the visitor. A reverse proxy is a gatekeeper on the website's side of the connection. Visitors and crawlers only eveStructured dataStructured data is information arranged in fixed, labeled fields, so a machine can read it without guessing what it means. On a website, the term means schema markup. That's code in a format such as JSON-LD that tells search engines and AI assistants exactly what a page describes, such as a product SubdomainA subdomain is a label added to the left of a registered domain name. It creates a separate address under that domain, such as blog.example.com under example.com. The domain owner can create subdomains at no extra cost and point each one to its own server. A subdomain is a named branch of a domain tOrphan pageAn orphan page is a live page on a website that no other page on the same site links to. Visitors and search engine crawlers can reach it through a direct URL or a sitemap entry. A link from another domain provides the only other route. In SEO, orphan content sits outside the site's internal link structure.Robots.txtRobots.txt is a plain text file at the root of a website. It tells crawlers which URLs they may request. Search engines and AI bots fetch it before they crawl anything else, and the file uses it to ask them to skip certain paths. It can't force a bot to obey, and it doesn't remove pages from search results. Robots.txt contains crawl requests that well-behaved bots choose to follow.HreflangHreflang is an HTML attribute that tells search engines which language and region each version of a page is written for. If you're asking what is hreflang, you mean the hreflang tag in a page's head. It lists every translated or regional copy of a page so Google can show each searcher the copy in their language.

See how AI talks about your brand

Get free audit