Robots.txt Generator
Free robots.txt generator with sitemap, blocked folders, WordPress preset and AI crawler blocking options.
AI crawlers
Tick to block bots that collect content for AI models.
Your robots.txt
What Is robots.txt?
robots.txt is a small text file at the root of your website (for example example.com/robots.txt) that tells search engine crawlers which parts of your site they may visit. Use it to keep crawlers out of admin areas, search result pages or duplicate content, and to point them to your XML sitemap. This generator also lets you decide whether AI crawlers may use your content.
How to Use
- Allow all search engines (recommended for most sites).
- Add your sitemap URL — create one with our XML Sitemap Generator.
- List any folders to block, or use the WordPress preset.
- Choose AI crawlers to block, then copy or download the file and upload it to your site's root folder.
Important Notes
- robots.txt is not security. It is a request, not a lock. Never use it to hide private data.
- Blocking a page does not remove it from Google. Use a
noindexmeta tag instead — create it with our Meta Tag Generator. - Don't block CSS and JavaScript that Google needs to render your pages.
- Blocking AI crawlers only works for bots that respect robots.txt.
Frequently Asked Questions
Where do I upload robots.txt?
In the root folder of your domain, so it opens at yoursite.com/robots.txt. On WordPress, SEO plugins like Yoast can edit it for you.
Does blocking Google-Extended remove my site from Google Search?
No. Google-Extended only controls use of your content for Google AI models; Google Search uses Googlebot.
