Generate a robots.txt file with custom rules for search engine crawlers. Free online robots.txt generator. Free, private, and runs locally in your browser.
A robots.txt generator helps you create the robots.txt file that controls how search engine crawlers interact with your website. This small but important file lives at your domain root and tells bots which URLs they're allowed to crawl and which they should skip.
Every website should have a robots.txt file. Without one, crawlers will attempt to access every URL on your site, which can waste crawl budget on unimportant pages like admin panels, staging environments, duplicate content, or internal search results. A well-configured robots.txt directs crawlers to your most important content.
Block admin areas with Disallow: /admin/. Prevent crawling of search result pages with Disallow: /search. Block API endpoints with Disallow: /api/. Allow CSS and JS files that are needed for rendering with Allow: /assets/.
Large websites have a limited "crawl budget" — the number of pages a search engine will crawl in a given period. By blocking unimportant sections, you ensure crawlers spend their budget on pages that matter for your rankings and traffic.
All generation happens in your browser. No data leaves your device.
Generate an XML sitemap with our Sitemap Generator. Create meta tags with the Meta Tag Generator.
A robots.txt file tells search engine crawlers which pages or sections of your site they can or cannot access.
It must be at the root of your domain: https://example.com/robots.txt
No. It blocks crawling, not indexing. To prevent indexing, use a 'noindex' meta tag or X-Robots-Tag header.
The asterisk matches all crawlers. You can also target specific bots like Googlebot or Bingbot.
Browse all free tools · Guides and tutorials · PDF tools · Developer tools · Text tools · SEO tools