13 characters · 2 words · 13 bytes (UTF-8)
Output will appear here
Click in the output to select all text
13 characters · 2 words · 13 bytes (UTF-8)
Output will appear here
Click in the output to select all text
Generate clean XML sitemap index and URL entries with priority, changefreq, and lastmod.
Generate rel="canonical" and rel="alternate" language tags to prevent duplicate content.
Run on-page SEO checks for title length, description length, headings, and readability.
Generate standard HTML meta tags, title, description, canonical, and robots tags.
Validate Schema.org JSON-LD scripts for required @context, @type, and syntax validity.
The robots.txt Crawler Rules Generator builds a standards-compliant robots.txt file with user-agent directives, disallow and allow paths, and a sitemap reference - all without you needing to memorize the exact syntax crawlers expect. Add rules for specific bots like Googlebot or Bingbot, block staging directories or admin paths, and link to your XML sitemap in one place. This tool suits developers deploying new sites, SEOs auditing crawl access, and site owners who want to keep bots out of private or duplicate-content areas without accidentally blocking their entire site. It runs instantly in your browser with no signup and no server upload, so you can iterate on rules freely. A single misplaced disallow rule in robots.txt can deindex an entire site, so getting the syntax exactly right matters more than almost any other technical SEO file. Because the generator validates path formatting as you build each rule, it's an easy way to sanity-check a file before it goes live and starts controlling how bots crawl your site. Scroll down to build your robots.txt file now.
It must be at the root of your domain, such as https://example.com/robots.txt, or crawlers won't find it.
Not necessarily - it only blocks crawling. A blocked page can still appear in search results without a snippet if it's linked from elsewhere.
Use a noindex meta robots tag or X-Robots-Tag HTTP header instead - and make sure the page isn't blocked in robots.txt, or crawlers can't see the noindex tag.
Yes, adding a Sitemap: line helps crawlers discover your XML sitemap even if it hasn't been submitted directly in Search Console.
Yes, use a specific User-agent value like Googlebot or Bingbot for targeted rules, and User-agent: * for rules applying to all crawlers.
Yes, paths in Disallow and Allow rules are case-sensitive and must match your URL structure exactly.
Crawlers assume full access to crawl the entire site by default, so a missing robots.txt is not itself a problem.