Robots.txt Generator

Create a robots.txt file with a clear default policy, custom crawler rules, sitemap links, and optional crawl delay.

Gustavo, the stone gargoyle mascot, head and shoulders with a knowing grin

Quick starter presets

Enter one full http:// or https:// sitemap URL per line.

Google ignores Crawl-delay; Bing and Yandex honor it.

Custom crawler rules

Notes

Place the file at your site root, such as https://example.com/robots.txt. Each User-agent block applies Allow and Disallow path rules to the named crawler.

Robots.txt is a crawling hint, not password protection. Private pages still need proper authentication and access controls.

A Sitemap: line gives crawlers the absolute URL of a sitemap. Google ignores Crawl-delay; Bing and Yandex may honor it.

Frequently asked questions

Where should robots.txt go?

Publish it at the root of your site, for example https://example.com/robots.txt. A file in a subfolder does not set rules for the whole host.

Does Disallow protect private pages?

No. Robots.txt asks compatible crawlers not to crawl paths; it does not prevent people or bots from accessing them. Use authentication for private content.

What does a Sitemap line do?

A Sitemap line provides crawlers with the absolute URL of a sitemap file, such as https://example.com/sitemap.xml.