Robots.txt Generator
Generate a robots.txt file with presets for common bots including AI crawlers. Copy or download instantly.
How to Use
- 1
Add crawl rules
Specify which user agents (Googlebot, all bots) and which paths to allow or disallow.
- 2
Add your sitemap URL
Enter your sitemap URL to help crawlers discover all your pages.
- 3
Preview and download
Preview the robots.txt content and download it to place in your website's root directory.
Frequently Asked Questions
A robots.txt file tells search engine crawlers which pages or sections of your website they can or cannot access. It is placed in the root directory of your site and is one of the first files crawlers check.
Select the user agents (Googlebot, Bingbot, etc.), specify which paths to allow or disallow, add your sitemap URL, and the tool generates a properly formatted robots.txt file ready to upload to your server.
Robots.txt prevents crawling, but blocked pages can still appear in search results if other pages link to them. To fully remove a page from search results, use a "noindex" meta tag instead.
More in SEO Tools
Meta Tag Generator
Generate complete HTML meta tags — title, description, Open Graph, and Twitter Card — ready to copy.
Title Tag Checker
Preview how your page title and meta description look in Google search results with live pixel-width feedback.
Open Graph Preview
See how your page looks when shared on Facebook, Twitter/X, and LinkedIn — before you publish.