Skip to main content
DevTools24

Generador Robots.txt

Crea un archivo robots.txt para tu sitio web para controlar cómo los motores de búsqueda rastrean tus páginas.

Presets:

Rules

User-agent: *
Disallow: /admin/
Disallow: /private/

robots.txt - Detalles técnicos

The robots.txt file tells web crawlers which URLs they can access on your site. It's placed at the root of your domain (e.g., example.com/robots.txt). While crawlers should respect these rules, they are not enforceable—use authentication for truly private content.

Alternativa de línea de comandos

# Test your robots.txt\ncurl https://example.com/robots.txt\n\n# Check if a URL is blocked\n# Use Google Search Console's robots.txt Tester

Referencia

Ver especificación oficial