How to block ChatGPT
How to block ChatGPT on every device
ChatGPT is OpenAI’s chat assistant and the most-used AI tool in the world. It writes, summarizes, solves homework, and generates images from a website, a desktop app, and iPhone and Android apps. Below: how to block ChatGPT in the browser, on phones and tablets, on your home or school network, and on managed devices.
AI blocker suite for browsers, desktop, and mobile
ChatGPT
AI assistants
chatgpt.comBlocked15 hostnames in the Nullgen catalog
Every entry also covers its subdomains, so the ChatGPT app and API are blocked too.
What ChatGPT connects to
These are the hostnames ChatGPT uses for its website, its apps, and its API. Each entry is matched as a suffix — blocking chatgpt.com also blocks every subdomain of it — so the ChatGPT app cannot slip through on a hostname that is not listed. Shared hosts that other products need are deliberately left out.
| Hostname | Role |
|---|---|
| chatgpt.com | Main website |
| ab.chatgpt.com | App, API, or content host |
| android.chat.openai.com | App, API, or content host |
| api.openai.com | App, API, or content host |
| auth.openai.com | App, API, or content host |
| auth0.openai.com | App, API, or content host |
| cdn.oaistatic.com | App, API, or content host |
| chat.openai.com | App, API, or content host |
| files.oaiusercontent.com | App, API, or content host |
| ios.chat.openai.com | App, API, or content host |
| oaistatic.com | App, API, or content host |
| oaistatsig.com | App, API, or content host |
| oaiusercontent.com | App, API, or content host |
| platform.openai.com | App, API, or content host |
| ws.chatgpt.com | App, API, or content host |
Block ChatGPT in the browser
Free: Nullgen browser extension
The Nullgen extension stops typing and pasting into the ChatGPT prompt box — and into AI prompt fields on any website, including new tools that launched last week. Everything else on the page keeps working. It runs right in Chrome, Edge, Firefox, and Safari, with no DNS or policy setup.
Managed browsers: block the sites by policy
On a school or company fleet, push the hosts above as a browser policy to block the whole ChatGPT site. These snippets use the official Chrome, Edge, and Firefox policy names.
{
"URLBlocklist": [
"ab.chatgpt.com",
"android.chat.openai.com",
"api.openai.com",
"auth.openai.com",
"auth0.openai.com",
"cdn.oaistatic.com",
"chat.openai.com",
"chatgpt.com",
"files.oaiusercontent.com",
"ios.chat.openai.com",
"oaistatic.com",
"oaistatsig.com",
"oaiusercontent.com",
"platform.openai.com",
"ws.chatgpt.com"
]
}Chrome and Edge treat a bare hostname as the host plus every subdomain.
{
"policies": {
"WebsiteFilter": {
"Block": [
"*://ab.chatgpt.com/*",
"*://*.ab.chatgpt.com/*",
"*://android.chat.openai.com/*",
"*://*.android.chat.openai.com/*",
"*://api.openai.com/*",
"*://*.api.openai.com/*",
"*://auth.openai.com/*",
"*://*.auth.openai.com/*",
"*://auth0.openai.com/*",
"*://*.auth0.openai.com/*",
"*://cdn.oaistatic.com/*",
"*://*.cdn.oaistatic.com/*",
"*://chat.openai.com/*",
"*://*.chat.openai.com/*",
"*://chatgpt.com/*",
"*://*.chatgpt.com/*",
"*://files.oaiusercontent.com/*",
"*://*.files.oaiusercontent.com/*",
"*://ios.chat.openai.com/*",
"*://*.ios.chat.openai.com/*",
"*://oaistatic.com/*",
"*://*.oaistatic.com/*",
"*://oaistatsig.com/*",
"*://*.oaistatsig.com/*",
"*://oaiusercontent.com/*",
"*://*.oaiusercontent.com/*",
"*://platform.openai.com/*",
"*://*.platform.openai.com/*",
"*://ws.chatgpt.com/*",
"*://*.ws.chatgpt.com/*"
]
}
}
}Firefox needs both the apex and the wildcard pattern.
Need every AI tool in one file, or a .reg or macOS profile?
Open the free policy generatorBlock the ChatGPT app on phones and tablets
Nullgen mobile app
The Nullgen app blocks ChatGPT and 100+ other AI apps and sites on the whole device with an on-device filter — the app, the website, and the API, on any network, with no DNS server to run. Included with Nullgen Pro.
Without Nullgen: Screen Time on iPhone and iPad
- 1Open Settings → Screen Time → Content & Privacy Restrictions and turn restrictions on. This covers ChatGPT in Safari and in apps that use Apple’s web filter.
- 2Under Web Content, choose Limit Adult Websites — the setting that lets you deny chatgpt.com by name.
- 3Under Never Allow, add chatgpt.com. Safari and apps that use Apple’s web filter will refuse it.
- 4To keep the ChatGPT app off the device entirely, delete it and set Installing Apps to Don’t Allow, or use Ask to Buy on a child’s Apple Account.
Without Nullgen: Family Link on Android
- 1Open Family Link, choose the child, then Controls → Content restrictions → Google Chrome — where ChatGPT can be blocked by site.
- 2Choose Only allow approved sites, or add chatgpt.com under Blocked sites.
- 3Under Controls → App limits, block the ChatGPT app, or require approval for new installs from Google Play.
Block ChatGPT on your home or school network
A DNS blocker such as Pi-hole, AdGuard Home, NextDNS, or pfBlockerNG blocks ChatGPT for every device on the network — laptops, phones, consoles, and the ChatGPT app — without installing anything on them. Subscribe to the ChatGPT file from the public blocklist, or paste the rules directly.
Subscribe to the ChatGPT list
AdGuard Home, uBlock Origin, and Brave rules
||ab.chatgpt.com^
||android.chat.openai.com^
||api.openai.com^
||auth.openai.com^
||auth0.openai.com^
||cdn.oaistatic.com^
||chat.openai.com^
||chatgpt.com^
||files.oaiusercontent.com^
||ios.chat.openai.com^
||oaistatic.com^
||oaistatsig.com^
||oaiusercontent.com^
||platform.openai.com^
||ws.chatgpt.com^DNS blocking cannot see inside a VPN or a phone on mobile data. For a block that follows the device, use the Nullgen apps or an MDM profile.
Block ChatGPT on managed devices
Schools and companies can block ChatGPT on every managed iPhone, iPad, laptop, and Chromebook from the MDM they already run — Intune, Jamf, Kandji, or Google Workspace — with per-person policies and an approval flow for legitimate use. Nullgen Pro provides the profiles and the dashboard; these guides walk through the setup.
About ChatGPT
How people use ChatGPT
ChatGPT is OpenAI’s assistant, and it reaches people through more surfaces than almost any other AI product: the website, dedicated iPhone, iPad, and Android apps, desktop apps, a voice mode, and the OpenAI API that other companies build on. Students use it for homework and essays, employees for drafting and debugging, and the free tier needs nothing more than a browser tab. Its sign-in accepts an OpenAI account, a Google account, a Microsoft account, or Apple, and a free account is enough to use the chat, upload files, and generate images.
What makes ChatGPT hard to block
OpenAI publishes the exact hostnames ChatGPT needs, which is why this list is longer than most. The web app lives on chatgpt.com, the mobile apps have their own names under chat.openai.com, sign-in runs through auth.openai.com and auth0.openai.com, and uploads and generated files come from oaiusercontent.com. All of them are in the table above.
Two things are not. ChatGPT Voice sends audio over UDP to IP ranges OpenAI publishes separately rather than to a hostname, so a DNS block alone does not stop an already-open voice session, though it does stop the sign-in and page load that come first. And the official allowlist includes third-party services ChatGPT shares with thousands of other sites — WorkOS, Intercom, Stripe, Cloudflare — which are deliberately left off this list because blocking them would break unrelated websites.
On the device side, the ChatGPT app also offers Sign in with Apple and Google, so a block has to cover the product, not just one way of signing in. The hostnames above do that; a rule written only against a login page would not.
In practice the three controls on this page reach different parts of the product. The browser extension recognizes the ChatGPT prompt box on chatgpt.com and stops typing into it, which covers the web app in any browser but not the desktop or mobile apps. A DNS blocker on the home or school network stops every surface that resolves the hostnames above, including the apps, but not a phone on mobile data. The Nullgen apps and an MDM profile follow the device itself. Most households end up with the extension on laptops and the app on phones.
Questions about blocking ChatGPT
Does blocking chatgpt.com also block the ChatGPT mobile and desktop apps?
Yes, when the block is applied at the DNS or device level. The iOS and Android apps use ios.chat.openai.com and android.chat.openai.com, and the desktop app uses the same OpenAI hosts, all of which are in the list above. A rule that blocks only chatgpt.com in a browser policy covers the browser alone. The desktop app for Mac and Windows uses the same OpenAI hosts and is covered the same way.
Is the OpenAI API blocked too, or just the chat?
Both. api.openai.com and platform.openai.com are on the list, so scripts, third-party apps that call the API directly, and the Playground are stopped along with the chat. If your organization runs its own integration against the API, allow those two hosts by policy for the devices that need them. The free extension does not touch the API; it blocks the prompt box on the website only.
Why does the ChatGPT list include oaistatic.com and oaiusercontent.com?
They are OpenAI’s own content hosts: oaistatic.com serves the app’s code and assets, and oaiusercontent.com serves files users upload and images ChatGPT generates. OpenAI lists both as required for ChatGPT to work, and leaving them off would let parts of the product keep loading. They are also the two hosts people most often forget when they copy a shorter list from a forum post.
Does the free Nullgen extension block ChatGPT?
Yes. The free extension blocks the prompt box on ChatGPT and on any other site where it recognizes an AI prompt, in Chrome, Edge, Firefox, and Safari. It works on the page itself, so it needs no policy and no DNS change.
Does this block the ChatGPT app, not just the website?
A DNS or device-level block does. The app talks to the same hostnames listed above, and every entry covers its subdomains, so the app cannot slip through on a hostname that is not listed. A browser policy or extension only covers the browser.
What happens when ChatGPT adds a new hostname?
The catalog is updated as vendors change, and the Nullgen apps, the extension, and the public blocklist all read from it, so a new hostname reaches every device without anyone editing a list by hand.
Official resources
Documentation from ChatGPT that is useful when blocking or managing it.
Block ChatGPT today
Start with the free browser extension. Add Nullgen Pro when you need the ChatGPT app blocked on phones, tablets, and desktops, with approvals for the people who really need it.