Skip to content
Glossary

What Is Robots.txt?

Robots.txt is a plain-text file that gives search engine crawlers instructions about which areas of a website they may request. Website owners place the file at the domain root, where crawlers can find it before exploring pages. The file manages crawling access, but it does not guarantee that blocked URLs stay out of search results.

Quick Facts About Robots.txt

Category

Technical SEO file

Used for

Managing crawler access

Common confusion

It does not directly control indexing

Also called

Robots exclusion file, robots exclusion protocol

Often discussed with

Technical SEO For Accountants

Key Takeaways About Robots.txt

  • The file contains crawler instructions, not page content.
  • Rules can limit requests to selected website paths.
  • Blocking a URL does not guarantee removal from search results.

How Robots.txt Works

A desk holds a notebook with “robots.txt,” a laptop, calculator, coffee cup, money, magnifier, and pen

Robots.txt uses plain-text rules to guide automated crawlers when they visit a website. A rule can allow or disallow requests for a path, such as an internal search area or a private-looking folder. Different crawlers may interpret directives differently, so the file needs careful review.

Related glossary terms: Sitemap, Crawl Budget, Indexability.

Search engines read the file at the root of a domain before crawling permitted areas. A blocked path may still appear in search results if the search engine discovers its URL elsewhere, because crawling access and indexing are separate controls. Google Search Console can help inspect crawl and indexing behaviour, while a sitemap identifies pages that a website wants search engines to find.

Hands hold a pen and a paper labeled "Robots.txt" beside a laptop, mug, and notebook on a desk

Expert Note

When we review Robots.txt, we check its location, syntax, user-agent rules, and disallowed paths. We compare those rules with the website’s important service pages, sitemaps, and staging areas. We also test whether the file restricts crawling without being mistaken for an indexing directive.

Robots.txt in Practice: A Real-World Example

For an accounting firm website, Robots.txt might restrict crawling of an internal client portal while allowing public tax, bookkeeping, and contact pages. The rule should target the portal path without blocking shared assets needed to render public pages.

Related Terms

Sitemap

Sitemap is a file that lists the important URLs on a website and provides information that…

Crawl Budget

Crawl Budget is the attention and capacity a search engine assigns to crawling a website over…

Indexability

Indexability is a search engine’s ability to access, process and store a webpage in its index…

Google Search Console

Google Search Console is a free Google service that helps website owners monitor how pages appear…

SEOforAccountants.au

Have Questions About Robots.txt?

Contact SEOforAccountants.au for practical guidance on Robots.txt and related seo for accountants work in Melbourne.

+61 493 869 010