Robots.txt Generator

Create a robots.txt file for your website with visual controls.

Rule 1
robots.txt
User-agent: *
Allow: /

What is the Free Robots.txt Generator?

The free Robots.txt Generator builds a valid robots.txt file through a form-based interface — no memorising syntax required. Add rules for any User-agent (use * for all bots), specify Allow and Disallow paths, set a Sitemap URL, and optionally add a Crawl-delay. Add as many rule blocks as needed, then copy or download the finished file.

  • Block search engines from crawling admin, login, or private sections of a website.
  • Allow all bots to crawl the full site with a single permissive rule.
  • Point crawlers to the sitemap.xml file for faster indexation.
  • Set a crawl delay to protect a low-resource server from being overwhelmed.
  • Restrict a specific bot (e.g. GPTBot, CCBot) while allowing Googlebot.

How to Use the Free Robots.txt Generator

  1. 1 In the User-agent field, enter the bot name — use * to target all crawlers.
  2. 2 In the Allow textarea, enter paths that the bot is permitted to crawl (e.g. / for everything).
  3. 3 In the Disallow textarea, enter paths to block (e.g. /admin/, /private/).
  4. 4 Add a Sitemap URL (e.g. https://example.com/sitemap.xml) and optionally a Crawl-delay in seconds.
  5. 5 Click + Add Rule to add another user-agent block, then copy the output.

Key Features

  • 🤖
    Multi-agent rules
    Add separate rule blocks for different bots (Googlebot, Bingbot, GPTBot, etc.).
  • 🗺️
    Sitemap integration
    Add the sitemap URL directly so crawlers can find it from robots.txt.
  • ⏱️
    Crawl-delay support
    Set a crawl delay in seconds to control crawl rate for server protection.
  • 📋
    Copy or download
    Copy the generated robots.txt or download it as a file.

Example Usage

Example Input
User-agent: *
Disallow: /admin/
Allow: /
Sitemap: https://example.com/sitemap.xml
Example Output
User-agent: *
Allow: /
Disallow: /admin/
Crawl-delay: 10

Sitemap: https://example.com/sitemap.xml

Frequently Asked Questions about the Free Robots.txt Generator

What is the free Robots.txt Generator?
Create a robots.txt file for your website with visual controls.
Is the Robots.txt Generator free to use?
Yes, the Robots.txt Generator is completely free. No account, subscription, or signup is required — ever.
Does my data get uploaded anywhere?
No. The Robots.txt Generator runs entirely in your browser. Your data is never sent to any server.
Does it work offline?
Yes. Once the page has loaded, the tool works without an internet connection.
Which browsers are supported?
All modern browsers — Chrome, Firefox, Safari, and Edge. No plugins or extensions required.
Where should I place the robots.txt file?
In the root of your domain — at https://yourdomain.com/robots.txt. It must be at the root; subdirectory locations are not recognised.
Does Disallow: / block Google completely?
Yes — Disallow: / tells all bots not to crawl any page. However, Google may still index a page if other sites link to it; it just won't crawl the content.
Can I use the free Robots.txt Generator for multiple domains?
Each robots.txt file applies to one domain. Run the generator once per domain and upload the resulting file to each domain's root.

Related Free SEO & Web Tools