How to block a website on popular browsers and devices
You can block a website that offers little value or threatens you with deceptive or malicious content. The exact technique for blocking websites depends on your device, browser, and preference.
However, blocking specific websites can also relate to parental controls or attempts to limit screen time. Thus, figure out how to block a site on your devices and clean up your browsing.
Blocking a website you no longer want to visit
Users can block a website for various reasons, including eliminating distractions or curbing bad habits like doomscrolling. Furthermore, multiple options exist for restricting access to particular domains.
The reason for blocking determines the methods most suitable to you:
- Block a website that shares explicit content or suspicious downloads.
- Restrict access to websites unsuitable for children.
- Prevent people from looking up particular Google queries.
- Block lists or groups of websites that act as unnecessary distractions.
All these motivations for blocking sites are common. Sometimes, you can take advantage of browser settings and content filtering. However, more flexible solutions could only be available via third-party browser extensions.
Instructions for how to block a site on Google Chrome
Google Chrome already offers protection against websites, downloads, and extensions known to be dangerous. SafeBrowsing on Chrome works in two modes:
- Enhanced protection is a more involved guardian against unsafe sites, extensions, and downloads. It also informs users of potential password breaches. The downside of this option is that it sends browsing data to Google.
- Standard protection is a more general option, blocking sites Google knows to be threatening.
Parental controls to block a website on Chrome
Google Family Link is a parental control tool allowing adults to oversee how their children browse. You can enable it to block a site by following these steps:
- Download Google Family Link to your Android phone from the Google Play Store.
- Enter your children’s account.
- Navigate to Settings and open Filters on Google Chrome.
- Open Manage Sites and Blocked.
- Tap on Add an exception.
- Add a site you want to block.
- Save your choices.
- You can also check whether the site got blocked on the account.
Block a website on Chrome using extensions
Browsers like Google Chrome do not have highly flexible options to block a website. Instead of built-in features, browsers rely on extensions to add this functionality.
An extension you choose might offer various insights and security features besides blocking websites:
- Usage reports on how you use your device. That includes information on websites you spend the most time browsing.
- Scheduling times when you want to block a website. You might wish to avoid social media or streaming platforms and stay focused on work.
- These extensions can also block websites involved in distributing adult content.
- It might even be possible to redirect certain URL requests to different websites. For instance, instead of Facebook, they might end up on a page discussing procrastination.
- You can also block websites based on particular words in their domains.
- A password protection for the lists of blocked websites can also be available.
Set up parental controls on Windows 11
- Open Settings on Microsoft Windows.
- Click on Accounts and open Family & other users.
- Click on the Create one for a child option.
- After creating an account, open it via the Microsoft Account section.
- Under blocked sites, click add the websites you want to block.
- Double-check whether the block works on browsers like Google Chrome.
Block a website on iPhone or macOS
Blocking websites on iPhone and iPad happens via the Screen Time setting:
- Open Settings and tap on Screen Time.
- Enter and toggle Content & Privacy Restrictions.
- Tap on Content Restrictions.
- Open Web Content.
- Pick Limit Adult Websites.
- Tap on Add a Website right under NEVER ALLOW.
- You can add websites that you wish to block.
Mac devices also have Screen Time, letting you manage your browsing habits.
- Open System Preferences.
- Click on Screen Time.
- Pick Content & Privacy from the left side menu.
- Click Turn on at the top of the window.
- Navigate to the Limit Adult Websites option.
- Click Customize and add links to websites you wish to block under Restricted.
- Click OK.
Block websites using hosts file on Windows, Mac, and Linux
Editing the hosts files lets you modify DNS and make it redirect certain URLs to different sites. DNS (Domain Name System) converts links (that you type into address bars) into their IP addresses.
By adding entries to the hosts file, you get to relate specific URLs to different IP addresses.
Here is how you should block websites via hosts file on computer operating systems:
- You need to use an administrator account to make changes to the hosts file.
- You can find the hosts file in C:\Windows\System32\drivers\etc on Windows.
- On Mac, you can find hosts files by launching the Terminal and typing in sudo nano /private/etc/hosts.
- On Linux, open Terminal and type in the following command: sudo nano /etc/hosts.
- Windows, Mac, and Linux will ask for your password before you proceed.
- A hosts file is a text editor file that you can easily modify.
- You can block a website by directing the URL request to your localhost IP address. For many computers, it is 127.0. 0.1.
- Save the changes.
Block websites at the router level
Sometimes, you want to block websites for all devices connecting to your network. You can do this via router settings.
- Access the router’s admin page by typing its IP address in a browser’s address bar.
- Log into your router after providing the necessary credentials.
- Find options for website blocking, like Access Restrictions or Access Control.
- Type in the websites you want to block.
- Save changes and restart your router to apply the changes.
Note that instructions might vary depending on your router manufacturer.
Block websites and stay safe online
Users have multiple options for blocking offensive, dangerous, or distracting websites. Also, since you are the one blocking websites, you can easily regain access to blocked sites.
However, you should follow some rules and recommendations when blocking websites or making changes to integral device files:
- Extensions you choose to add to Chrome or Firefox must be reliable. Add-ons or extensions can secretly log data and sell it.
- Windows, macOS, and Linux offer built-in options for blocking sites. However, double-check the process to ensure that everything works as intended.
- MacOS and iOS offer the Screen Time feature: a seamless way to block websites.
- Do not forget to enable safe browsing for the browsers you use. You can uplift this security by installing Atlas VPN. Our SafeBrowse feature blocks suspicious sites and scripts.