Build a correct robots.txt with allow/disallow rules, crawl-delay and sitemap directives using handy presets. Free and runs in your browser.

Build a clean robots.txt right in your browser. Nothing is uploaded — everything is generated locally.

Builder
Quick presets
User-agent groups
Sitemaps
robots.txt

						

Place this file at your site root so it is reachable at https://your-site.com/robots.txt


About robots.txt Generator

This robots.txt generator builds a syntactically correct robots.txt file from user-agent groups, each with its own Allow and Disallow paths and an optional Crawl-delay. Add as many groups as you need — a wildcard * group for all crawlers plus specific rules for individual bots — and list one or more Sitemap directives at the end.

Quick presets cover the common starting points: allow everything, block everything, a sensible WordPress configuration, and a block-list for common bots. Start from a preset, then adjust the paths to match your site structure.

The file is generated locally in your browser and never uploaded. Copy the output or download robots.txt, then place it at your site root so crawlers find it at https://your-site.com/robots.txt — that exact location is the only one search engines check.

How to use robots.txt Generator

  1. Optionally start from a preset: Allow all, Block all, WordPress, or Block common bots.
  2. Edit the user-agent for each group (for example * or Googlebot) and add Disallow and Allow paths.
  3. Set an optional Crawl-delay in seconds and add more groups for other crawlers if needed.
  4. Add your sitemap URLs so crawlers can discover them.
  5. Copy the result or download robots.txt, and upload it to your site root.

Frequently asked questions

At the root of the host, e.g. https://example.com/robots.txt. Crawlers only request that path — a robots.txt in a subdirectory is ignored.

Disallow blocks crawling of matching paths for that user-agent group; Allow re-permits a subpath inside a disallowed area, such as allowing /admin/help/ under a disallowed /admin/.

Not reliably. It stops crawling, but already-known URLs can still appear without a snippet. To keep a page out of the index, use a noindex robots meta tag and let it be crawled.

No. Some crawlers honor it, but Googlebot ignores the directive — crawl rate for Google is managed through Search Console instead. It remains useful for other bots.

It is free, and the file is built entirely in your browser — the rules you enter are never sent to a server.

Need help?
Found an issue with this tool? Let our team know.
Report an issue

Add this free tool to your own website — copy and paste the code below.