Advertisement
SEO & Web Tools

Robots.txt Generator

Create a valid robots.txt file in seconds. Start from a WordPress, WooCommerce or shop preset, add disallow and allow rules and your sitemap, and block AI crawlers (GPTBot, ClaudeBot, Google-Extended...) or heavy SEO bots with one click. The file updates live as you type.

  • Live preview
  • WordPress and shop presets
  • Block AI crawlers
  • Block SEO tool bots
  • Download robots.txt

Runs in your browser. Nothing you type is sent to our server.

Block AI crawlers
Block SEO tool crawlers (saves server load)
Your robots.txt

      
    

Upload it to the root of your site so it opens at https://yoursite.com/robots.txt, then test it with the robots.txt checker.

Advertisement
How to use

How to use the robots.txt generator

  1. 1

    Choose a default

    Allow everything, allow with exceptions, or block the whole site (for staging sites).

  2. 2

    Start from a preset

    WordPress, WooCommerce, online shop or PHP app presets fill in sensible rules.

  3. 3

    Add rules and sitemaps

    Disallow paths, Allow exceptions and full sitemap URLs, one per line.

  4. 4

    Download and test

    Download robots.txt, upload it to your site root, then test it with the robots.txt checker.

Robots.txt generator

What this robots.txt generator creates

A robots.txt file tells search engine crawlers and other bots which parts of your site they may crawl. It lives at the root of your domain, for example https://example.com/robots.txt, and is the first file well-behaved crawlers request. A good robots.txt keeps bots out of admin areas, internal search results and endless filter combinations, so they spend their time on the pages that matter.

This robots.txt generator writes the file for you with correct syntax: groups that start with User-agent, rules that start with /, and Sitemap lines with full URLs. Everything runs in your browser and the preview updates as you type, so you can see exactly what you will upload.

User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php

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

Presets for WordPress, WooCommerce and shops

PresetBlocksWhy
WordPress/wp-admin/, internal search (/?s=), loginAdmin and search pages waste crawl budget. admin-ajax.php stays allowed because themes need it.
WooCommerceCart, checkout, account, add-to-cart and sorting URLsThese pages are personal or endless variations of the same products.
Online shopCart, checkout, account, search, sort and filter parametersFaceted navigation can create millions of near-duplicate URLs.
Laravel / PHP appAdmin, auth, API and log pathsKeeps crawlers away from app internals.

Do not block CSS, JavaScript or image folders such as /wp-content/. Google needs them to render pages, and blocking them can hurt how your pages are understood. The generator warns you if you try.

Advertisement
AI and SEO bots

Block AI crawlers and SEO tool bots

Many site owners now choose whether AI companies may use their content. Tick any of these to add a separate group with Disallow: / for that crawler:

  • GPTBot, ChatGPT-User and OAI-SearchBot (OpenAI)
  • ClaudeBot (Anthropic)
  • Google-Extended: controls use of your content for Gemini. It does not affect Google Search rankings.
  • Applebot-Extended, PerplexityBot, CCBot (Common Crawl), Bytespider and meta-externalagent

Commercial SEO crawlers such as AhrefsBot, SemrushBot, MJ12bot and DotBot can generate a lot of traffic on large sites. Blocking them reduces server load on a small VPS, at the cost of your site showing less data in those tools.

Rules to remember

Robots.txt rules to remember

  • Robots.txt controls crawling, not indexing. A blocked URL can still appear in Google if other sites link to it. To keep a page out of search, allow crawling and add a noindex meta tag.
  • It is public. Anyone can read it, so never list secret or private paths. Protect them with passwords instead.
  • Specific groups replace the general one. If you add a Googlebot group, Googlebot ignores the * group entirely.
  • Longest rule wins. Allow: /admin/public/ beats Disallow: /admin/ for URLs inside that folder.
  • Use wildcards carefully. * matches anything, $ marks the end of the URL.
  • Crawl-delay is respected by Bing and Yandex, but Google ignores it.
  • Remove Disallow: / when a staging site goes live.

After uploading, test real URLs with the robots.txt checker, and make sure your sitemap only lists crawlable pages with the XML sitemap generator.

Examples

Example robots.txt files

Allow everything (the right choice for most small sites):

User-agent: *
Disallow:

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

Staging or development site (block all crawlers, and also protect it with a password):

User-agent: *
Disallow: /

Shop with faceted navigation:

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

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

Keep robots.txt short and readable. Every rule is a chance for a mistake, and a single misplaced Disallow: / can remove a whole site from search within days. When you change the file, test the most important URLs with the robots.txt checker before and after uploading.

FAQ

Robots.txt Generator: frequently asked questions

What is a robots.txt generator?

A tool that builds a correctly formatted robots.txt file from simple choices, so you do not have to remember the syntax.

Where do I upload robots.txt?

To the root folder of your website so it opens at https://yourdomain.com/robots.txt. In CyberPanel or cPanel this is usually the public_html folder.

How do I block AI bots from my site?

Tick the AI crawlers you want to block. The generator adds a User-agent group with Disallow: / for each one.

Will blocking Google-Extended hurt my Google rankings?

No. Google-Extended only controls use of your content for Google's AI models. Search crawling and ranking use Googlebot.

Does robots.txt hide pages from Google?

No. It stops crawling, not indexing. Use a noindex meta tag on pages you want kept out of search results.

Should I add my sitemap to robots.txt?

Yes. A Sitemap line with the full URL helps all search engines find your sitemap, not only the ones you submitted it to.

What does Disallow with nothing after it mean?

An empty Disallow allows everything. It is the standard way to say no restrictions.

Is my robots.txt stored?

No. It is built in your browser and never sent to our server.

About SEO & Web Tools

More about our seo & web tools

On-page and technical SEO tools that make real HTTP requests to the pages you give them: meta tags, canonicals, redirects, broken links, HTML structure, robots.txt and sitemaps, plus content tools for keyword density, duplicate content, slugs and schema markup.

Real fetches, not guesses

A browser cannot read another site's HTML across domains, so any tool that claims to check another site's tags from client-side JavaScript is either proxying through a server or faking it. BulkMaker's SEO tools fetch each URL from our server and parse the response that a crawler would see.

Audit at site scale

Single-URL checkers are fine for spot checks. The problems that hurt rankings, duplicate titles, chains of redirects, broken internal links, missing canonicals, show up as patterns across hundreds of URLs. Paste a sitemap export and see the pattern in one pass.

What these tools are not

These tools do not estimate rankings, traffic or backlink authority; those require a web-scale crawl index. They report verifiable facts about the pages you submit.