Free Online Robots.txt Generator
Quick answer: Control how search engines crawl your site. Our free robots.txt generator builds a valid robots.txt file rule by rule — allow or block specific paths, target individual user-agents like Googlebot, add a crawl-delay, and point to your sitemap. Copy the result or download it, then upload it to your domain root. No signup, everything runs in your browser.
Control how search engines crawl your site. Our free robots.txt generator builds a valid robots.txt file rule by rule — allow or block specific paths, target individual user-agents like Googlebot, add a crawl-delay, and point to your sitemap. Copy the result or download it, then upload it to your domain root. No signup, everything runs in your browser.
| User-agent | Directive | Path |
|---|
/robots.txt (e.g. example.com/robots.txt), then test it in Google Search Console's robots.txt report.✓ Free forever · ✓ No signup · ✓ Runs in your browser — your data never leaves your device.
How to Use the Robots.txt Generator
- Enter your site URL so the Sitemap line can be built correctly, then pick a preset or build rules manually.
- Add one rule per row: the user-agent it applies to (* = all crawlers), Allow or Disallow, and the path.
- Optionally add your sitemap URL and a crawl-delay for bots that request one politely.
- Click Copy or Download, then upload the file to your domain root as /robots.txt.
- Test it in Google Search Console (Settings → robots.txt) and re-check it any time you restructure your site.
Why Use Our Robots.txt Generator?
- Visual rule builder — one row per rule, no memorizing robots.txt syntax.
- Four ready presets — allow-everything, block-everything, a WordPress starter, and an AI-crawler block.
- User-agent targeting — set different rules for Googlebot, Bingbot, AI crawlers, or all bots at once.
- Sitemap & crawl-delay lines — generated automatically from your inputs.
- Copy or download — one click to grab the file, ready to upload to your domain root.
Frequently Asked Questions
What is a robots.txt file?
Where do I put my robots.txt file?
https://example.com/robots.txt. Bots only check that one location, so a robots.txt in a subfolder (example.com/blog/robots.txt) is ignored.