Use case

Robots.txt generator for AI crawlers

AI crawlers only follow the robots.txt they can fetch from your domain root. A file in a docs folder does nothing. Decide which bots may train or browse, generate the file, and then check the live URL.

Decide access before you generate rules

Allowing GPTBot, Google-Extended, ClaudeBot, and PerplexityBot is a product decision, not a default. Some teams want their public docs and articles usable as sources. Others do not want training crawlers on the site. Write the decision down, then generate the file to match it.

Blocking a bot in robots.txt stops well-behaved crawlers from fetching. It does not delete URLs that are already known, and it does not replace a noindex tag when the goal is “do not show this URL in Google.”

Keep the file short enough to reason about

A robots.txt full of copied disallow lines is how sites accidentally block CSS, their own sitemap, or every crawler including Googlebot. Start from a short allow-list, add only the bots you have a decision for, and include the sitemap URL.

Verify the live file, not the draft

Upload the file to the root so it loads at /robots.txt. Then run the AI robots.txt checker against the public URL. A staging file and a production file drift apart the moment someone hotfixes one of them.

Generate a robots.txt for AI crawlers

This is the free Robots.txt Generator. It runs in the browser or through the public tool endpoint. Nothing is saved to a PrismSEO workspace.

Generated robots.txt

User-agent: *
Disallow: /wp-admin/
Disallow: /admin/
Disallow: /cart/

Run this on your own Search Console data

The steps and tools above work from what you paste. PrismSEO reads the property, drafts the article from the opportunity, and publishes it to WordPress, Framer, Webflow, or a webhook after you review it.

Related reading

FAQ

Will blocking AI crawlers help my Google rankings?

No. Googlebot is a different user agent. Rules for GPTBot do not change how Google crawls you. Do not disallow Googlebot unless you mean to remove pages from crawling.

Should I block all AI crawlers by default?

Only if that is the policy you want. Articles you hope will be cited need to be fetchable by the crawlers you care about. Blocking them and then wondering why you are not cited is the same decision made twice.

Does robots.txt stop a page from being indexed?

No. A disallow can prevent crawling and still leave a URL indexed if other sites link to it. Use noindex on the page when it must stay out of search results.