A wrong robots.txt can hide your whole site from Google. Start from a safe preset, add folders to block, your sitemap and optional rules for AI crawlers, then copy or download the file.
How to use the Robots.txt Generator
- Pick a preset.
- Add folders to block and your sitemap URL.
- Choose whether to allow AI crawlers.
- Download robots.txt and upload it to your site's main folder.
Frequently asked questions
Where does robots.txt go?
In the main folder of your website (public_html on most hosts), so it opens at yourdomain.com/robots.txt.
Does robots.txt remove pages from Google?
No. It asks crawlers not to visit pages. To keep a page out of search results, use a noindex tag instead.
Results are estimates for planning. Your bank, platform or official document always has the final figure.