Robots.txt Generator
Robots.txt is the first file a crawler asks for, and one careless line in it can take a whole site out of search. This builds the file from presets — allow everything, block the usual admin and search-result paths, or block a staging site entirely — and adds your own rules and sitemap reference on top. Every line it writes is standard syntax, so there are no vendor-specific directives to trip over.
* means every crawler. Name one, like Googlebot, to write a rule just for it.
One path per line, each starting with /.
Leave empty unless crawlers are overloading your server. Google ignores this.
Save this as robots.txt at the root of your domain — it only works at /robots.txt, not in a subfolder. An empty Disallow line means “nothing is blocked”.
Nothing is uploaded — this tool runs inside your browser, so your files never leave your device.
Why use this tool
- Presets for the three cases that cover almost every site
- Custom disallow and allow paths, one per line
- Sitemap reference and optional crawl-delay
- Runs in your browser — nothing uploaded
How it works
- 1Choose a starting point, then add any paths of your own.
- 2Add your sitemap URL so crawlers can find your page list.
- 3Save the result as robots.txt in the root of your domain.
Robots.txt Generator — frequently asked questions
At the very root of the domain — https://example.com/robots.txt and nowhere else. Crawlers only look there, so a copy in a subfolder does nothing. Each subdomain needs its own: blog.example.com is not covered by the file on example.com.
More seo tools
Looking for something else? Browse all seo tools
Explore the other tools
Same deal everywhere on the site — free, no sign-up, and no watermark on anything you download.
Or see every tool on one page.