Skip to main content
All tools

ToolsRobots.txt generator

Robots.txt generator

Sitemap URL, disallow paths, and optional AI-scraper blocks.

Result

User-agent: *
Allow: /
Disallow: /api/
Disallow: /inbox

Sitemap: https://ystartups.com/sitemap.xml

How to use the robots.txt generator

  1. Fill in the fields.
  2. Adjust until the preview looks right; it updates instantly.
  3. Copy or download the result.

About this tool

Robots.txt tells crawlers what they may fetch. Add your sitemap URL, the paths to keep out (admin, search, carts) and choose whether to allow AI crawlers such as GPTBot and ClaudeBot. You get a correctly formatted file to place at the root of your site.

More in On-page & technical SEO, or launch your product free on the YStartUps launchpad.

FAQ

Is the robots.txt generator free?

Yes. Every YStartUps tool is free to use, with no signup.

Is my input uploaded anywhere?

No. Everything runs in your browser.