Choose a preset or add your own rules to build a robots.txt file telling crawlers which parts of your site to avoid. Add your sitemap address so search engines can find it.
Loading the tool…
How it works
- Rules are grouped under each User-agent in the order you enter them. Paths must start with / . Sitemap lines must be absolute URLs.
- Runs entirely in your browser: what you paste is not sent anywhere.
Assumptions and limits
- robots.txt is a request, not security: it does not stop access and it publicly lists paths. Do not use it to hide private pages: use authentication. “Disallow: /” blocks the whole site from well-behaved crawlers. Google ignores crawl-delay.
Frequently asked questions
Does Disallow remove a page from Google?
Not reliably. Blocked pages can still be indexed from links. Use noindex or authentication to keep pages out.