Robots.txt Generator
Create a robots.txt file for your website. Free, no sign-up, works in your browser.
Block AI crawlers:
🔒 100% private — processing happens in your browser. Nothing is uploaded.
How to create a robots.txt
- Choose the default: allow or block everything, and an optional crawl-delay.
- List paths to disallow, and exceptions to allow, one per line.
- Add your sitemap URLs.
- Optionally block AI crawlers such as GPTBot and CCBot, then copy the file.
Tell crawlers what to skip
robots.txt sits at the root of your site (example.com/robots.txt) and tells search engines which folders not to crawl, such as admin areas, search results or cart pages. Listing your sitemap helps Google find all pages.
It is a request, not protection — private files must be password-protected. Never block your whole site by mistake: check the result before uploading.
Questions and answers
Does robots.txt remove a page from Google?
No, use a noindex tag for that; blocked pages can still appear.
Should WordPress sites block /wp-admin/?
Yes, but allow /wp-admin/admin-ajax.php.
Do AI bots respect it?
The major ones like GPTBot and CCBot say they do.
Is it free?
Yes, no sign-up.