← All ToolsFree · no sign-up
robots.txt Generator
Build a robots.txt with per-user-agent allow/disallow rules, crawl-delay and sitemap lines.
- Add rules per user-agent
- Add your sitemap URL
- Copy the robots.txt
User-agent: * Disallow: Sitemap: https://example.com/sitemap.xml
Frequently asked questions
- Save it as robots.txt and upload it to the root of your domain (e.g. example.com/robots.txt) — search engines only look for it there.
- Yes — add a separate user-agent block for each crawler (like Googlebot or Bingbot) with its own allow and disallow rules, plus a catch-all block for everyone else.
- Not reliably — it only tells crawlers not to fetch a URL. A disallowed page can still be indexed if it’s linked elsewhere; use a noindex meta tag to actually keep a page out of search results.
- Yes — adding your sitemap.xml URL in robots.txt helps search engines discover it. Use the Sitemap Generator to build one if you don’t have it yet.
- No. It runs entirely in your browser — no software install, no account, no email required.
Where do I put the robots.txt file once generated?
Can I set different rules for different crawlers?
Does robots.txt stop pages from appearing in search results?
Should I include a sitemap line?
Do I need to install anything or sign up?
Advertisement