Free Tool

robots.txt Generator

Generate a robots.txt file to control how search engines crawl your store. Copy and upload to your site root.

robots.txt

Disclaimer: This free tool is provided by Commmerce for general informational and estimation purposes only. Results are indicative and may not reflect your exact figures, current tax rates, courier charges, marketplace fees, or regulatory requirements, which change over time and vary by case. Commmerce makes no warranty as to accuracy or completeness and accepts no liability for any loss or decision made based on this tool. Always verify with a qualified professional (chartered accountant, tax advisor, or the relevant official source such as the GST portal or CBIC) before acting.

How the robots.txt Generator works

A robots.txt file sits at the root of your website and tells search engine crawlers (like Googlebot) which paths they may or may not crawl. The generator lets you pick user-agents, allow or disallow specific folders, and add your sitemap URL, then outputs a ready-to-upload robots.txt. You place the file at yourstore.com/robots.txt so crawlers read it first.

Worked example

An apparel store wants Google to index products but skip the cart and account pages. The generator produces: User-agent: * / Disallow: /cart/ / Disallow: /account/ / Allow: / / Sitemap: https://yourstore.com/sitemap.xml. They upload this as robots.txt at their domain root.

Frequently asked questions

Where do I upload the robots.txt file?

It must sit at the root of your domain, so it is reachable at yourstore.com/robots.txt. A file placed in a subfolder will not be read by crawlers.

Does Disallow hide a page from Google completely?

No. Disallow only asks crawlers not to crawl a path; a blocked URL can still appear in results if other sites link to it. To keep a page out of search, use a noindex meta tag on the page instead.

Should I block my checkout and account pages?

Generally yes, because pages like cart, checkout, and login add no search value and waste crawl budget. Keep product, category, and content pages open so they can rank.

Do I need robots.txt if my store platform handles SEO?

Many hosted store platforms generate one automatically, so check yourstore.com/robots.txt before adding your own. If it already lists your sitemap and blocks admin paths, you may not need changes.

Commmerce handles technical SEO for you

Online stores on Commmerce ship with a correct robots.txt and auto-updating sitemap.

See Online Store