Zokilos

robots.txt Generator

Build a robots.txt with crawl rules for search engines

Default rule (User-agent: *)


Custom bot rules


Output

What Is a robots.txt Generator?

A robots.txt generator builds the plain-text file that tells web crawlers which parts of a site they're allowed to visit — instead of you writing the syntax by hand.

How to Generate a robots.txt File

1

Pick a preset, or set your own disallow/allow paths.

2

Add any custom bot rules and sitemap URLs.

3

Copy or download the result.

Is This Tool Free?

Yes — there's no paywall, no watermark, and no sign-up required.

What Does robots.txt Actually Do?

It's a set of instructions for well-behaved crawlers — search engines, mostly — about which paths on your site they should or shouldn't fetch. Each rule targets a user-agent (a specific bot, or * for all of them) with Allow and Disallow paths.

Is robots.txt Necessary?

Not strictly — search engines will crawl a site without one. It's useful when you specifically want to keep well-behaved crawlers out of certain paths, like an admin area, a staging section, or internal search result pages that don't need to be crawled.

Does Crawl-Delay Actually Work?

Not for Google — Googlebot ignores the Crawl-delay directive entirely, no matter what value you set. Some other crawlers, like Bing's and Yandex's, do respect it. If your goal is specifically to slow down Google, this field won't do that.

robots.txt Isn't a Security Tool

Disallowing a path is advisory, not enforcement — well-behaved crawlers respect it, but it doesn't restrict access the way a password would, and it's publicly readable by anyone. A disallowed URL can still end up indexed if another page links to it, since robots.txt blocks crawling, not necessarily indexing. Don't rely on it to hide anything sensitive.

Using the Presets

  • Allow All Crawlers — opens the whole site up
  • Block All Crawlers — disallows everything for every bot
  • WordPress Defaults — disallows /wp-admin/ and /wp-includes/, with admin-ajax.php explicitly allowed

Adding Custom Bot Rules

Beyond the default User-agent: * rule, add a specific bot's name (like Googlebot or Bingbot) and give it its own set of disallowed paths — useful when you want different rules for different crawlers instead of one blanket policy.

Where to Put Your robots.txt File

It has to sit in the root of your domain, reachable at exactly yourdomain.com/robots.txt — it won't be found or respected in a subfolder.

Is My Data Ever Sent to a Server?

No — this page has no upload step at all. Everything is built entirely in your browser using JavaScript, and nothing is ever sent anywhere.

Limitations of This robots.txt Generator

  • No validation against a live site's existing robots.txt
  • Doesn't check your syntax against a specific crawler's quirks
  • Won't restrict access — advisory rules only, not a security control

Benefits of Using This Tool

  • Nothing ever uploaded — runs entirely in your browser
  • Presets for the most common setups
  • Per-bot custom rules and sitemap links in one file
  • Free, with no sign-up required

Frequently Asked Questions About robots.txt

Is this robots.txt generator actually free?

Yes — there's no paywall, no watermark, and no sign-up required.

Is robots.txt necessary?

Not strictly. Search engines will crawl a site without one. It's useful when you specifically want to keep well-behaved crawlers out of certain paths, like an admin area or a staging section.

Does Crawl-delay actually work?

Not for Google — Googlebot ignores the Crawl-delay directive entirely. Some other crawlers, like Bing's and Yandex's, do respect it. Setting it won't slow down Google's crawling.

Does robots.txt actually block or hide pages?

No, it's advisory only. Well-behaved crawlers respect it, but it doesn't restrict access the way a password would. A disallowed URL can still end up indexed if another page links to it — robots.txt blocks crawling, not necessarily indexing.

Is my data ever sent to a server?

No. Everything is built entirely in your browser — nothing is uploaded or sent anywhere.

Where does the robots.txt file need to go?

In the root of your domain, so it's reachable at yourdomain.com/robots.txt exactly — it won't be found in a subfolder.