robots.txt
robots.txt generator & tester
Choose which search engines and AI bots may crawl your site, add your sitemap, then test any URL against the rules.
2. Generate the file
Google ignores changefreq and priority; lastmod is used when accurate.
Search & AI bots
| Bot | Used for | Rule |
|---|
Test a URL
Current live robots.txt
Questions
Will blocking GPTBot remove me from ChatGPT?
GPTBot is OpenAI's training crawler. ChatGPT search uses OAI-SearchBot. Blocking GPTBot stops training use; to appear in ChatGPT search, keep OAI-SearchBot allowed.
Does robots.txt hide a page from Google?
No. robots.txt stops crawling, not indexing. To keep a page out of search results, use a noindex tag and let Google crawl it.
Where do I upload robots.txt?
It must be in the root folder so it opens at https://yourwebsite.com/robots.txt. There can be only one robots.txt per domain.