Generate a robots.txt file for your website. Control how search engines and crawlers access your site. Free online tool.
Block or allow specific bots
Get your robots.txt file in seconds
5 robots.txt files free daily
A robots.txt file tells search engine crawlers which URLs they can access on your site. It helps prevent server overload and keeps sensitive pages out of search results.
Place robots.txt in the root directory of your website (e.g., https://example.com/robots.txt). Most search engines (Google, Bing, Yandex) respect robots.txt directives.
User-agent: * Disallow: /
User-agent: * Disallow:
User-agent: * Disallow: /admin/ Disallow: /wp-admin/ Allow: /admin/login.php Sitemap: https://example.com/sitemap.xml
User-agent: Googlebot-Image Disallow: /photos/ User-agent: * Disallow: