Skip to main content
DevTools24

Генератор robots.txt

Создание файла robots.txt для вашего веб-сайта для контроля того, как поисковые системы сканируют ваши страницы.

Presets:

Rules

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

robots.txt - Технические детали

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.

Альтернатива командной строки

# 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

Справка

Посмотреть официальную спецификацию