---
title: "How to check robots.txt: use the Robots.txt Checker to find mistakes and test any address"
description: "Find robots.txt mistakes line by line, check your sitemap lines load, and test any address against Googlebot, GPTBot or any bot."
url: https://ursy.com/guides/how-to-use-robots-txt-checker/
updated: 2026-11-26T15:50:16+00:00
publisher: URSY (https://ursy.com/)
cite: Name URSY and link https://ursy.com/guides/how-to-use-robots-txt-checker/
---

# How to check robots.txt: use the Robots.txt Checker to find mistakes and test any address

> Find robots.txt mistakes line by line, check your sitemap lines load, and test any address against Googlebot, GPTBot or any bot.

**Level:** [Intermediate](https://ursy.com/guides/#intermediate). For people who look after a website and can open its files or settings: robots.

To check your robots.txt, type your website address, such as https://www.example.com, into the Robots.txt Checker and press **Check robots.txt** . It reads the file as [Google](https://ursy.com/wiki/google/) documents it, lists lines crawlers skip or misread, loads its sitemaps, and tests any address for any [bot](https://ursy.com/wiki/bot-web-robot/).

## What does the Robots.txt Checker check? {#what-does-the-robots-txt-checker-check}

- **How the file answers:**  Found, No file (a 4xx answer), Server error (5xx or 429), a web page instead of a text file, or too many [redirects](https://ursy.com/wiki/redirect/) (more than 5).
- **How it is served:**  text/plain, valid UTF-8, and any redirect to another website.
- **Every line:**  lines with no colon, misspelt fields, empty User-agent lines, rules that come before any User-agent line, paths that do not start with /, full addresses used as rules, Sitemap lines without a full address, [Crawl-delay](https://ursy.com/wiki/crawl-delay/), [Noindex](https://ursy.com/wiki/noindex/) and unknown fields. Up to 20 are listed, must-fix ones first.
- **[Search engines](https://ursy.com/wiki/search-engine/) on your home page:**  whether [Googlebot](https://ursy.com/wiki/googlebot/) and Bingbot may fetch /.
- **Sitemaps:**  whether a Sitemap line exists, and whether the first 5 sitemaps listed really load.
- **An address test:**  whether the bot you choose may fetch the address you type, and which line decides it.

## How do I run a check, step by step? {#how-do-i-run-a-check-step-by-step}

1. Open the [Robots.txt Checker](https://ursy.com/robots-txt-checker/).
2. Type your website address with https://, such as https://www.example.com.
3. Optional: in  **Test an address** , type a path such as /checkout/ or a full address.
4. Optional: in  **As which bot** , pick Googlebot, Bingbot, [GPTBot](https://ursy.com/wiki/gptbot/), [OAI-SearchBot](https://ursy.com/wiki/oai-searchbot/), [ClaudeBot](https://ursy.com/wiki/claudebot/), [PerplexityBot](https://ursy.com/wiki/perplexitybot/), [Google-Extended](https://ursy.com/wiki/google-extended/), Applebot, [CCBot](https://ursy.com/wiki/ccbot/), URSYbot or Any other bot (*). Googlebot is used if you pick none.
5. Press  **Check robots.txt** .

Each visitor gets 2 free checks of this tool a day, and a result is kept for 24 hours.

## What does each part of the result mean? {#what-does-each-part-of-the-result-mean}

| Part | What it means |
| --- | --- |
| robots.txt card | What /robots.txt answered. Found is what you want. |
| File size | Google reads the first 500 KiB and ignores the rest. |
| Groups of rules | How many User-agent groups the file has. |
| Lines with mistakes | Lines crawlers skip or may read differently. Lower is better. Crawl-delay is not counted. |
| Sitemaps that load | Sitemaps listed that answered 200, out of the first 5. |
| Bots table | Your test address (or /) for your bot plus Googlebot, Bingbot, GPTBot, OAI-SearchBot, ClaudeBot and PerplexityBot: Allowed or Blocked, the group used and the deciding line. |
| Groups table | Each group’s line, bots, rule counts, whether it allows /, and any Crawl-delay. |
| Your robots.txt | The file as your server sent it (first 400 lines), ready to copy. |

Red findings are must-fix, amber are lines to check, each with its line number. The score starts at 100. Each must-fix file problem takes off 20 and each one to check takes off 10. Line mistakes take off 5 (must fix) or 2 (check), at most 30 in total. A server error or a [redirect loop](https://ursy.com/wiki/redirect-loop/) keeps the score at 10 or below. The address test never changes the score, because blocking can be what you want.

## How do I fix the common findings? {#how-do-i-fix-the-common-findings}

### A line has a mistake {#a-line-has-a-mistake}

Keep one rule per line, start every path with /, and put rules under a User-agent line. Google uses the group with the most specific matching user agent, then the most specific rule, and on conflicting rules the least restrictive one ([Google’s robots.txt rules](https://developers.google.com/search/docs/crawling-indexing/robots/robots_txt), checked 23 November 2026).

```
User-agent: *
Disallow: /checkout/

Sitemap: https://www.example.com/sitemap.xml
```

### No sitemap is listed {#no-sitemap-is-listed}

Google says you can insert a Sitemap line anywhere in robots.txt, and it must be a full address with https:// ([Google](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap)).

### robots.txt answers with a server error {#robots-txt-answers-with-a-server-error}

Make it answer 200 with your rules, or 404 if you have none. [RFC 9309](https://www.rfc-editor.org/rfc/rfc9309.html) says a crawler must then assume complete disallow. Google says it stops [crawling](https://ursy.com/wiki/crawling/) for the first 12 hours, then uses its last good copy for up to 30 days (checked 23 November 2026).

### robots.txt answers with a web page {#robots-txt-answers-with-a-web-page}

Your server sends a page with status 200. Create a real text file, or let the address answer 404.

## Questions people ask {#questions-people-ask}

### Do I need a robots.txt file? {#do-i-need-a-robots-txt-file}

No. [Google](https://developers.google.com/search/docs/crawling-indexing/robots/robots_txt) treats all 4xx answers except 429 as if there were no file, so every bot may fetch every page. A file helps to keep bots out of some areas or list your sitemap.

### Does Disallow remove a page from Google? {#does-disallow-remove-a-page-from-google}

No. Google says robots.txt is not a way to keep a page out of Google, and a blocked address can still be indexed if other pages link to it ([Google](https://developers.google.com/search/docs/crawling-indexing/robots/intro)). Allow crawling and use noindex instead: the page must not be blocked for the noindex to be seen ([Google](https://developers.google.com/search/docs/crawling-indexing/block-indexing)).

### Does Google obey Crawl-delay? {#does-google-obey-crawl-delay}

No. Google says fields such as crawl-delay are not supported. The checker shows Crawl-delay lines as a note, not a mistake, and does not count them against you.

### Does every bot obey robots.txt? {#does-every-bot-obey-robots-txt}

No. RFC 9309 says the rules are not a form of access authorisation, and Google says not all search engines support them. Put private pages behind a login.

## Related {#related}

- Tool: [Robots.txt Checker](https://ursy.com/robots-txt-checker/)
- Wiki: [robots.txt](https://ursy.com/wiki/robots-txt/) and [user agent](https://ursy.com/wiki/user-agent/)
- Product: [SEO](https://ursy.com/seo/)

## Sources {#sources}

- [Google Search Central: How Google interprets the robots.txt specification](https://developers.google.com/search/docs/crawling-indexing/robots/robots_txt), checked 23 November 2026
- [Google Search Central: Introduction to robots.txt](https://developers.google.com/search/docs/crawling-indexing/robots/intro), checked 23 November 2026
- [Google Search Central: Block search indexing with noindex](https://developers.google.com/search/docs/crawling-indexing/block-indexing), checked 23 November 2026
- [Google Search Central: Build and submit a sitemap](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap), checked 23 November 2026
- [RFC 9309: Robots Exclusion Protocol](https://www.rfc-editor.org/rfc/rfc9309.html), checked 23 November 2026

*Updated 23 November 2026 by URSY.com.*
