Home Tools Blog About

Robots.txt Generator

In short

Build a robots.txt with allow and disallow rules, AI bot blocking, crawl-delay, and sitemap links, with presets and live output.

  • Runs in your browser
  • Nothing uploaded
  • Free, no sign-up

Default rules (User-agent: *)

Block specific crawlers

Sitemaps

robots.txt

Place the file at the root, such as https://yoursite.com/robots.txt

🛡
100% PrivateNo server uploads, ever
InstantRuns in your browser
💧
No WatermarksClean output, always
🆓
Free ForeverNo accounts, no limits

How to Use Robots.txt Generator

  1. Pick a preset or start fresh. Allow all, Block all, WordPress, and Block AI bots give you a sensible starting point.
  2. Add allow and disallow rules. Add a rule for each path you want to open or close for the default User-agent.
  3. Block specific crawlers. Tick crawlers such as GPTBot or CCBot to keep them out with their own block group.
  4. Add your sitemaps. List one or more sitemap URLs so crawlers can find your pages.
  5. Copy the file. Save the output as robots.txt at the root of your site.

Frequently Asked Questions

What is a robots.txt file?

It is a plain text file at the root of your site that tells crawlers which paths they may or may not request.

Where do I put it?

At the very root, so it is reachable at yoursite.com/robots.txt. Crawlers always look for it there.

Can I block AI crawlers?

Yes. Tick crawlers such as GPTBot, Google-Extended, and CCBot and the tool adds a block group for each one.

Does Disallow stop a page being indexed?

Not always. Disallow stops crawling, but a blocked URL can still be indexed if linked. Use a noindex tag to keep a page out of results.

What is crawl-delay?

It asks a crawler to wait a number of seconds between requests. Some engines honour it, others ignore it.

Is my data sent anywhere?

No. The file is built in your browser, so nothing you enter is uploaded.

Keep going

Related Tools

All Seo tools →
Share

Embed this tool

Add this free tool to your website. Copy and paste the code: