Start a project

Free Robots.txt Generator

Generate a straightforward robots.txt policy that tells compliant crawlers which paths they may request. Review every rule before publishing it.

User-agent: *
Allow: /
Disallow: /admin/
Disallow: /checkout/

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

Use the robots.txt generator in three steps

  1. 01

    Enter your sitemap URL and paths that should not be crawled.

  2. 02

    Choose whether to include common AI crawler directives.

  3. 03

    Copy the file to /robots.txt at the root of your domain.

Practical output you can use

  • Produces standards-friendly plain text
  • Optional directives for common search and AI crawlers
  • Warns that robots.txt controls crawling, not secure access or guaranteed de-indexing

Built and maintained by Ricardo Maldonado, a full-stack developer and DevOps engineer working across web development, technical SEO, and automation.

Robots.txt Generator FAQ

Does robots.txt remove a page from Google?

Not reliably. It controls crawling, while removal from search generally requires appropriate indexing controls such as noindex on an accessible page.

Can robots.txt protect private information?

No. The file is public and compliant crawlers may honor it, but it is not authentication or access control.

Where should I upload it?

At the root of the relevant host, such as https://example.com/robots.txt.

Finding the issue is step one.
Fixing it is where results begin.

Discuss your website →