Free Robots.txt Generator

Generate a simple crawl-rules draft for Googlebot, Bingbot, Yahoo Slurp, and other user agents.

Bot Access
Restricted Directories
Sitemap
← Back to SEO Tools

How to use Robots.txt Generator

Generate a simple crawl-rules draft for Googlebot, Bingbot, Yahoo Slurp, and other user agents.

Useful for

  • Create a starting robots.txt file for a new website.
  • Block selected crawler access to login or admin paths.
  • Publish a sitemap location for search crawlers.

Three quick steps

  1. Choose which named crawlers may access the site.
  2. Select any paths to disallow and enter a sitemap URL.
  3. Generate the file, review it, and publish it at /robots.txt.

Example

Input

Allow named bots; disallow /admin; sitemap https://example.com/sitemap.xml

Output

User-agent: * Disallow: /admin Sitemap: https://example.com/sitemap.xml

Frequently asked questions

Is robots.txt a security control?

No. Compliant crawlers may follow it, but the listed URLs remain public. Protect private content with authentication and authorization.

Can robots.txt remove a page from search results?

Not reliably. Blocking crawling is different from controlling indexing. Use an appropriate noindex directive on accessible pages when indexing must be prevented.

Where should the generated file go?

Publish it as robots.txt at the root of the relevant host, then test the final live URL.

Related free tools