Crawler Settings
Search Engine Specific Rules
Generated robots.txt
Configure your rules and click "Generate robots.txt".
Create a perfectly formatted robots.txt file for your website in seconds. Control which search engine crawlers can access which pages, protect sensitive directories, and optimise your crawl budget with our free online robots.txt generator.
Configure your rules and click "Generate robots.txt".
The robots.txt file is the first thing search engine crawlers check when visiting your website. A correctly configured robots.txt file protects sensitive pages, optimises your crawl budget, and ensures Google indexes exactly the pages you want — all of which directly impact your SEO rankings.
A robots.txt file is a plain text file placed at the root of your website (e.g., https://www.yourdomain.com/robots.txt) that follows the Robots Exclusion Protocol. It provides instructions to search engine crawlers (bots) about which pages and directories they are allowed or not allowed to crawl and index.
When Googlebot visits your website, it first checks robots.txt. This file tells it which areas are off-limits, preventing Google from indexing private admin pages, duplicate content, development areas, and low-value pages that waste your crawl budget.
User-agent: * — Applies to all crawlersUser-agent: Googlebot — Applies only to Google's crawlerDisallow: /path/ — Block access to this pathAllow: /path/file.html — Override disallow for specific fileCrawl-delay: 10 — Wait 10 seconds between requestsSitemap: https://example.com/sitemap.xml — Point to sitemap/wp-admin/ — WordPress admin (allow admin-ajax.php)/wp-login.php — WordPress login/cart/ and /checkout/ — E-commerce transaction pages/search/ — Internal search results (duplicate content)/?s= — WordPress search queries/private/ — Private content areas/cgi-bin/ — Server scripts