Googlebot
Leave Googlebot allowed for public pages you want eligible for Google Search discovery. Add private path blocks only where needed.
Use this free generator when you want Googlebot crawlable for Search, Google-Extended handled separately, private paths blocked, AI crawler rules written as explicit reviewable text, and key paths tested before publishing.
A safe Google robots.txt draft usually starts by allowing Googlebot, then adds private path blocks and a separate Google-Extended rule. Do not use one blanket User-agent: * block unless you really want to block normal search crawling too.
Use the generated draft to preview whether Googlebot can reach public paths while admin, cart, checkout, and policy-controlled crawlers stay blocked. This is a helper for common robots.txt rules; validate live URLs in Search Console after publishing.
| Crawler | Path | Result | Winning rule |
|---|
Before you copy the file, review the crawler-by-crawler outcome. This preview keeps the important SEO question visible: Googlebot should stay open if you want Google Search traffic, while Google-Extended, GPTBot, OAI-SearchBot, and other crawler policies can be decided separately.
| User-agent | Outcome | Reason |
|---|---|---|
| Generate a robots.txt draft to preview crawler outcomes. | ||
The common mistake is using robots.txt as a giant off switch. If organic search matters, write Googlebot and Google-Extended as separate rules and keep the reason visible for future maintainers.
Leave Googlebot allowed for public pages you want eligible for Google Search discovery. Add private path blocks only where needed.
Use Google-Extended as a separate policy line. Blocking Google-Extended should not automatically mean blocking Googlebot.
OAI-SearchBot and GPTBot have different jobs, so the generator lists them separately instead of hiding them behind one wildcard rule.
For a public site that wants Google Search traffic while blocking broad training or dataset crawlers, start with an explicit draft like this, then tune it for your site.
User-agent: *
Allow: /
Disallow: /admin/
Disallow: /cart/
Disallow: /checkout/
User-agent: Googlebot
Allow: /
Disallow: /admin/
Disallow: /cart/
Disallow: /checkout/
User-agent: Google-Extended
Disallow: /
User-agent: GPTBot
Disallow: /
Sitemap: https://example.com/sitemap.xml
| Step | What to do | Proof to keep |
|---|---|---|
| 1. Generate | Use the Googlebot safe preset and add private paths such as admin, cart, checkout, account, or staging. | Copied robots.txt draft |
| 2. Check | Paste the output into the Googlebot robots.txt checker and review blocked crawlers. | Checker report |
| 3. Publish | Upload to /robots.txt, confirm it returns HTTP 200, and keep the sitemap line valid. |
Live URL and HTTP status |
| 4. Monitor | Use Search Console and server logs to verify Googlebot can fetch the public pages you want indexed. | Search Console and log proof |
Search Console already showed impressions for "robots txt google generator". This page turns that learning into an exact, useful URL with a working tool, proof-linked answer page, and internal links that match the search intent.
The page answers the immediate Google robots.txt job first, then links to deeper crawler policy guidance when someone needs it.
Compare Googlebot and Google-ExtendedThe answer database maps the observed query to a proof-linked answer so assistants can cite the tool without searching the whole site.
Open answer search JSONIf you need to review OAI-SearchBot, GPTBot, Applebot, PerplexityBot, CCBot, and other AI crawler rules together, run the general checker too.
Open the AI crawler robots.txt checkerNot if you want normal Google Search visibility for public pages. Block specific private or noisy paths instead.
That is a site policy decision. The key is to decide it separately from Googlebot and document the reason.
Use wildcard rules carefully. A broad User-agent: * block can affect many crawlers at once.