Robots.txt Rule Builder

Draft robots.txt Allow and Disallow rules and a sitemap line.

Runs in your browser. Nothing you enter is sent to our servers.

Input and options

Everything runs locally in your browser. No text is uploaded.

Result

Enter your details and select Run tool.

How to use this tool

Enter path prefixes that crawlers should not fetch and optional exceptions. The output targets all bots (User-agent: *). Add a full sitemap URL if available. Review your server’s existing rules before replacing them, and remember: robots.txt cannot keep sensitive data private or reliably prevent indexing.

Questions and answers

Does Disallow remove pages from Google?

No. Disallow stops crawling by cooperative bots but a URL may still be indexed from external links. Use appropriate noindex or access control instead.

Can different search engines behave differently?

Yes. Robots directives depend on bot behavior and supported syntax. Test important rules with search engine tools.