Blocking an admin area
Set default access to Allow all pages, add /admin/ and /private/ under Disallow, and a sitemap URL, to generate lines like Disallow: /admin/, Disallow: /private/ and Sitemap: https://example.com/sitemap.xml.
Generate a robots.txt file with allow, disallow and sitemap rules — free robots.txt generator.
About
Builds a robots.txt file with allow/disallow rules, an optional sitemap link and crawl-delay, instead of hand-writing it yourself.
Site owners use it to keep crawlers out of admin areas or staging paths while still pointing them to a sitemap, while developers launching a new site use it to make sure it isn't accidentally left fully open — or fully blocked — to search engines. It's one of many free SEO tools on Toolapt, and like every tool here, it's free to use with no sign-up and no limit on how many times you run it.
Examples
3 worked examples
Set default access to Allow all pages, add /admin/ and /private/ under Disallow, and a sitemap URL, to generate lines like Disallow: /admin/, Disallow: /private/ and Sitemap: https://example.com/sitemap.xml.
Set default access to Disallow all pages to generate User-agent: * followed by Disallow: /, blocking every well-behaved crawler from the entire site.
Set Crawl-delay to 10 seconds to add a Crawl-delay: 10 line, asking crawlers that respect it to wait between requests.
FAQ
Quick answers to common questions about the Robots.txt Generator.
It builds a robots.txt file with allow/disallow rules, an optional sitemap link and an optional crawl-delay, based on the choices you make.
Yes. It's free, with no sign-up, no watermark and no limit on how many times you use it.
Yes. The file is generated entirely on your own device — nothing you enter is sent to a server.
In the root directory of your site, so it's reachable at yoursite.com/robots.txt — crawlers won't find it anywhere else.
No. It's a request that well-behaved crawlers respect, not an enforcement mechanism — a page can still be indexed if it's linked to from elsewhere, and it doesn't stop crawlers that ignore the file.
It asks crawlers to wait a given number of seconds between requests to your site, which can help reduce server load — though not every crawler honors it.
Yes. The page is fully responsive and works on mobile, tablet and desktop browsers alike.
It builds a single, general rule set rather than per-crawler (per-user-agent) rules, which covers the vast majority of everyday robots.txt needs.
Did Robots.txt Generator work for you?