# Free Robots.txt Generator

> Free robots.txt generator. Choose what to allow and block, decide on AI crawlers like GPTBot and ClaudeBot, add your sitemap, and copy a valid file.

Canonical: https://abacklaunch.com/tools/robots-txt-generator
Last updated: 2026-10-25

Build a valid robots.txt: choose folders to block, decide which AI crawlers may read your site, and add your sitemap.

This is an interactive tool. Use it at https://abacklaunch.com/tools/robots-txt-generator (it runs in your browser; nothing is uploaded).

## How to use it

1. **Pick folders to block**: Admin, account and search pages are common; add your own.
2. **Decide on AI crawlers**: Allow or block GPTBot, ClaudeBot, PerplexityBot and Google-Extended.
3. **Add your sitemap and copy**: Save the file as robots.txt at your site's root.

## What belongs in robots.txt

robots.txt tells crawlers which paths they may fetch. Block pages that should never be crawled, like admin panels, account pages and internal search results, and point crawlers to your sitemap.

Do not block CSS or JavaScript files; search engines need them to render the page. And remember that robots.txt is public: it is not a way to hide secret URLs.

## AI crawlers

OpenAI uses GPTBot, Anthropic uses ClaudeBot, Perplexity uses PerplexityBot, and Google uses the Google-Extended token for AI training without affecting Search. Allowing them lets your pages be read and cited; blocking them is a business decision.

## Questions

### Does robots.txt remove pages from Google?

No. It stops crawling. Use a noindex robots tag on the page to keep it out of results.

### Does blocking Google-Extended affect my rankings?

No. Google says Google-Extended controls use for its AI models and does not affect Google Search.

### Where should I upload the file?

To the root of the host: https://yoursite.com/robots.txt.

### How do I check the file works?

Use the robots.txt tester on any page of your site to see what each crawler may fetch.

## Related

- [Robots.txt tester](https://abacklaunch.com/tools/robots-txt-tester)
- [Meta robots tag generator](https://abacklaunch.com/tools/meta-robots-tag-generator)
- [Sitemap checker](https://abacklaunch.com/tools/sitemap-checker)
- [llms.txt generator](https://abacklaunch.com/tools/llms-txt-generator)
- [Meta tag generator](https://abacklaunch.com/tools/meta-tag-generator)
- [Free Markdown and schema tools](https://abacklaunch.com/tools/category/markdown)
