Robots.txt Generator

Control how search engines crawl your website.

About this tool: Robots.txt Generator

Build a robots.txt file that tells search engine crawlers which parts of your site they may visit. Pick a user agent, add allow and disallow paths, set an optional crawl delay and link your sitemap.

How to use it

  1. Choose a user agent: all bots, a specific search engine, or a custom one.
  2. Add the paths to allow and the paths to disallow.
  3. Optionally set a crawl delay and add your sitemap URL.
  4. Copy or download the file and place it at the root of your domain as /robots.txt.

Frequently asked questions

Does robots.txt hide pages from Google?
Not reliably. It asks well-behaved crawlers not to fetch a page, but a blocked URL can still appear in search results if other sites link to it. Use a noindex tag or authentication to keep pages out.
Where must robots.txt be located?
At the root of the host, for example https://example.com/robots.txt. Crawlers do not look for it in subfolders.
Do all search engines respect crawl-delay?
No. Bing and some others honor it, but Google ignores the crawl-delay directive.

All Tools