Robots.txt Generator
One wrong line in robots.txt can deindex a site — 'Disallow: /' has ended careers. This generator builds a correct file from safe presets (allow-all, staging block, WordPress) plus your custom paths, a Sitemap line, and optional explicit allows for AI crawlers like GPTBot and ClaudeBot.
User-agent: * Disallow:
In the AI-search era, robots.txt is also your answer-engine policy: allowing AI crawlers makes your content quotable in ChatGPT, Claude, and Perplexity answers — free brand distribution for most publishers.
How to Use the Robots.txt Generator
- 1Pick a preset that matches your situation.
- 2Add any extra paths to block (admin, cart, internal search).
- 3Add your sitemap URL and choose AI-crawler policy.
- 4Upload as /robots.txt and test in Search Console's robots tester.
Frequently Asked Questions
Does robots.txt remove pages from Google?
Should I allow AI crawlers like GPTBot?
What must every robots.txt include?
Related Free Tools
Compose robots directives without memorizing syntax.
URL list in, standards-valid sitemap.xml out.
Old→new pairs become ready 301 rules.
Built by GuestPostOn — the free guest post marketplace with 10,000+ verified sites, full SEO metrics, and transparent pricing. Browse verified guest post sites →