robots.txt is a small file at the root of a website that asks search engine crawlers which areas to leave alone.

In plain words

Well-behaved crawlers read it first. It is a request, not a lock, so it does not protect private information.

Why it matters for a business

A single wrong line can hide your whole site from search engines, so it is worth checking after every launch.

A simple example

A line such as Disallow: /admin/ asks crawlers to skip the admin area, while the sitemap address is listed below it.

Related terms