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.
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
- Type your website address.
- Choose whether to welcome the AI answer engines. Most businesses should say yes, so ChatGPT, Claude and Perplexity can recommend them.
- Choose whether to block the AI training crawlers, and list any folders that should stay out of reach, such as /admin or /cart.
- Press the button, then copy the file.
- 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.