---
title: "robots.txt"
description: "The file at your site's root that tells crawlers which addresses they may fetch. What it does, what it cannot do, and how Vunora checks and fixes it."
author: "Vimanyu Aggarwal"
date: "2026-12-01"
canonical: "https://vunora.ai/glossary/robots-txt"
---

# robots.txt

robots.txt is a plain text file of rules for crawlers. Google's [introduction to robots.txt](https://developers.google.com/search/docs/crawling-indexing/robots/intro), read on 1 December 2026, says "A robots.txt file tells search engine crawlers which URLs the crawler can access on your site."

The file has one home. Google's guide to [creating a robots.txt file](https://developers.google.com/search/docs/crawling-indexing/robots/create-robots-txt) says it "must be located at the root of the site host to which it applies", so for `www.example.com` that is `https://www.example.com/robots.txt`.

## An example

This file lets every crawler in and tells them where the sitemap is:

```text
User-agent: *
Allow: /

Sitemap: https://www.example.com/sitemap.xml
```

A file copied from a staging site can say `Disallow: /` instead. That one line asks every crawler to stay off every page, and the site drops out of search without anyone touching a page.

The other trap runs the opposite way. Google says robots.txt "is not a mechanism for keeping a web page out of Google". To keep a page out, use noindex or a password. Blocking that page in robots.txt as well backfires, because then "the crawler will never see the `noindex` rule".

[What to put in robots.txt on a vibe coded site](https://vunora.ai/blog/robots-txt-vibe-coded-site) has a file you can copy and the mistakes to look for.

## In Vunora

Two checks on the [SEO checklist](https://vunora.ai/product/seo) read the robots.txt your live site serves:

- "robots.txt allows your pages" passes when "robots.txt blocks no published page".
- "AI crawlers can read your site" passes when "robots.txt lets GPTBot, ClaudeBot, PerplexityBot and OAI-SearchBot in".

When one fails, its card offers "Fix robots.txt" or "Let AI crawlers in". Vunora writes the change into your repository, as a direct commit or a pull request, the way your site gets every other change. If the fix would open pages that a rule of your own blocks, Vunora sends it as a pull request that names the rule, so you decide.

## Limits

- If your site builds robots.txt in code, Vunora leaves your own rules alone and tells you which file to change.
- The fix reaches visitors after your host builds and deploys the commit. Vunora does not host your site.
- robots.txt asks crawlers to stay away. It does not hide a page from search.

## Related terms

- [Sitemap](https://vunora.ai/glossary/sitemap): the list of pages that robots.txt can point to.
- [llms.txt](https://vunora.ai/glossary/llms-txt): a second file at the root, written for AI tools.
- [Canonical URL](https://vunora.ai/glossary/canonical-url): the one address you want search engines to keep.
