DrMarketoFree SEO tools

Robots.txt generator: choose who may read your website

A robots.txt file is a short note at the top of your website that tells search and AI robots which parts they may read. Make yours by answering a few questions: should AI answer engines be welcome, should AI training crawlers be blocked, and which folders should stay out of reach.

Answer engines are ChatGPT search, Claude search and Perplexity. Welcoming them lets those assistants recommend your business.
Training crawlers collect pages to teach AI models. We block the five best known (GPTBot, ClaudeBot, Google-Extended, Applebot-Extended and CCBot); smaller ones are not on the list. Blocking them is your choice and does not hide you from Google or from AI answers.
For example your admin area, shopping cart and checkout. Leave it empty if there is nothing to hide.
A sitemap is the list of your pages. Add it only if your website really has one.
We only use it to tell you where the file goes. Nothing is read from your website and nothing you type is kept.
Try an example

One account for all your marketing

This tool looks at one thing. A Dr. Marketo account plans, posts and tracks your social media in one place; a pack keeps it on and pays for AI.

How to use this tool

  1. Type your website address.
  2. Choose whether to welcome the AI answer engines. Most businesses should say yes, so ChatGPT, Claude and Perplexity can recommend them.
  3. Choose whether to block the AI training crawlers, and list any folders that should stay out of reach, such as /admin or /cart.
  4. Press the button, then copy the file.
  5. Upload it to the top folder of your website, so that it opens at yourwebsite.com/robots.txt.

Questions people ask

What is a robots.txt file?

It is a plain text file at the top of your website that tells robots, such as Googlebot and the AI crawlers, which folders they may read and which they should stay out of. Well-behaved robots read it before they visit.

Will this block my website from Google?

No. The file made here lets every robot read your pages, except the folders you list and, if you choose, the AI training crawlers. Googlebot is not blocked. Blocking Google-Extended only stops Google using your pages for its Gemini AI, and does not change your Google Search results.

Is robots.txt a way to hide private pages?

No. Anyone can open your robots.txt and read it, so listing a folder there points people to it, and a robot that ignores the rules can still visit. Hide private pages behind a password or a login.

Where do I upload the robots.txt file?

In the top folder of your website, so that it opens at yourwebsite.com/robots.txt. The name must be all lower-case and the file must not sit in a subfolder. Many website builders have a robots.txt editor in their SEO settings; if yours does not, ask your web host or developer.

More free tools