Technical Tool

Robots.txt Generator

Tell search engines and AI crawlers what they can and can't visit. Start from a preset, choose which bots to allow, test any URL, then download your file. Everything runs in your browser.

  • 6 presets
  • 24 named crawlers
  • AI training vs AI search
  • Live URL tester
1

Start from a preset

Pick the closest match, then fine-tune below.

2

Rules for all crawlers

These apply to every bot that doesn't have its own rules below.

3

Choose crawlers

Default follows the rules above. Allow or Block gives a bot its own rules.

AI shortcuts:
4Custom crawler rulesOptional. Set paths for any other bot by name.
5

Sitemaps

Helps crawlers find every page. Use full URLs.

↧Import an existing robots.txtLoad your current file to edit or test it.
robots.txt 0 lines

            

Test a URL

Upload the file to your site root so it opens at https://yourdomain.com/robots.txt. Then check it in Google Search Console under Settings › robots.txt.

Robots.txt in plain English

  1. User-agent names the crawler a group of rules is for. * means every crawler.
  2. Disallow blocks a path. Disallow: / blocks the whole site.
  3. Allow opens a path inside a blocked folder. The longest matching rule wins.
  4. * matches any characters and $ marks the end of a URL, e.g. /*.pdf$.
  5. Sitemap points crawlers to your list of pages. Use the full URL.

Frequently asked questions

Where do I put robots.txt?

Upload it to the root of your domain so it opens at https://yourdomain.com/robots.txt. Each subdomain needs its own file.

Does robots.txt hide pages from Google?

No. It stops crawling, not indexing. A blocked page can still appear in results if other sites link to it. To keep a page out of search, use a noindex tag or password protection, and don't block it in robots.txt.

Should I block AI crawlers?

It depends on your goals. Blocking AI training crawlers like GPTBot and Google-Extended keeps your content out of future model training. Blocking AI search crawlers like OAI-SearchBot and PerplexityBot can stop you appearing in AI answers. Many businesses block training but allow search.

Does Google follow Crawl-delay?

No. Google ignores Crawl-delay. Bing and some other crawlers respect it.

Not sure what to block? Our technical SEO team can help.