Build a valid robots.txt file that tells search engine crawlers which parts of your site they may and may not visit. Choose whether to allow all bots or block them all, add specific paths to disallow such as an admin area or a search results page, set an optional crawl delay, and include your sitemap URL so crawlers can find your pages efficiently. The tool assembles the directives in the correct format and order, which matters because a misplaced rule can accidentally hide your whole site from search or leave private paths crawlable. Copy the output into a file named robots.txt at the root of your domain. Everything is generated in your browser, so your site structure and rules are never sent to any server.
You choose which crawlers to allow or block, add disallow paths, set a crawl delay and include a sitemap URL.
A disallow path tells compliant crawlers not to fetch URLs under that path, though it is a request, not an enforced block.
It must sit at the root of your domain, served at /robots.txt, so crawlers can find it.
Build a valid robots. txt file that tells search engine crawlers which parts of your site they may and may not visit.
Yes. Robots.txt Generator is completely free, with no sign-up and no usage limits.
Yes. Robots.txt Generator runs in any modern web browser. There is nothing to download or install.
Yes. Robots.txt Generator runs entirely on your device in your browser, so nothing you enter is uploaded to a server.
Link this tool from a README, doc or site. The badge links back to this page.
[](https://yourhack.ai/robots-txt-generator)