Robots.txt Generator — free
Generate a robots.txt file with a visual builder.
User-agent: * Allow: / Disallow: /admin Sitemap: https://example.com/sitemap.xml
How to use Robots.txt Generator
Select Your Disallow Rules
Click the 'Add Rule' button in the left panel. Choose 'User-agent' dropdown and select the bot type (Googlebot, Bingbot, or *). Toggle the 'Disallow' switch and enter the directory path (e.g., /admin or /private). Repeat for multiple paths.
Configure Allow Exceptions
Click 'Add Allow Rule' beneath your disallow entries. This lets specific pages be crawled even if the parent directory is blocked. Enter exact paths like /admin/public-page/ in the text field.
Set Crawl Delay and Request Rate
Scroll to the 'Advanced Settings' section. Enter a numeric value in the 'Crawl-delay' field (recommended 1-5 seconds). Set 'Request-rate' to control requests per 30 seconds using the ratio format (e.g., 10/30).
Add Sitemap Location
Click the 'Sitemap' field at the bottom. Paste your complete sitemap URL (e.g., https://example.com/sitemap.xml). This tells crawlers where to find all your indexed pages.
Preview and Download Your File
Check the live preview pane on the right showing your robots.txt syntax. Click the blue 'Download' button to save as robots.txt file. Upload to your website root directory via FTP or file manager.