Definition
What it is
A crawler starts from a seed set of URLs. It fetches each page, parses the HTML, extracts new URLs from href attributes, adds them to a queue, and repeats. The queue is prioritized by heuristics: internal pages before external ones, frequently updated pages before stale ones, high-authority pages before unknown ones. The result is a graph traversal of the web.
Googlebot, Bingbot, DuckDuckBot, Baiduspider, YandexBot and Applebot are the major search-engine crawlers. The Internet Archive's Heritrix is the best-known archival crawler. SEO tools (Ahrefs, Semrush, Screaming Frog) run their own crawlers to audit sites. wget --mirror, httrack and scrapy are common building blocks.
Why it matters
The web has trillions of pages. No index could exist if each page had to be submitted manually. Crawlers make discovery a background process: a new URL gets a backlink, a crawler follows it, the page enters the index. The cost is paid by the crawler, not the site, which is why search engines invest heavily in polite crawling.
Crawler vs scraper vs bot
Aspect | Crawler | Scraper | Bot |
|---|---|---|---|
Purpose | Index pages | Extract data | Automate action |
Follows links | Yes | Sometimes | Rarely |
Respects robots.txt | Usually | Sometimes | Depends |
Example | Googlebot | Amazon price scraper | Login bot |
How a crawler walks the web
graph LR
S[Seed URLs] --> F[Frontier queue]
F --> P[Fetch page]
P --> E[Parse links]
E --> N{New URL?}
N -->|Yes| F
N -->|No| D[Discard]
P --> I[Index content]
style F fill:#FFF3E0
style I fill:#E8F5E9
Politeness: the unspoken contract
1994 — Martijn Koster writes the first robots.txt proposal.
1994 — The Robots Exclusion Protocol is adopted by major crawlers.
2008 — Google open-sources its crawl infrastructure as part of its SRE stack.
2019 — RFC 9309 formalizes the Robots Exclusion Protocol as a standard.
2023 — Major LLM crawlers (GPTBot, ClaudeBot, Google-Extended) appear, extending the discipline.
How to be crawlable
Making your site crawlable
Submit a sitemap
/sitemap.xmltells the crawler which URLs exist. It is a hint, not a rule, but it accelerates discovery.Check robots.txt
A single
Disallow: /blocks everything. Verify with Google Search Console's robots tester.Keep pages fast
Slow pages consume crawl budget. Under 1s TTFB is the target.
Avoid infinite URL spaces
Filters, calendar pages and session IDs can generate infinite URLs. Block them with
noindexor canonical tags.
Common failures
Origin
The verb "crawl" comes from Old Norse krafla, "to claw". The web sense was coined by early web pioneers in 1993, when search engines emerged: a program that crawls from link to link, the way a spider crawls across its web. The metaphor survived: spider and crawler are synonyms; web is the substrate; Bot (short for robot) is the standard suffix.
A web crawler is a program that systematically browses the World Wide Web, typically for the purpose of web indexing.
— Wikipedia, *Web crawler*, 2024
Evidence
FAQ
- How do I block a crawler?
robots.txtwithDisallow: /. Specific user agents (Googlebot,Bingbot) can be blocked individually.- Do crawlers execute JavaScript?
Modern ones do (Googlebot, Bingbot). Older ones do not. Render-critical content should be in the initial HTML.
- What is crawl budget?
The number of URLs a crawler will fetch from your site in a given period. Slow or broken sites get less.
- Can I crawl my own site?
Yes, and you should.
wget --mirrororscrapyreveal what crawlers see before they see it in production.
Connections
Google Search Central (2024). Google's crawlers. https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers
Koster, M. et al. (2022). RFC 9309. https://www.rfc-editor.org/rfc/rfc9309
Wikipedia (2024). Web crawler. https://en.wikipedia.org/wiki/Web_crawler
Etymology
Origin: metaphor
crawl(verb): from Old Norse krafla, "to claw"
Semantic network
● broader ● narrower ● related
Used in the garden
- Technical SEO Audit: Uncover & Fix Hidden Ranking Leaks for Dominance (3×)
- E-commerce SEO: Optimizing Your Online Store (1×)
- Algorithmic Arbitrage: Capitalizing on B2B Marketplace Inefficiencies (1×)
Sources
Google Search Central (2024). Google's crawlers. https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers
Koster, M. et al. (2022). RFC 9309. https://www.rfc-editor.org/rfc/rfc9309
Wikipedia (2024). Web crawler. https://en.wikipedia.org/wiki/Web_crawler