- Free tools
- robots.txt generator
robots.txt generator
Answer three questions and copy a correct robots.txt file.
User-agent: *
Allow: /
Save this as robots.txt at the root of your site, then check it with the robots.txt tester.
What it checks
- Folders to keep crawlers out of
- Optional blocks for AI training crawlers
- Your sitemap line
- A safe “block everything” option for test sites
How to use it
- Fill in your sitemap address and any folders to keep out.
- Choose whether to block AI crawlers.
- Copy the result into a file called robots.txt at your site’s root.
Why it matters
robots.txt is tiny but powerful: it tells crawlers where they may go. A generated file avoids the common mistakes that hide sites from Google.
Using AgencyX? Read the guide: how to fix this in your dashboard.
Common questions
Do AgencyX sites need this?
No — they have one already, editable in Settings → SEO. This is for any website.
Which AI crawlers does it block?
GPTBot, ClaudeBot, Google-Extended, CCBot, PerplexityBot, Bytespider, Meta’s crawler and Applebot-Extended.
Can robots.txt hide private pages?
No — it’s public and only a request. Protect private pages with a password.
Want a site that passes these checks on its own?
AgencyX websites come with titles, structured data, sitemaps, fast pages, SSL and a daily health check built in. Free to start.