Robots.txt Generator
How to Use This Robots.txt Generator
Use the generator below to produce a ready-to-use robots.txt file. It runs offline and creates the recommended rules for most sites.
- Enter your site URL — include
https://. Example:https://yourwebsite.com. - Click Generate — the tool will build the rules and sitemap lines automatically.
- Review the output — it will include
Disallowrules (e.g./search,/category/,/tag/) and one or moreSitemap:lines. - Click Copy to copy the content to your clipboard.
- Publish the file — paste the copied text into a file named
robots.txtand upload it to your site root so it is reachable athttps://yourwebsite.com/robots.txt.
Tip: If your site has multiple sitemap files (for posts, pages, images), add each sitemap URL on its own Sitemap: line as shown by the generator.