Your server is struggling, the logs show a crawler fetching page after page without a pause, and someone suggests the fix: "just add a crawl-delay." It sounds like a volume knob for bots. Sometimes it is. Sometimes it does nothing at all, because the crawler causing the load does not listen to it.

This guide explains what a crawl-delay is, where it sits inside a robots.txt file, and how to add one with the free Robots.txt Generator on Ovatly. It also covers the fact that decides whether the directive is worth using at all: some crawlers honour it and some ignore it.

Contents

  • Quick answer
  • What a crawl-delay actually is
  • The split: some crawlers listen, Googlebot does not
  • When a crawl-delay is worth adding
  • How to add a crawl-delay, step by step
  • Worked example: slowing every crawler on a small site
  • Limitations and trade-offs
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

A crawl-delay is an optional line inside a robots.txt rule group that asks the crawlers named in that group to wait a set number of seconds between requests. Add one only if a crawler that honours it is overloading your server. Crawl-delay is honoured by some crawlers, Bing among them, but Googlebot ignores it, so it will never slow Google's crawling. In the Robots.txt Generator, the delay is an optional setting on a rule group: name the crawlers, add your paths, set the delay, and the tool writes it into the file you place at the root of your domain.

What a crawl-delay actually is

A robots.txt file is built from rule groups. Each group names the crawlers it applies to (the user agents, with * meaning all crawlers), then lists the paths those crawlers may not fetch (Disallow) and any paths reopened inside a blocked area (Allow). A crawl-delay is one more line a group can carry: a request that the group's crawlers pause between requests rather than fetching pages back to back.

Two properties follow from where the line lives. First, it belongs to a group, so it applies to the crawlers that group names: a delay in the * group addresses every crawler without its own group, and a delay in a named group addresses that crawler. Second, whether it changes anything depends on whether the crawler reading it chooses to honour it, which is the subject of the next section.

Nothing about a crawl-delay changes what a crawler may fetch. The Disallow and Allow lines decide that. The delay only speaks to pace: how quickly the allowed fetching happens.

The split: some crawlers listen, Googlebot does not

Here is the fact the tool's own notes state, and the one most advice about crawl-delay skips: crawl-delay is honoured by some crawlers, for example Bing, but ignored by Googlebot.

That split decides whether adding the line is a fix or a placebo. If the crawler overloading your server honours the directive, a delay in its group (or in the * group it falls under) genuinely spreads its requests out. If the load is coming from Googlebot, the line changes nothing, and writing a bigger number will not help.

So the first step is never writing the line. It is reading your server logs, identifying which crawler causes the load, and checking whether it honours crawl-delay.

When a crawl-delay is worth adding

A crawl-delay earns its place in a narrow set of situations:

  • A crawler that honours the directive is fetching fast enough to slow the site for real visitors, and your logs show it is the cause.
  • The site runs on modest hosting where even a well-behaved crawl can crowd out human traffic at peak times.

And it is the wrong tool in just as many situations. It does nothing about Googlebot's pace. It does not block anything; a delayed crawler still fetches every path it is allowed to fetch, just more slowly. It does not hide or protect anything, because robots.txt is not a security measure. And it has a cost side: a crawler that waits between requests gets through fewer pages per visit, so a heavy delay also slows how quickly it reaches your new pages. Set the smallest delay that relieves the server, not the largest you can type.

How to add a crawl-delay, step by step

  1. Open the Robots.txt Generator. In the first group, list the user agents the rules apply to (use * for all crawlers, or name the specific crawler your logs identified).
  2. Add Disallow paths to block and Allow paths to reopen parts of a blocked section, one per line.
  3. Set the group's optional crawl-delay to the pause you want those crawlers to observe between requests.
  4. Add another group if one crawler needs different rules, for example a delay for one crawler and none for the rest.
  5. Add your sitemap URL, then copy or download the generated robots.txt and place it at the root of your domain.

Before the file goes live, run it through the Robots.txt Tester on this site with a few real paths, especially anything you meant to keep crawlable.

Worked example: slowing every crawler on a small site

Take a small shop site on shared hosting. The logs show crawlers in general, no single named culprit, fetching fast enough at midday to slow the checkout. The owner builds one group in the generator: user agent *, a Disallow for /tmp/, and a crawl-delay of 10. The finished file reads:

User-agent: *
Disallow: /tmp/
Crawl-delay: 10

Sitemap: https://example.com/sitemap.xml

Read it line by line. The group addresses every crawler. The Disallow keeps them out of /tmp/. The crawl-delay asks them to wait ten seconds between requests. The Sitemap line sits outside the group; our companion guide covers it in full.

The honest expectation: crawlers that honour crawl-delay, such as Bing, spread their visits out and the load from them drops. Any crawler that ignores the directive, Googlebot included, crawls exactly as before. If the load turns out to be Googlebot after all, the answer lies in hosting capacity, not in robots.txt.

Limitations and trade-offs

The generator writes the line correctly into your file; it cannot make any crawler obey it. Honouring crawl-delay is each crawler's choice, and the biggest crawler of all ignores it. That is the central limit, and no setting in the tool changes it.

The wider limits of robots.txt apply too. The file controls crawling, not indexing or security: a disallowed page can still appear in search results if other sites link to it, and because anyone can read the file, you should never list secret paths in it. The file must live at the root of the host, for example https://example.com/robots.txt, and each subdomain needs its own file, so a delay set on the main domain does nothing for a subdomain.

Finally, the trade-off runs both ways. A delay that relieves your server also stretches out the honouring crawler's coverage of your site. On a large site with frequent updates, an aggressive delay can leave new pages waiting longer to be fetched.

Common mistakes

  • Adding a crawl-delay to slow down Google. Googlebot ignores the directive. The file looks busy and nothing changes.
  • Setting a delay before checking the logs. If you have not identified which crawler causes the load, you are guessing.
  • Using the largest delay you can think of. The delay also slows how fast honouring crawlers reach your new pages. Use the smallest value that fixes the load.
  • Treating crawl-delay as a block. It changes pace, not permission. Keeping a crawler out of a path takes a Disallow line; keeping a page out of results is beyond robots.txt entirely.
  • Putting the delay on the wrong host. The file works per host, root only. A delay in the main domain's file does not reach a subdomain.

FAQs

What is a crawl-delay? An optional directive inside a robots.txt rule group. It asks the crawlers named in that group to pause for a set number of seconds between requests instead of fetching pages back to back.

Does crawl-delay slow down Googlebot? No. Crawl-delay is honoured by some crawlers, for example Bing, but it is ignored by Googlebot.

Where does the crawl-delay go in the file? Inside a rule group, alongside the user agents the group applies to and its Disallow and Allow paths. In the Robots.txt Generator it is an optional setting on the group, next to the paths.

Can a crawl-delay keep a page out of search results? No. robots.txt controls crawling, not indexing or security. A disallowed page can still appear in search results if other sites link to it.

How do I test a file that contains a crawl-delay? Use the Robots.txt Tester on this site with the generated content and a few real paths from your site, especially anything you meant to keep crawlable.

Conclusion

A crawl-delay is a small line with a specific audience: the crawlers that honour it. Added after a look at your logs, aimed at the group naming the crawler causing the load, and kept as small as the problem allows, it is a reasonable way to quiet an overloaded server. Added blindly, or aimed at Googlebot, it is decoration. The Robots.txt Generator puts the line in the right place inside your rule groups; the rest of the SEO Tools guides cover the neighbouring jobs.

Related guide: How to Reference Your Sitemap Inside Robots.txt.

References