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.
Frequently asked questions
Will blocking a page in robots.txt remove it from Google?
Should I block AI crawlers?
What does Crawl-delay do?
Do I need a robots.txt at all?
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.