How to use the Robots.txt Generator
- Choose whether all robots are allowed or blocked by default.
- Add folders or URL paths to disallow, one per line (for example /admin/ or /cart).
- Optionally block AI crawlers, set a crawl-delay and enter your sitemap URL.
- Download robots.txt and upload it to the root of your domain.
About this tool
Use this robots.txt generator to build the file that sits at the root of your domain and tells search engine crawlers which parts of your site they may request. It is the right place to keep bots out of admin areas, internal search results and duplicate filtered pages, and to point crawlers at your XML sitemap.
This generator builds a correctly formatted file from simple options: a default allow or disallow policy, the paths to block, optional rules for specific bots (including AI crawlers such as GPTBot and CCBot), crawl-delay, and your sitemap location. Download the file and upload it to the top level of your website, e.g. https://example.com/robots.txt.