Robots.txt Generator
Build a valid robots.txt for your site: set your sitemap, block the paths you want private, and choose how AI crawlers like GPTBot and ClaudeBot may access your content. Copy or download the result.
Your robots.txt
The preview is editable — tweak it directly, then copy or download. Upload the file to your site root as /robots.txt.
How it works
Enter your site URL — the sitemap field auto-fills with the standard /sitemap.xml location (you can override it).
List any paths you want to keep crawlers out of, one per line, like /admin or /private.
Pick an AI-crawler policy: allow all, block all, or choose per bot from GPTBot, ClaudeBot, PerplexityBot, Google-Extended, CCBot, and others.
The file preview updates live and warns about problems like relative paths or a non-absolute sitemap URL. Edit it directly if you want.
Copy the result or download it, then upload it to your site’s root as /robots.txt.
Frequently asked questions
Should I allow or block AI crawlers in robots.txt?
Allowing AI crawlers (GPTBot, ClaudeBot, PerplexityBot, and similar) makes it more likely assistants and AI search products can fetch, cite, and recommend your pages. Blocking them can limit training and some answer-engine use of your content, but it also reduces AI discovery and citations. For most marketing and content sites that want visibility, allow AI bots by default and only block specific user-agents if you have a clear licensing or brand reason.
What is the difference between Google-Extended and Googlebot?
Googlebot is Google Search’s crawler — keeping it allowed is essential for organic rankings and indexation. Google-Extended is a separate token for Google’s generative AI / training-related use; blocking Google-Extended does not remove you from Google Search. When deciding rules, allow Googlebot for SEO, and treat Google-Extended as an independent choice about AI-model use of your content.
Does Disallow make private pages secure?
No. Disallow only asks well-behaved crawlers not to fetch those URLs; robots.txt is public, so the paths you list are visible to anyone. It is not authentication, encryption, or access control. Use login, firewall, or server rules for real secrets, and noindex (or similar) when your goal is keeping a page out of search results rather than merely discouraging crawls.
What robots.txt defaults should a business use if it wants AI citations?
Start with a permissive User-agent: * that allows crawlable marketing content, keep Googlebot and Bingbot unrestricted, and allow major AI crawlers rather than blanketing them with Disallow. Add a Sitemap: line pointing at your absolute XML sitemap URL so search and AI bots can discover URLs efficiently. Reserve Disallow for admin, cart, account, internal search, and staging paths — not for pages you hope AI answers will quote.
Which paths should I usually Disallow, and should I declare a sitemap?
Common safe Disallow targets include /admin, /wp-admin, /cart, /checkout, /account, /login, /search, and preview or draft URL prefixes — thin or transactional URLs that waste crawl budget and rarely belong in results. Always prefer absolute Sitemap: URLs (https://example.com/sitemap.xml), and you may list more than one if you have separate sitemaps. Do not Disallow the same URLs you need indexed or cited; sitemap discovery only helps for URLs that are still allowed to be crawled.
Get help fixing this
Fortitude builds fast, search-friendly websites. Leave your email and we'll help you fix what's holding your site back.
More free tools
SERP Snippet Preview
Preview how your title and meta description will look in Google search results.
Meta Description Checker
Check any page’s meta description for length, clarity, and click-worthiness.
H1 Checker
Find missing, duplicate, or weak H1 headings on any page.
Canonical Checker
Verify canonical tags are present, absolute, and pointing to the right URL.
Robots.txt Checker
Check your robots.txt for syntax issues and crawler access, including AI bots.
Sitemap Checker
Discover and validate your XML sitemap, including sitemap index files.
llms.txt Validator
Validate your llms.txt structure so AI assistants can understand your site.
llms.txt Generator
Generate a draft llms.txt from your site’s pages and description.
AI SEO Audit
A full AI-readiness SEO report: crawlability, metadata, structure, and fixes.
GEO Audit
Check how ready a page is for AI search and answer engines — not just Google.
Schema Markup Checker
Find and validate the JSON-LD structured data on any page.
AI Readability Checker
Check how easily AI assistants can parse, summarize, and quote your page.
FAQ Generator
Generate FAQ questions and answers from your page content, ready for FAQPage schema.
Citation Readiness Checker
Check how clearly your page states facts an AI assistant could reference.
Entity Clarity Checker
Check how clearly your page identifies who or what it is about.
AI Overview Readiness
Check how ready a page is to answer a specific query in an AI-generated answer block.
PageSpeed & Core Web Vitals Checker
Check Core Web Vitals — LCP, INP, and CLS — for any page via Google PageSpeed Insights.