Generate a valid robots.txt file for your website. Configure search engine crawler access, Allow and Disallow directives, sitemap URLs, and optional crawl-delay settings.
https://example.com/robots.txt.
Host: directive.
robots.txt file is crawler guidance, not an access-control mechanism. Malicious bots or scrapers can ignore it. Never rely on robots.txt to secure sensitive directories, passwords, or customer data — use password protection and server authentication.
Select your target search bots, set up Allow and Disallow paths, and add your XML sitemap URL using our preset templates.
Click Download robots.txt to save the plain text configuration directly to your local computer without any formatting clutter.
Upload the file to the exact root directory of your website domain via FTP, cPanel, or Git so it is live at /robots.txt.
| Directive | Purpose & Syntax | Crawler Support & Notes |
|---|---|---|
User-agent: |
Identifies which search crawler the following block of instructions applies to. Example: User-agent: * or User-agent: Googlebot. |
Universal. Supported by all search engine crawlers and web robots. |
Disallow: |
Instructs the specified crawler not to request or crawl pages beginning with this path. Example: Disallow: /admin/. |
Universal. Supported by Google, Bing, Yahoo, Yandex, DuckDuckGo, Baidu. |
Allow: |
Explicitly allows access to a subfolder or file within an otherwise disallowed directory. Example: Allow: /wp-admin/admin-ajax.php. |
Supported by Google, Bing, and most modern search engines. Overrides broader Disallow paths. |
Sitemap: |
Specifies the absolute URL of your XML sitemap to assist crawlers with site discovery. Example: Sitemap: https://example.com/sitemap.xml. |
Universal. Can be placed anywhere in the file; standard practice is at the bottom. |
Crawl-delay: |
Requests that crawlers wait a specified number of seconds between successive requests. Example: Crawl-delay: 5. |
Supported by Bing, Yandex, and Baidu. Ignored by Googlebot (manage crawl rate in Google Search Console). |