How to Block ChatGPT’s Web Crawling: Safeguarding Your Content


As digital publishers, you invest time and effort in crafting compelling content to engage your audience. Protecting this content and retaining control over its use is paramount in today’s ever-evolving digital landscape. With the advent of generative AI technologies like ChatGPT, it’s crucial to address web crawling and data scraping concerns. This article will guide you through blocking ChatGPT’s access to your content using OpenAI’s GPTBot, helping you safeguard your valuable content and maintain control.

Understanding GPTBot and Its Role

GPTBot is OpenAI’s latest tool designed to enhance the training data for their AI models, including the upcoming GPT-5. It tirelessly scours the internet to collect data that can improve AI technology’s accuracy, capabilities, and safety. In simpler terms, GPTBot spends its time exploring the web for information.

However, this extensive data collection has raised concerns among content creators. The good news is that OpenAI has acknowledged these concerns and now offers a way to opt out of sharing your site’s data with GPTBot, a win for publishers focused on data privacy and transparency.

Opting Out of GPTBot Web Crawling

To block GPTBot from accessing and using your website’s content for training purposes, follow these steps:

1. Modify Your Robots.txt

how to block chatgpt

File: The first step is to edit your website’s robots.txt file, which provides instructions to web crawlers, including GPTBot. To completely restrict GPTBot from accessing your site, add the following lines:

User-agent: GPTBot
Disallow: /

If you want to grant partial access to specific directories while restricting others, use:

User-agent: GPTBot
Allow: /page-1/
Disallow: /page-2/

Customize these directives to suit your specific needs, such as allowing GPTBot to crawl articles but blocking access to your shop.

2. Save and upload

After making the necessary changes to your robots.txt file, save it and upload it to your website’s root directory. This ensures that GPTBot recognizes your access preferences and adjusts its crawling behavior accordingly.

3. Verify Your Changes

Confirm that GPTBot is adhering to your access preferences using online tools and services that analyze your website’s robots.txt file. This step ensures that your content remains off-limits to GPTBot.


While opting out of GPTBot web crawling may have potential traffic implications, especially from Bing Chat, it’s essential for protecting your content’s integrity and controlling its usage. As AI evolves, publishers must proactively safeguard their valuable content. We are committed to supporting publishers in these efforts and will actively engage in discussions about responsible AI and content protection. Your content remains yours, now and in the future.

By following the outlined steps, you can take control of your content and protect it from unwanted data collection by AI crawlers like GPTBot. If you require technical assistance, don’t hesitate to consult your site host, administrator, or web developer for guidance. Together, we can ensure that your content remains secure and in your hands. Max


Max L