One per line, like /admin/ or /cart. Leave empty to allow everything.
Paths to allow even though a parent folder is blocked, like /admin/help/.
The full address of your sitemap.xml.
- Adding your sitemap URL helps crawlers find all your pages. A scan generates a sitemap.xml for you if you need one.
Upload it to your site root so it loads at yoursite.com/robots.txt, then run the free SEO checker to confirm it works.
Why it matters
A single wrong line in robots.txt can hide your whole site from Google, and you may not notice until traffic drops. Build it from options, not from memory. Read the robots.txt guide →
Already have one? Check which AI crawlers it blocks →Frequently asked
Where does the robots.txt file go?
In the root of your domain, so it loads at yoursite.com/robots.txt. Crawlers only look there; a robots.txt in a subfolder is ignored. Each subdomain needs its own.
Does robots.txt keep a page out of Google?
Not reliably. It asks crawlers not to fetch a page, but a blocked URL can still be indexed if other sites link to it, and Google can't see a noindex tag on a page it isn't allowed to crawl. To keep a page out of search, use a noindex tag or put it behind a login.
Should I block AI crawlers?
It depends on what you want. Blocking the training crawlers (GPTBot, ClaudeBot, Google-Extended) opts your content out of model training and leaves search alone. Blocking the AI search crawlers (OAI-SearchBot, Claude-SearchBot, PerplexityBot) makes it less likely your pages are cited in ChatGPT, Claude or Perplexity answers, so most sites should leave those allowed.
What does an empty "Disallow:" mean?
It means nothing is off limits. A robots.txt that says only "User-agent: *" and "Disallow:" allows every crawler to visit every page. That is the right file for most small sites.
Is the file I get ready to upload?
It is a sound starting point built from your choices. Check the paths against your real site structure before you upload it, since a wrong Disallow can hide pages from search. After you upload it, our free SEO checker confirms the file loads and that the AI crawlers you meant to allow can still get in.
Fix everything at once
Sign up free. Peak Visibility generates a robots.txt along with a sitemap, schema, meta tags and alt text for your whole site, ready to deploy.