Free SEO Tool
Robots.txt Generator
Build a clean robots.txt in your browser. Start from a preset, set allow and disallow rules per user-agent, add your sitemap, and copy the result — or paste an existing file to validate it. No signup.
How it works, plainly: this is a rule-based generator, not an AI model. Every result is assembled from tested formulas, templates and validators that run entirely in your browser — no model call, no cost, and nothing you type is uploaded.
- Free
- No signup
- Live validator
- Runs in your browser
Paste a robots.txt and click Validate.
How it works
- 01 Start from a preset
Allow everything, block everything, WordPress, or block common AI bots — then tweak it.
- 02 Set your rules
Add user-agent groups with allow and disallow paths, and a crawl-delay if you need one.
- 03 Add your sitemap
Drop in your sitemap URL — the one directive every robots.txt should have for discovery.
- 04 Copy or validate
Copy or download robots.txt, or switch to Validate to check an existing file for errors.
Next step
FAQ
Frequently asked questions
- Where does robots.txt go?
- At the root of your domain: yourdomain.com/robots.txt. It must be exactly there — crawlers don't look in subfolders. Upload the file you generate here to your site's root directory.
- Does robots.txt control indexing?
- Not directly. Disallow stops compliant crawlers from fetching a URL, but a blocked URL can still be indexed if other sites link to it. To keep a page out of search, use a noindex meta tag or header — and don't disallow it, so crawlers can actually see the noindex.
- Should I list my sitemap in robots.txt?
- Yes. A 'Sitemap:' line with the absolute URL helps every search engine discover your pages, and it's the one line we add by default. You can list more than one sitemap if your site is split across several.
- What does each robots.txt directive actually do?
- User-agent opens a group and names the crawler it applies to. Disallow blocks a path prefix for that group; Allow carves an exception back out of a Disallow. Sitemap points to an absolute sitemap URL and is read regardless of group. Crawl-delay asks for a pause between requests and is not supported by Google. Host and clean-param are Yandex-specific. The Validate tab here accepts those seven and flags anything else as non-standard.
- How do I stop AI crawlers from training on my site?
- Pick the 'Block common AI bots' preset. It writes a Disallow: / group for GPTBot (OpenAI), CCBot (Common Crawl) and Google-Extended (Google's AI training access) and leaves every other crawler allowed, so your search visibility is untouched. These rules are honored voluntarily — robots.txt is a request, not an enforcement mechanism, so a crawler that ignores it will still fetch your pages.
- Is it free and private?
- Yes — no signup, no limits, and everything runs in your browser. Your rules and paths are never uploaded.