Loading the interface. JavaScript is required; controls stay disabled until ready.
Download robots.txtOne user-agent group, up to 50 Allow and 50 Disallow paths and five sitemaps. Paths start with /. This tool creates a downloadable file; it never changes Utilizeio’s own robots policy. Review rules before placing the file at your site root.
How to use
Keep * or enter a crawler product token. Add optional paths and absolute sitemap URLs. Generate, review and download robots.txt for your intended site root.
Examples & use cases
Disallow /private-drafts/ for cooperating crawlers while allowing / and declaring a sitemap URL.
About this tool
One user-agent group, up to 50 paths per Allow/Disallow list and five sitemap URLs. Blank rule lists allow crawling; no whole-site blocking default. Paths start with / and must not contain whitespace or comments. robots.txt expresses crawler preferences, not authentication, secrecy or guaranteed deindexing. This tool never changes Utilizeio’s own policy.
Questions & answers
Does robots.txt protect private pages or remove indexed URLs?
No. Access control requires authentication. Blocked URLs may still appear in search results; robots.txt controls crawling preferences, not guaranteed indexing removal. A crawler must be able to access a page to see its noindex directive.
Create a narrow rule set deliberately
A robots.txt file expresses crawler access preferences for a host. It is not authentication and is not a reliable way to keep a known URL out of search results. Plan the intended crawl policy before generating rules.
A practical example
A Disallow path such as /drafts/ asks cooperating crawlers not to request that path. It does not make those pages private. Leave the rule lists blank when unrestricted crawling is intended; the generator does not start by blocking the whole site. Review each path rather than copying an unrelated site policy.
Check paths, user agents and sitemap entries
The tool creates one user-agent group, with bounded Allow/Disallow lists and sitemap URLs. Rule paths start with a slash and cannot contain whitespace or comments. A sitemap entry declares a URL; it does not build the sitemap, submit it to Google or prove that listed pages are indexable.
Keep crawling separate from indexing and deployment
A page may need an accessible noindex directive or access control for a different goal. Blocking crawling can prevent a crawler from seeing page-level directives. This generator does not install the file or change Utilizeio policy. Confirm the final host, root location and intended rules in your own deployment process before activating a generated file.
Worked example: blocking an admin area
A small site wants search engines to skip its admin panel and internal search results but crawl everything else. The file would contain User-agent: *, Disallow: /admin/, Disallow: /search and a Sitemap line with the full sitemap URL. Save it as robots.txt in the root of the domain so it loads at https://example.com/robots.txt, then test it in Google Search Console.
More questions about the Robots.txt Generator
Does Disallow remove a page from Google?
No. Disallow only asks crawlers not to fetch a page. If other sites link to it, Google can still list the URL without a description. To keep a page out of search results, allow it to be crawled and add a noindex meta tag or X-Robots-Tag header, or protect it with a password.
Where must the robots.txt file be placed?
It must sit at the root of each host, for example https://example.com/robots.txt. A file in a subfolder is ignored. Subdomains such as blog.example.com and shop.example.com need their own files, and http and https versions are treated as separate hosts.
Can I block AI crawlers with robots.txt?
You can add rules for user agents such as GPTBot, ClaudeBot, Google-Extended or CCBot, and reputable operators say they respect them. robots.txt is a request, not an enforcement mechanism, so it does not stop crawlers that ignore it. Blocking Google-Extended does not affect normal Google Search.
Choose your next task
- Meta tag generator: Review page-level robots metadata separately from crawl preferences.
- URL query parser: Inspect a URL structure without fetching it.