Free Robots.txt Generator Including AI Crawlers
Billion Game
Book a strategy call

{{ col.title }}

{{ feature.tag }}

{{ feature.title }}

{{ feature.copy }}

{{ feature.cta }} {{ feature.cta }}
Free tool · runs in your browser

Robots.txt generator

Pick which crawlers you want, add the paths nobody should be fetching, declare your sitemap, and copy a valid file. Includes the AI crawlers most generators still ignore.

Robots.txt generator Nothing is uploaded
{{ grp.title }}
Seconds. Google ignores this, Bing respects it. Leave empty to omit.
/robots.txt
{{ output }}
{{ w.glyph }} {{ w.text }}
Reference

Every robots.txt directive, and who actually supports it

Half the directives you will find in blog posts are ignored by the crawler you care about. This is the complete set, what each one does, and the mistake we see most often with it.

Directive What it does Google Bing The usual mistake
{{ d.name }} {{ d.does }} {{ d.google }} {{ d.bing }} {{ d.trap }}
Worked examples

Six robots.txt files you can copy

Each of these is a real shape we have shipped, with the reasoning behind it. Swap the domain and check the paths against your own URL structure before deploying.

Ecommerce store

Blocks the three patterns that eat crawl budget on almost every catalogue: filters, internal search, and checkout.

User-agent: *
Disallow: /cart
Disallow: /checkout
Disallow: /account/
Disallow: /search
Disallow: /*?sort=
Disallow: /*?filter=
Disallow: /*?utm_

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

WordPress site

Leaves wp-admin blocked but keeps admin-ajax reachable, because themes and plugins render front-end content through it.

User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Disallow: /?s=
Disallow: /search/
Disallow: /*?replytocom=

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

Staging or development

The only case where blocking everything is correct. Add HTTP authentication as well, because robots.txt is a request, not a lock.

User-agent: *
Disallow: /

# Also protect this host with HTTP auth.
# A disallowed URL can still be indexed
# if something links to it.

Allow AI search, block AI training

The configuration most businesses actually want: quotable in live assistant answers, excluded from model training.

User-agent: OAI-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: Google-Extended
Disallow: /

News or publisher

Keeps archives and tag pages out of the crawl path while leaving articles and the news sitemap fully open.

User-agent: *
Disallow: /tag/
Disallow: /author/
Disallow: /page/
Disallow: /*?print=
Allow: /

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

Aggressive bot, everything else open

Targets one misbehaving crawler by name without touching anything that matters for search.

User-agent: *
Disallow:

User-agent: SemrushBot
Crawl-delay: 10

User-agent: AhrefsBot
Crawl-delay: 10

User-agent: MJ12bot
Disallow: /

Sitemap: https://example.com/sitemap.xml
Under the hood

How a crawler actually reads this file

Most robots.txt bugs are not typos. They come from assuming the file is read top to bottom like a script, when in fact a crawler picks exactly one group and applies the most specific matching rule inside it.

{{ r.n }} {{ r.title }} {{ r.body }}
From real audits

The mistakes we find most often

Every one of these has cost a real site real traffic, and every one of them takes minutes to fix once someone has actually looked at the file.

{{ m.title }} {{ m.body }}
How to use it

Robots.txt is a crawl instruction, not a lock

The most common mistake we find is a site trying to keep pages out of Google by disallowing them. That does the opposite of what people expect: Google cannot fetch the page, so it never sees the noindex tag, and the URL can sit in the index indefinitely with no description under it.

Use robots.txt for what it is good at — keeping crawlers away from URL patterns that waste crawl budget, like faceted parameters, internal search and checkout. Use meta robots for anything you want out of the index.

The AI crawler rules deserve a decision rather than a default. Blocking training crawlers is a content-rights choice. Blocking search-time crawlers like OAI-SearchBot removes you from live AI answers, which is a visibility choice, and they are not the same question.

See our technical SEO services

{{ f.a }}

Our stack

Billion Game runs your work through the same instruments the best in-house teams use.

Licences are on us, and every export we pull from them is yours to keep.

{{ s.alt }}

Be wary of any agency whose reporting is a tool dashboard with their logo on it. Tools measure; they do not decide what matters, and every one of these will happily generate a hundred findings that change nothing. What you are paying for is the judgement about which three of those hundred are worth your developers’ time.

Free tool Robots.txt tester Check whether a specific URL is blocked by your rules. Free tool Schema generator Valid JSON-LD for the types that change your result. Free tool AI extractability checker See whether an assistant can lift an answer from your page. Index All free tools Everything we have built, free and without signup.