Close7 Marketing

Free robots.txt generator for small business websites

Make a simple robots.txt file in a minute, and learn what it can and cannot do.

Read this first: robots.txt asks crawlers not to visit certain paths. It is not a way to keep a page out of Google, because a blocked page can still be listed if other sites link to it. To keep a page out of search results, use a noindex tag or password protection. A wrong robots.txt can block your whole site, so test it in Search Console after publishing.
Use paths on your own site. Leave empty to allow everything.
Choose Yes for the shortest valid file.

Your robots.txt

What this cannot tell you

  • robots.txt does not keep pages out of Google. Use noindex or a password for that.
  • Not every crawler follows it, and it is not a security measure.
  • Many small sites do not need to change theirs. If your site software already makes one, check before replacing it.

Questions

Do I need a robots.txt?

Not always. Google can crawl a site without one. It is mostly useful for asking crawlers to skip things like cart and search pages.

Sources

Checked on 29 October 2026.

  1. Google Search Central: Robots.txt introduction
  2. Google Search Central: Block indexing with noindex
  3. Google Search Central: Sitemaps overview