Lifetime Deal Get lifetime Pro access for a one-time payment, First 100 founding members only Lifetime access · first 100 only See pricing →
Rank Bix SEO logo RankBix
Free tool

Free robots.txt generator for WordPress.

Build a valid robots.txt file using checkboxes and templates. Choose your CMS, select which bots to block, add custom rules, and copy the result. No account required.

1. Start from a template

2. Add your sitemap URL

Rank Bix generates your sitemap at /sitemap.xml. Add this line so all crawlers find it automatically.

3. Select what to block

4. Block problem bots (optional)

Select any crawlers or scrapers you want to block completely from your site.

5. Add custom rules (optional)

Add any additional Disallow or Allow rules. One rule per line. Example: Disallow: /private/

Your robots.txt

Configure your options and click Generate robots.txt to see the file content here.
Understanding robots.txt

What is a robots.txt file and how does it work?

The robots.txt file is a simple text file that tells web crawlers which parts of your site they should and should not access.

Crawl budget management

Blocking low-value URLs like admin pages, search results, and WooCommerce cart pages ensures Google's crawl budget is spent on your important content, not administrative endpoints.

Not a security tool

robots.txt controls which pages crawlers visit, not which pages they can access. A page blocked in robots.txt can still be accessed by anyone with the URL. Do not rely on robots.txt for security.

Critical warning

Never add Disallow: / to your robots.txt on a live production site. This tells all crawlers to skip your entire website, which will remove it from Google's index within days.

Syntax reference

robots.txt syntax explained.

User-agent: *
Apply the following rules to all crawlers. Use a specific bot name (e.g. Googlebot) to target one crawler only.
Disallow: /path/
Tells the specified crawler not to access any URL starting with /path/.
Allow: /path/file
Explicitly allow a path within a broader Disallow rule. More specific rules override broader ones.
Sitemap: https://...
Provides the URL of your XML sitemap. Not part of the original spec but supported by all major crawlers.
Crawl-delay: 10
Ask crawlers to wait 10 seconds between requests. Googlebot ignores this; use GSC crawl rate settings instead.
# comment text
Lines starting with # are comments. Use them to document why specific rules were added.
Manage robots.txt from WordPress admin

Edit your robots.txt without FTP.

Rank Bix SEO includes a built-in robots.txt editor directly in your WordPress admin. No FTP access required. Changes save immediately and apply to your live site.

Start free. Upgrade when you're ready.

Install Rank Bix SEO on your WordPress site in seconds. No account, no upsell, no bloat. Upgrade to Pro whenever you need the advanced tools.

Already on Yoast, Rank Math or AIOSEO? Our one-click importer migrates everything.