Free tool · No sign-up
Free Robots.txt Generator
Make a clean robots.txt file in under a minute. This robots.txt generator has presets for WordPress and WooCommerce, adds your sitemap, lets you block AI training crawlers, and warns you before you block something by mistake.
- WordPress presets
- AI crawler options
- Download the file
Generator
Create your robots.txt file
Pick your platform, add your sitemap and any folders to keep crawlers out of. The file updates as you choose.
Your robots.txt
Use it safely
What should a robots.txt file include?
Robots.txt is a plain text file at the root of your site (yoursite.co.uk/robots.txt) that tells crawlers which areas to stay out of. Google explains the rules in its robots.txt guide.
For most small business websites it should be short: block the admin area, allow everything else and list your sitemap. WooCommerce shops can also block the cart, checkout and account pages, which have no value in search.
The most costly mistake is “Disallow: /” left on a live site. Developers often add it while building a site and forget to remove it at launch, which stops Google crawling every page. Our Free SEO Audit checks for it.
Robots.txt stops crawling, not indexing. A blocked page can still appear in Google if other sites link to it. To keep a page out of search, use a noindex tag and leave the page crawlable.
Robots.txt generator FAQs
Is this robots.txt generator free?
Yes. It is free with no limit and no sign-up, and you can download the file straight away.
Where do I upload robots.txt?
It must sit at the root of your domain, for example yoursite.co.uk/robots.txt. In WordPress, Rank Math and Yoast both have a robots.txt editor, so you can paste the text there instead of uploading a file.
Should I block AI crawlers?
That is your choice. Blocking bots such as GPTBot stops them using your pages to train AI models. Blocking Google-Extended does not affect your Google Search rankings.
Can I edit robots.txt on Shopify?
Yes, but not with a file upload. Shopify creates it for you, and you change it by editing the robots.txt.liquid template in your theme.
Does robots.txt hide pages from Google?
No. It only asks crawlers not to visit. Use a noindex tag to keep a page out of search results.
Keep going
Related free tools
These free tools work well alongside this one. If you would rather we handled it for you, see our WordPress technical SEO fix. You can also browse all our free SEO tools.
Create
llms.txt Generator
Build an llms.txt file for your website in a few minutes, ready to upload.
Check
Google Index Checker
See if Google has indexed a page, and send new URLs to search engines with IndexNow.
Create
Hreflang Generator
Create hreflang tags for English, Welsh or international versions of your pages.
Free SEO audit · Fixed quote
Worried Google cannot crawl your site?
We check robots.txt, sitemaps and indexing on every audit. Send us your website and our Cardiff SEO agency team will check it, then reply within one business day with a ranked fix list and a fixed price.
- Free audit, no obligation and no contract to sign
- Reply within one business day
Book a meeting and get exclusive deals plus a free gift
Prefer to talk? Call us, WhatsApp or Email hello@wayrankpro.co.uk.
Cardiff, South Wales · Serving businesses across the UK