What is robots.txt?

robots.txt is a text file at a site's root that tells crawlers which paths they may and may not fetch. AI search glossary, updated November 23, 2026.

robots.txt definition

The file groups rules by user-agent, with Allow and Disallow lines and optional Sitemap lines. The Robots Exclusion Protocol was standardised as RFC 9309 in 2022.

robots.txt controls crawling, not indexing. A blocked URL can still be indexed if other pages link to it; a noindex directive is needed to keep a crawlable page out of results.

Also known asrobots exclusion protocol

Why robots.txt matters

  • It keeps crawlers out of admin, checkout and filter URLs that waste crawl budget.
  • It is where sites allow or block specific AI crawlers.
  • A single wrong Disallow line can hide a whole site from search.

robots.txt on LaunchNests

LaunchNests blocks private areas such as the dashboard and checkout, and filter parameters, while allowing search engines and AI crawlers everywhere else.

Related terms

robots.txt: frequently asked questions

Common questions about robots.txt.

Does robots.txt stop a page from being indexed?

No. It stops crawling. Use a noindex meta tag or header on a crawlable page to keep it out of the index.

Do all bots obey robots.txt?

Reputable search engines and most AI companies do. Malicious scrapers may ignore it, so it is not a security control.