Robots.txt Generator

Create a simple robots.txt file and understand what each rule does before copying it. The tool warns that robots.txt controls crawling, not guaranteed removal from search results.

Live preview

Ready.

What this generator does

How to use

  1. Start with the default all-crawlers group.
  2. Add only paths you intentionally do not want crawled.
  3. Add the absolute sitemap URL.
  4. Review the generated file and warnings.
  5. Copy to /robots.txt at the site root.

Best practices

Frequently asked questions

Can robots.txt remove a URL from Google?

Not reliably. It primarily controls crawling; use the appropriate indexing controls when you need a page excluded.

Where should the file live?

At the root of the host, for example https://example.com/robots.txt.

Related tools & guides