Technical

Crawler

Definition

A program, also called a bot or spider, that visits web pages, follows links and collects content so search engines can index it.

Crawler, Essential Tools glossary. Small robot bot following link lines between connected web page cards

A crawler is a program that visits web pages, reads their content and follows their links to find more pages. Search engines use crawlers to discover the pages they later index and rank.

Quick answer: Crawlers are also called bots or spiders. Google’s main crawler is Googlebot. If a crawler cannot reach or read a page, that page is unlikely to show up in search.

Key Takeaways

  • Links lead the way: Google says it uses links to find new pages to crawl.
  • Crawlable links: Google can generally only follow links built as an <a> element with an href attribute.
  • A size limit exists: Googlebot processes the first 15 MB of an HTML or supported text file, per Google.
  • Robots.txt sets rules: You can tell crawlers which paths to avoid, but it is not a way to hide pages from search.
  • Crawling is not indexing: A crawled page still has to be judged worth indexing.

What a Crawler Does

A crawler starts with a list of known URLs, from earlier crawls and from sitemaps. It fetches each page, reads the HTML, notes the links and adds new URLs to its queue. Then it repeats.

Crawling is only the first step in search. Here is how it fits with the rest.

StageWhat happensWhat you control
CrawlingBots fetch pages and follow linksLinks, sitemaps, robots.txt, server health
IndexingThe search engine stores and understands the pageContent quality, canonicals, noindex
RankingPages are ordered for each searchRelevance, quality and experience

Every crawler identifies itself with a user agent string. Googlebot, Bingbot and many SEO tool bots each have their own.

Why Crawlers Matter

If a crawler never finds a page, it cannot be indexed. That happens more than you might think, especially with orphan pages that nothing links to.

Google’s link best practices explain that Google can generally only crawl a link if it is an <a> element with an href attribute. Links that rely only on JavaScript click handlers may never be followed.

There is a size limit too. Google’s Search Central blog confirms Googlebot only forwards the first 15 MB of an HTML file to indexing. Images, CSS and scripts referenced in the HTML are fetched separately. Very few pages come close, but bloated inline code can.

How to Make Your Site Easy to Crawl

Step 1: Link to Every Important Page

Make sure each page you want indexed has at least one internal link from a page that is already crawled. Use descriptive anchor text.

Check: No important page is an orphan in your site crawl.

Step 2: Submit a Sitemap

List your canonical URLs in an XML sitemap and submit it in Search Console. Keep it free of redirects and 404s.

Check: The Sitemaps report in Search Console shows the sitemap as processed.

Step 3: Set Clear Robots Rules

Use robots.txt to keep crawlers out of areas like admin pages or endless filter URLs. Do not block CSS or JavaScript that pages need to render.

Check: Your rules are valid. A robots.txt generator helps you write them.

Step 4: Keep Servers Healthy

Frequent server errors and slow responses can make Google crawl less. Monitor uptime and fix 5xx errors quickly.

Check: The Crawl stats report in Search Console shows mostly 200 responses.

Step 5: Fix Broken Paths

Broken links and long redirect chains waste crawler visits. Point links straight at the final URL.

Check: A redirect checker shows one hop or none for key URLs.

Write Your Robots.txt in Minutes

Create clean crawler rules and a sitemap line without memorizing the syntax.

Mistakes to Avoid

  • Using robots.txt to hide pages: A blocked page can still be indexed if other sites link to it. Use noindex for that.
  • Blocking resources: If crawlers cannot load your CSS or scripts, they may not see the page as visitors do.
  • JavaScript-only links: Buttons that navigate without a real link can leave pages undiscovered.
  • Endless URL spaces: Calendars and filters that generate infinite URLs waste crawl time.
  • Assuming all bots are polite: Respectable crawlers follow robots.txt. Bad bots may not.

FAQ

What Is the Difference Between a Crawler and an Indexer?

The crawler fetches pages. The indexing system processes and stores them. A page can be crawled and still not indexed.

How Do I Know if Googlebot Visited My Page?

Use the URL Inspection tool in Search Console to see the last crawl date. Server logs also show visits from the Googlebot user agent.

Can I Make Google Crawl My Site Faster?

You can request indexing for a URL in Search Console and keep your sitemap current. You cannot force a crawl schedule.

What Is Crawl Budget?

It is the number of URLs a search engine will crawl on your site in a given time. It mainly matters for very large sites.

Where to Go Next

Kinsta BFCM Deal