Generator
Live preview
How it works
Choose a user-agent — Googlebot, GPTBot, Bingbot, or any bot on the list, plus a custom one if you need it. Add Allow and Disallow paths, drop in your sitemap URL, or start from a preset (Allow all, Block all, WordPress recommended) and tweak it from there. The live preview shows the exact file as you build it; copy it or download robots.txt and upload it to your site's root (yoursite.com/robots.txt). A few things robots.txt can and can't do: Google supports user-agent, allow, disallow, and sitemap directives. Crawl-delay is included here because some crawlers honor it, but Googlebot ignores it completely — it won't slow Google down. And robots.txt controls crawling, not indexing: a page you disallow can still get indexed if other pages link to it; use a noindex tag if you need to keep a page out of search results. This tool is free and runs in your browser — nothing you build here is saved on our end.
Frequently asked questions
Show clients results with Ranki
Rank tracking, keyword research, and AI search visibility in one place.