Skip to content
ToolHub

Robots.txt Generator

Create robots.txt with standard, block-all, allow-all or custom per-bot rules.

🤖
AdvancedSEO Pro
Robots · Sitemap · llms.txt · AI Files
✨ Result
—
—
History 0
📋
No activity yet
Your history will appear here

About the Robots.txt Generator

robots.txt is a plain-text file at the root of your site (for example example.com/robots.txt) that tells crawlers which parts of the site they may visit. This generator has four modes:

  • Standard: allows everything (Disallow: with no path).
  • Block everything: for staging or development sites.
  • Allow everything explicitly: Allow: /.
  • Custom rules: write your own groups, for example separate rules for Googlebot and AI crawlers such as GPTBot.

You can add a crawl delay and any number of Sitemap: lines.

How to use the Robots.txt Generator

  1. Choose a mode. Use Custom to write rules for specific user agents.
  2. Add your sitemap URLs, one per line.
  3. Add a crawl delay only if a crawler is overloading your server.
  4. Save the output as robots.txt in the root of your domain and check it in Google Search Console.

Example

Custom rules

User-agent: *
Disallow: /admin/
Disallow: /cart/

User-agent: GPTBot
Disallow: /

Sitemap: https://example.com/sitemap.xml

Frequently asked questions

Does robots.txt hide pages from Google?

No. It controls crawling, not indexing. A blocked page can still appear in results if other sites link to it. Use a noindex meta tag (on a crawlable page) to keep it out of results.

Is Crawl-delay supported?

Bing and some other crawlers respect it. Googlebot ignores it.

Can I block AI crawlers?

Yes. Add a group for each AI crawler’s user agent with Disallow: /. Well-behaved crawlers follow it; robots.txt is a request, not an enforcement mechanism.

Use ↑ ↓ to move, Enter to open.