Should Your Local Directory Block AI Crawlers in robots.txt?
Every few months another directory owner asks whether they should block AI crawlers. The worry is understandable. You spent time collecting, cleaning and organizing local business data, and the idea of an AI company reading all of it for free feels wrong. At the same time, more people are asking ChatGPT, Gemini and similar assistants for local recommendations, and a directory that can't be read may not be mentioned.
The answer depends on what each crawler does, and they don't all do the same thing. This note goes through the main ones, what blocking each actually changes and how to think about the choice for a static local directory.
Training crawlers and search crawlers are different
The most useful distinction is between crawlers that collect content for training AI models and crawlers that fetch pages so an assistant can show or cite them in answers. Some companies run separate crawlers for each purpose, which means you can make different choices for each.
OpenAI is the clearest example. Its documentation lists GPTBot as the crawler for content that may be used to train its models, and says that disallowing GPTBot signals that a site's content should not be used in training. A separate crawler, OAI-SearchBot, is used to show sites in ChatGPT search results. OpenAI states that sites opted out of OAI-SearchBot will not be shown in ChatGPT search answers.
So a directory owner who blocks GPTBot but allows OAI-SearchBot is saying: don't train on my pages, but do show them when people search. Many directory owners find that combination fits what they want.
What about user-initiated fetches
OpenAI also documents a user agent called ChatGPT-User, which fetches a page when a person in ChatGPT asks it to visit a link or look something up. OpenAI says robots.txt rules may not apply to these user-initiated requests, and that this agent isn't used to decide whether content appears in search.
In practice, that means blocking it in robots.txt is not a reliable way to keep a specific page out of a conversation. If a page is public, assume a person can ask an assistant to read it.
How Google-Extended fits in
Google handles this with a robots.txt token called Google-Extended. According to Google's crawler documentation, it controls whether content Google crawls may be used for training future Gemini models and for grounding in Gemini apps and Vertex AI. It has no separate user agent of its own.
The part directory owners most often get wrong: Google says Google-Extended does not affect a site's inclusion in Google Search and is not used as a ranking signal. Blocking it won't hurt your rankings, and blocking Googlebot to keep out AI would remove you from Google Search entirely, which is almost never what a directory wants.
A sensible default for a local directory
For most directories, the goal is to be found. The business model depends on visitors, and the value of the site to the businesses listed depends on people seeing them. With that in mind, a reasonable starting point looks like this:
- Allow regular search crawlers, including Googlebot, without restriction.
- Allow crawlers that power AI search answers, such as OAI-SearchBot, so your pages can be cited.
- Decide separately whether to allow training crawlers such as GPTBot and the Google-Extended token.
That third decision is a values question more than a traffic question. Blocking training crawlers protects your work from being folded into a model. Allowing them may help assistants know your directory exists. There's no verified evidence either way that it changes how often a local directory gets cited, so be wary of anyone who claims certainty.
Other AI companies publish their own crawler names and rules. Check each company's documentation before adding a line, since names and purposes change.
Editing robots.txt on a static directory
On a static site, robots.txt is a plain text file at the root of the domain. Each group starts with a User-agent line naming the crawler, followed by Disallow or Allow lines for paths. A group for GPTBot with "Disallow: /" blocks it from the whole site. Crawlers you don't mention follow the rules in the group for all user agents, if you have one.
Keep the sitemap line at the bottom so search engines can find every city and category page. If your directory generator writes robots.txt for you, edit it after each build or add the lines to the generator's template, otherwise the next rebuild will overwrite your changes. The walkthrough on building a static local directory from a Google Maps CSV shows where files like this sit in a typical build.
Check that the change did what you meant
After editing, open yourdomain/robots.txt in a browser and read it. A typo in a user agent name means the rule silently does nothing. Watch your server or host logs for the crawlers you named, if your host provides them, and confirm requests stop or continue as expected.
More notes on AI search and the technical side of directory sites are on the AI search and tech blog. 1 Click Directory Builder generates a complete static directory site, sitemap included, from a Google Maps export, so the robots.txt decisions here are one of the few files you may want to adjust by hand.
Questions about AI crawlers and directories
Will blocking GPTBot remove my directory from ChatGPT search?
Not according to OpenAI's documentation. Search results use OAI-SearchBot, which has its own robots.txt setting.
Does blocking Google-Extended affect Google rankings?
Google states that it does not affect inclusion in Google Search and is not a ranking signal.
Should I block all bots I don't recognize?
Not blindly. Some unfamiliar bots belong to search engines or link checkers. Look up a bot's documentation before blocking it.