Webmaster tool
Robots.txt generator
Tell search engines what to crawl. Choose the folders to block, add your sitemap address and download a ready robots.txt file.
Loading the tool…
- Choose allow or block
- List paths to block
- Upload the file
- Free
- No sign-up
- Runs on your device
More webmaster and seo tools
- Meta tag generatorWrite your title and meta description, see how they look in Google, and copy the HTML for the…
- UTM link builderTag your links with utm_source, utm_medium and utm_campaign so you can see which campaigns bring…
- URL slug generatorTurn a title into a short, clean, search-friendly web address: lower case, no accents, no symbols.
About robots.txt generator
A robots.txt file at the root of your website tells crawlers which paths they may visit. This generator writes the file for you: allow everything, block everything, or block specific folders such as /admin/. It adds your sitemap address, which helps search engines find all your pages.
You can also add rules that ask well-known AI training crawlers (GPTBot, CCBot, ClaudeBot and others) to stay away. These rules are requests: well-behaved bots follow them, but robots.txt is not a security feature.
How to create a robots.txt file
- Choose allow or blockMost sites allow crawling.
- List paths to blockOne per line, for example /admin/.
- Add your sitemapThe full address of sitemap.xml.
- Upload the fileTo https://yourdomain/robots.txt.
Good to know
- Blocking a page in robots.txt does not remove it from Google if other sites link to it. Use a noindex tag for that.
- Never block your CSS and JavaScript files: Google needs them to render your pages.
- Test the file in Google Search Console after you upload it.
Frequently asked questions
Where does robots.txt go?
In the root folder of your domain, so that it opens at https://example.com/robots.txt.
Does robots.txt hide a page?
No. It asks crawlers not to visit it. Anyone can still open the page, and the address may still appear in search results.
Does Google use Crawl-delay?
No. Google ignores it. Bing and some others respect it.
Is my text sent to a server?
No. Everything is calculated in your browser, so your text stays on your device.