If you want to stop a website from opening in Google Chrome, the best method depends on what you are trying to achieve. A Chrome extension is usually the quickest option, while Google Family Link is more suitable for managing a child’s browsing. If you want a website blocked across multiple browsers on a Windows PC, you can use the hosts file.
You can also block websites at the router or DNS level if you want the restriction to apply to multiple devices connected to your home network.
Also read: How to Enable Developer Options on Android: Step-by-Step Guide
Can You Block a Website Directly in Chrome?
Google Chrome does not provide a built-in setting that lets you add individual websites to a permanent block list.
Instead, you can use one of these options:
| Method | Best for | Where it applies |
|---|---|---|
| Chrome extension | Personal website blocking | Chrome |
| Google Family Link | Managing a child’s browsing | Supported child devices/accounts |
| Windows hosts file | Blocking a site on one PC | Multiple browsers on that PC |
| Router or DNS filtering | Blocking sites across devices | Home network |
The right choice depends on how strong you want the restriction to be and who controls the device.
Method 1: Block a Website Using a Chrome Extension
A website-blocking extension is the simplest choice if you only need to control access through Chrome.
How to block a website with an extension
- Open Google Chrome.
- Go to the Chrome Web Store.
- Search for a website-blocking extension, such as BlockSite.
- Select the extension and choose Add to Chrome.
- Confirm the installation.
- Open the extension from Chrome’s extensions menu.
- Add the website you want to restrict to its blocked list.
Some website blockers also provide scheduling features. For example, you may be able to prevent access to selected sites during working or study hours.
Things to consider
Chrome extensions are created by third-party developers. Before installing one, check its reviews, permissions, developer information, and other available details.
An extension may also be easy to disable or remove if the person using the computer has permission to manage Chrome extensions. Therefore, this method is more suitable for personal productivity than strict parental or device-level restrictions.
Method 2: Block a Website for a Child With Google Family Link
If you want to manage the websites a child can access, Google Family Link provides parental controls that can be used with Chrome.
Steps to block a website
- Open the Family Link app.
- Select your child’s profile.
- Open Controls.
- Select Google Chrome and Web.
- Find Manage sites.
- Open the section for approved or blocked websites.
- Choose the option to add a website.
- Enter the website address you want to restrict.
For example, you can add a particular website to the blocked list rather than relying on a browser extension.
Google’s controls depend on the child using Chrome while signed in with the Google account managed through Family Link. The exact options can also vary depending on the child’s device and account setup.
Method 3: Block a Website on a Windows PC Using the Hosts File
The Windows hosts file can be used when you want to block a website at the computer level rather than only inside Chrome.
One advantage is that the restriction can affect other browsers on the same Windows computer as well.
How to edit the hosts file
- Search for Notepad in Windows.
- Right-click Notepad and select Run as administrator.
- In Notepad, open this file:
C:\Windows\System32\drivers\etc\hosts - If you cannot see the file, change the file type from text files to All files.
- Add a line for the website you want to block, such as:
127.0.0.1 example.com - You can also add the version containing
www:127.0.0.1 www.example.com - Save the file.
- Close and reopen Chrome and test the website.
The hosts file maps domain names to IP addresses. By directing the selected domain to the computer itself instead of its normal destination, the website may fail to load on that PC.
Important limitation
This method is specific to the computer where you edit the hosts file. It does not automatically block the website on your phone, another computer, or other devices connected to the same Wi-Fi network.
It also requires administrator access to the Windows PC.
Method 4: Block a Website on Your Entire Wi-Fi Network
If your goal is to restrict a website on several devices at home, blocking it through your router or a DNS filtering service can be more practical.
Depending on the router, you may find options such as:
- Parental controls
- Access control
- Website filtering
- Content filtering
You can then add websites or domains to the relevant block list.
This approach can potentially apply to phones, tablets, computers, and other devices using that network. However, the exact setup differs between routers and filtering services.
If a device switches from Wi-Fi to mobile data, a router-based restriction may no longer apply.
Which Website Blocking Method Should You Use?
Choose the method based on your situation:
- For your own Chrome browser: Use a website-blocking extension.
- For a child’s browsing: Family Link is generally the more appropriate option.
- For one Windows computer: Consider the hosts file.
- For several devices on home Wi-Fi: Use router controls or DNS filtering.
If someone has administrator access or can change the relevant settings, no single method should be treated as impossible to bypass.
How to Unblock a Website Later
The steps depend on the method you used.
If you used a Chrome extension
Open the extension and remove the website from its blocked list. If you no longer need the extension, you can also remove it from Chrome’s extension settings.
If you used Family Link
Open the relevant controls for the child’s account and remove the website from the blocked list or change the applicable web restriction.
If you edited the Windows hosts file
Open the hosts file again with administrator permission and remove the lines you added for the website. Save the file and restart Chrome.
If you used a router
Open your router’s parental-control or website-filtering settings and remove the domain from the restriction list.
Frequently Asked Questions
Can I block a website in Chrome without installing an extension?
Chrome itself does not provide a general website-blocking setting for individual sites. Without an extension, you can use options such as Family Link, the Windows hosts file, or network-level filtering.
Can I block a website on Chrome for Android?
For managing a child’s browsing, Google Family Link can be used where supported by the account and device setup. Android also has other parental-control options, depending on the device and software version.
Can I block a website on an iPhone?
For a child’s device, Family Link may be useful depending on the setup. Apple’s built-in Screen Time controls also provide website and content restrictions.
Will the hosts file block a website in other browsers?
A hosts-file entry applies at the computer’s network-resolution level, so it can affect browsers such as Chrome, Edge, and Firefox on that Windows PC.
Can a blocked website still open sometimes?
Yes. The result can depend on the blocking method, browser settings, cached information, DNS behavior, VPN use, and whether the user can change the relevant settings.
Also read: How to Add a Text Box in Google Docs
Conclusion
There is no simple Block Website button built into Chrome. For a quick personal restriction, a reputable Chrome extension is usually the easiest solution. For parental controls, Family Link is more suitable. If you need to restrict a website across browsers on a Windows PC, the hosts file is another option, while router or DNS filtering can be useful for multiple devices on a home network.
Choose the method based on where you want the restriction to apply and who needs to be prevented from changing it.

Abhi Rajput, founder of Earnabhi.com, is a tech lover with 6+ years of experience in SEO, digital tools, and smartphone troubleshooting. He writes simple, clear, and useful guides to help people solve real tech problems.