robots.txt
A file that tells cooperating crawlers which site paths they may request. It controls crawling behavior rather than providing access security.

Also called: Robots exclusion.
For: Builders · Marketers
Why it matters
It is where you decide which search and AI crawlers may visit, and one wrong line can hide your whole site.
In practice
Allow public articles while discouraging crawlers from requesting internal search URLs.
Watch for
Disallow does not reliably remove a URL from search. Keep private content behind authentication; use appropriate indexing controls for public pages.
Related terms
Search engine optimization · llms.txt · Canonical URL
Try it here
Guides that use it
Get your work cited by AI. · Audit your AI visibility in an afternoon.
Sources
Definition updated 2026-10-29.