SEO.to / 16
Robots.txt generator
Pick which crawlers may read the site, which paths to block, and paste your sitemap URL. Copy the finished file to the root of your domain.
robots.txt
Crawlers toggled off are disallowed for all paths. Test the result with the robots.txt tester.
What the file does
robots.txt tells well-behaved crawlers which paths they may request. It controls crawling, not indexing: a page blocked from crawling can still be indexed if other pages link to it.
The three decisions
- Blocked paths: internal tools, drafts, faceted search parameters. Never block CSS or JavaScript, crawlers need them to render pages.
- AI crawlers: toggling a bot off writes a disallow group for that user-agent. Search indexers like OAI-SearchBot are the ones whose blocking removes you from AI citations.
- Sitemap: the Sitemap line is a pointer, not a rule, and it belongs outside any group.