EN
PortuguêsEnglishEspañol
All tools
Developer tools 100% free

robots.txt generator

Create your site's robots.txt file: allow or block search and AI bots and private folders, and point to your sitemap.

How to use

Thank you so much for helping!

Every donation helps pay for the servers and keeps the tools free for everyone. Pick or type an amount:

Secure payment by Stripe. Opens in a new tab.

Back to SEO and publishing

robots.txt generator

Available in: PortuguêsEspañolEnglish

Advertisement

robots.txt generator: what it is for

Build your site's robots.txt file without memorizing the syntax. Choose whether bots can crawl the site, list the folders and pages to keep out, the exceptions and the sitemap address.

Check the bots you want to block, such as AI bots (GPTBot, ClaudeBot, Google-Extended, CCBot, PerplexityBot) and SEO tool bots. Copy or download the ready file.

How to use

  1. Choose the general rule and enter the sitemap.
  2. List blocked folders and check the bots.
  3. Copy or download robots.txt.

When to use it

  • Creating robots.txt for a new site.
  • Preventing AI bots from using the site's content.
  • Blocking admin areas and search pages.

Frequently asked questions

Where do I put robots.txt?

At the root of the domain, available at yoursite.com/robots.txt. Each subdomain needs its own file.

Does blocking in robots.txt remove a page from Google?

Not necessarily. robots.txt prevents crawling, but a blocked page can still appear if it has links. To remove it from the index, use the noindex meta tag and leave the page crawlable.

How do I block AI bots?

Check the AI bots in the list, such as GPTBot (OpenAI), ClaudeBot (Anthropic), Google-Extended and CCBot (Common Crawl). They state that they respect robots.txt.

Similar tools

The tools are provided as is, without warranty. We are not responsible for the results or for how they are used.