SEO

Robots.txt Generator

Choose which crawlers may visit and which paths to keep private, and get a correct robots.txt with your sitemap line in seconds.

Crawlers

Checked crawlers are allowed. Unchecked crawlers are blocked entirely.

What robots.txt does

The robots.txt file sits at the root of your domain and tells crawlers which parts of the site they may fetch. It is a request, not a lock: well behaved bots such as Google and Bing follow it, while malicious scrapers ignore it. Use it to keep crawl budget on the pages that matter and to opt out of AI training crawlers if you choose. It does not remove pages from search results; use a noindex tag for that.

How to use the generator

  • Leave search engine bots allowed unless you have a reason to block them.
  • Decide about AI crawlers such as GPTBot and ClaudeBot. Blocking them keeps your content out of training sets without affecting search.
  • List paths that should never be crawled: admin areas, cart and checkout, internal search results, thank-you pages.
  • Add your sitemap URL so every crawler discovers it without Search Console.

Where to put it

Save the output as robots.txt and upload it to the root of your site so it loads at yoursite.com/robots.txt. Test the live file with the robots.txt tester and validate the sitemap you referenced with the sitemap checker. Never block CSS or JavaScript folders; Google needs them to render your pages correctly.

FAQ

Frequently asked questions

Will blocking a page in robots.txt remove it from Google?
No. Blocked pages can still appear in results if other sites link to them, just without a description. To remove a page, allow crawling and add a noindex meta tag, or remove the page and return a 404 or 410.
Should I block AI crawlers?
That is a business decision. Blocking GPTBot, ClaudeBot and CCBot keeps your text out of model training data. It has no effect on Google or Bing rankings.
What does Crawl-delay do?
It asks crawlers to wait a number of seconds between requests. Bing and Yandex respect it; Google ignores it. Only set it if a bot is overloading a small server.
Do I need a robots.txt at all?
Every site benefits from one, even if it only contains an Allow all rule and a sitemap line. A missing file returns a 404 that some crawlers treat as a full allow, which is fine, but explicit is better.
Need the real thing?

We build the sites and systems these tools measure.

Digzy Technology designs fast, search-friendly websites, stores and apps. Tell us what you have in mind.

Chat with us