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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
These terms come up alongside crawling, and each one covers a separate step or tool:
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 termsSee how AI talks about your brand