Robots.txt Generator
Create a robots.txt with allow / disallow rules and a sitemap reference.
Designed to run in your browser. See the privacy policy.
About Robots.txt Generator
This robots.txt generator builds the plain-text file that tells search engine crawlers which parts of your site they may request. Enter a user-agent, the paths you want to block or allow, an optional crawl delay and your sitemap URL, and the file is assembled line by line as you type, ready to copy or download as robots.txt.
It is meant for site owners and developers who want a clean, correctly formatted starting file without memorising the syntax. The output is generated in your browser. The generator writes one user-agent group at a time, so if you need different rules for different bots, generate each group and combine them in one file.
How to use
- Type a user-agent, or leave the default * to address every crawler; use a name such as Googlebot or Bingbot to target one bot.
- Under "Disallow (one path per line)", list the paths crawlers should skip, for example /admin or /private.
- Under "Allow (one path per line)", list any paths that should stay crawlable, such as a public folder inside a blocked section.
- Optionally set "Crawl-delay (optional)" in seconds and paste your full "Sitemap URL (optional)".
- Copy the robots.txt output or download it, then put the file at the root of your domain so it is served at /robots.txt.