Skip to content

Free Robots.txt Generator

Pick your platform, add your sitemap, decide about the AI crawlers, and get a robots.txt you can paste straight into the root of your site.

What a run costs
One free run a day, no account needed
How it runs
Straight away
Who it is for
Free: 3 a day. Every paid plan: unlimited.

A free account raises the daily allowance and keeps your results. Create one — no card needed.

Loading…

Overview

Robots.txt is the first file a crawler reads on your site, and one wrong line in it is the cheapest way to disappear from Google. This generator starts from a baseline for your platform (any site, WordPress, WooCommerce or Shopify), adds your sitemap, optionally blocks the AI crawlers, and lets you add your own rules on top.

Your Own Rules Are Read, Not Pasted Through

Every line you add is checked before it goes in: a line that is not a directive a crawler honours, a rule that follows no User-agent line, a path that does not start with a slash. Anything dropped is named in the result along with the reason. A robots.txt that looks right and quietly does nothing is the failure this avoids, and it is the one that costs a site its index.

About Blocking The AI Crawlers

The switch writes rules for sixteen named AI and LLM crawlers. It does not affect Googlebot and it does not change your Google ranking. It does stop the listed crawlers taking your pages for training, and for some of them it also stops them citing you in an AI answer, which is a trade rather than a win. The major vendors honour robots.txt; scrapers that do not are a server-side problem, not a robots.txt one. Check the finished file with the [Robots.txt Analyzer](/seo-tools/robots-analyzer) once it is live.

About the tool

What Is The SBMM Robots.txt Generator?

The SBMM Robots.txt Generator builds a robots.txt from four things: a baseline template for your platform (any site, WordPress, WooCommerce or Shopify), your sitemap address, a switch for the AI crawlers, and any rules of your own. The result is plain text ready to save at the root of your domain.

Robots.txt is the first file a crawler reads on your site, and it is unforgiving. One wrong line can take your money pages out of Google, and a missing line can leave admin paths and search-result pages soaking up crawl budget that should have gone somewhere useful. Writing it from a blank editor is a job that punishes a typo.

Which is why the rules you add are read rather than pasted through. Every line is checked against the directives crawlers actually honour, and anything dropped is named in the result along with the reason. A robots.txt that looks right and quietly does nothing is the failure that costs a site its index, and it is the one this is built to prevent.

Step by step

How To Use This Tool In 3 Steps

  1. Pick The Template For Your Platform

    Any site, WordPress (wp-admin and wp-includes covered, with admin-ajax allowed back), WooCommerce (cart, checkout and my-account excluded) or Shopify (admin, cart, checkout and orders excluded).

  2. Add Your Sitemap And Decide About The AI Crawlers

    Paste the full address of your sitemap so every crawler finds it on the first fetch. Decide whether to block the sixteen AI and LLM crawlers, and add any rules of your own in the box below.

  3. Copy It To The Root Of Your Site

    Copy the generated file and save it so it answers at your-site.com/robots.txt. Nowhere else works. Then check it live with the Robots.txt Analyzer.

Why this tool

Why Use This Tool

  • WordPress, WooCommerce And Shopify Baselines

    Each template covers the paths that platform actually exposes: the admin area, the cart and checkout, the account pages and the internal search results. Generic is there for anything else.

  • Sixteen AI Crawlers, In One Switch

    GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-User, anthropic-ai, Google-Extended, PerplexityBot, Perplexity-User, Bytespider, Applebot-Extended, Meta-ExternalAgent, CCBot, cohere-ai, Omgilibot and FacebookBot. Off by default, because blocking them is a decision rather than a default.

  • Your Rules Are Checked Line By Line

    A line that is not a robots.txt directive, a rule that follows no User-agent, a path that does not start with a slash: each is dropped and named, with the reason. Nothing you typed disappears silently.

  • It Warns When The File Closes The Site

    If the finished file disallows everything for every crawler, the result says so in as many words. That one line is the difference between being in Google and not, and it should never be a surprise.

  • A Sitemap Line That Actually Works

    A relative path in a Sitemap directive is ignored by every crawler, so a relative one is refused with an explanation rather than written into the file where it would do nothing.

  • One Free Run A Day

    One run a day without an account. A free account gives three runs a day of this tool and keeps your results.

FAQ

Frequently Asked Questions

What is a robots.txt file?

A plain text file at the root of a site that tells crawlers which paths they may fetch. It is the first thing a well-behaved crawler reads, and the rules in it decide what can appear in a search engine at all.

Do I need one?

For most sites, yes. Without it every path is crawlable, which means admin endpoints and internal search results absorb crawl budget that should have gone to your real pages. Even a file that does nothing but name your sitemap is better than none.

Should I block the AI crawlers?

It depends what you want. Blocking the training crawlers keeps your pages out of future models. Blocking the search-side ones also stops those assistants citing you, which is traffic you may want. The switch is off by default because there is no answer that is right for everyone.

Where does the file go?

At the root of the domain, so it answers at your-site.com/robots.txt. The path is fixed by the standard. A robots.txt anywhere else is read by nothing.

How do I check it before it goes live?

Publish it and then run the Robots.txt Analyzer against the live address: it fetches the real file and grades it. To see which AI crawlers your rules actually let through, run the AI Crawler Access Checker on the same site.

What is the difference between Disallow and Allow?

Disallow tells a crawler not to fetch a path. Allow carves an exception out of a broader Disallow, which is why the WordPress template blocks wp-admin but allows admin-ajax.php inside it.

Why does the WordPress template block wp-includes?

Because there is nothing there for a reader. It holds the internal libraries WordPress renders pages with, so a crawler that visits only finds errors and directory listings, and the version information those leak is what tells an attacker which installs are worth trying.

Does robots.txt actually stop anyone?

It stops the crawlers that honour it, which includes Google, Bing and the named AI vendors. It stops nothing else: a scraper that ignores the file is not affected by anything you write in it. For those, the answer is a block at the server, not a line in a text file.