Khoji

A robots.txt checker that also covers AI crawlers

Khoji's robots.txt checker reads the file on your site and tells you, for each of nineteen named crawlers, whether it is allowed in or blocked. The list includes GPTBot, ClaudeBot and PerplexityBot alongside the search crawlers. If you have wondered what your robots.txt actually says to AI crawlers, this answers it.

What robots.txt controls, and what it does not

A robots.txt file sits at the root of a site and tells crawlers which paths they may fetch. Well-behaved crawlers follow it. It is a request and not a lock, so it keeps polite visitors out of certain paths and does nothing to stop a crawler that ignores it.

It also does not decide what appears in search results. Robots.txt is about fetching. If you need to keep a page out of results, you want a different tool, covered below.

If you came looking for a robots txt generator, here is the honest version: Khoji reports on an existing file and does not write one for you. The file is plain text, so you can write it by hand. A rule names a crawler on a line starting "User-agent" and then lists paths on "Disallow" lines. To let a crawler into everything, the file can say nothing at all, or leave its Disallow line empty.

What Khoji reports: nineteen named crawlers, allowed or blocked

Khoji reports whether your site's robots.txt lets in each of nineteen named crawlers, including GPTBot, ClaudeBot and PerplexityBot. For each one you see whether it is allowed or blocked.

This turns a file that is easy to misread into a short list you can act on. An old plugin or a copied template can leave a file saying things you never intended. Think of Khoji as a robots txt tester that answers crawler by crawler.

No robots.txt is not an error

If a site has no robots.txt, Khoji reports that everything is allowed rather than flagging a fault. That is correct behaviour. A missing file means no path has been closed to crawlers.

So a small business site without the file is not broken. Add one only when you have a reason, such as keeping a private folder or a staging area from being fetched.

Blocking AI crawlers: a choice, with trade-offs

Whether to allow or block crawlers such as GPTBot, ClaudeBot and PerplexityBot is your decision. Neither answer is right for every business. Some owners are happy for their pages to be fetched; others prefer to keep them out. Think about what you publish, who you want to reach, and how comfortable you are with your content being fetched.

Khoji does not push you either way. It shows what your file does now, so a choice you make deliberately is the one that is live. Remember the limit from earlier: a robots.txt rule is a request, so it works with crawlers that respect it.

robots.txt and noindex are different tools

Robots.txt controls which paths crawlers may fetch. A noindex rule tells search engines not to show a page in results, and the page must stay crawlable for the rule to be seen.

Here is the trap. If you block a page in robots.txt and also put noindex on it, the crawler may never fetch the page, so it never sees the noindex. Decide which job you are doing. To keep a page out of results, use noindex and leave the page crawlable. To stop crawlers fetching a path, use robots.txt. Our guide to the noindex tag goes through it step by step.

Khoji also checks robots.txt before it crawls your site

The same file governs Khoji itself. Khoji crawls a site within a bound of 100 pages and depth 4, and checks robots.txt before every fetch. A crawl finds broken internal links, redirect chains, orphan pages and duplicate titles.

Results are counted by severity, as errors, warnings and notes. Khoji shows no SEO score out of 100. For platform-specific help, see the guide to robots.txt for WordPress, and for one of the crawlers on the list, the guide to ClaudeBot. The Khoji home page has the full picture, and the pricing page lists the plans.

Frequently asked questions

What does a robots.txt checker do?

A robots.txt checker reads the robots.txt file at the root of your site and tells you which crawlers may fetch which paths. Khoji reports whether the file lets in each of nineteen named crawlers, including GPTBot, ClaudeBot and PerplexityBot, and reports each one as allowed or blocked.

Should I block AI crawlers?

That is your choice, and it has trade-offs. Blocking a crawler asks it to stay away from your pages, while allowing it leaves them open to be fetched. Khoji shows you which of the named crawlers your file currently lets in, so you can decide on facts. A robots.txt rule is a request, not a lock.

Is a missing robots.txt a problem?

No. If a site has no robots.txt, Khoji reports that everything is allowed rather than flagging a fault. A missing file simply means crawlers are not asked to stay away from any path. You only need the file when you want to keep certain paths from being fetched.

Does robots.txt stop a page appearing in Google?

Not reliably. Robots.txt tells crawlers which paths they may fetch. It is a different tool from noindex, which tells search engines not to show a page in results. A noindex rule only works if the page stays crawlable, so blocking the page in robots.txt can stop the rule being seen.

To see what your own file tells each crawler, run a Khoji SEO analysis on your own site.

Run a Khoji SEO analysis on your own site