How to Block Websites on Chrome?


You want to block some websites on your chrome browser when you are working or protect your children from seeing certain websites. Chrome browser, this blocking websites feature is called Safesearch. When you turn on SafeSearch in chrome, you can hide all explicit contents not made for children. This feature works in all versions of windows, like windows 7/8/8.1/10/11.

In this rise windows article, we will guide you on Block Websites on Chrome.

How to Turn on SafeSearch on Chrome?

To filter out Google search results that are explicit or inappropriate for your children, navigate to and click Turn on SafeSearch checkbox.


Then, click the Save button.


After completing the above steps, inappropriate and explicit websites will stop appearing on Google searches for that user.

To ensure SafeSearch is turned on and working, search for something in Google. You should see “SafeSearch in” the browser’s top-right corner, just below the user profile.

But, if you want to block your children from visiting harmful websites, your problem is not solved; you need to follow some more steps.

How to Block Specific Websites on Chrome by Editing the Hosts File?

If you want to control specific websites on a chrome browser, you need to install a paid extension, BlockSite, from the Chrome Web Store.   Even you can add exact keywords to block websites. But, if you want a free option, edit the host’s file of Windows and add websites there. It will block the specific website on all your browsers. Do the following steps;

Step 1. Firstly, Log in to your Windows PC with administrative privileges.

Step 2. Navigate to the following path in File Explorer:-



Step 3. Then ,Right-click on the hosts file and select Properties option.


Step 4. Under the “hosts Properties” window, navigate to the Security tab and then select the Users group.


Step 5. Now, click on the Edit button.


Step 6. Then, A new pop-up window will appear. Again select the Users group.


Step 7. Now, In Allow column , check Fullcontrol, Modify and Write options.

Step 8. Then, Click Apply.

If the Windows Security dialog appears, click the Yes to continue.


Step 9. Click ok.

Step 10. Click ok on the next window.

Step 11. Now, again right-click on the hosts file and select Open  with option.


Step 12. Next, From the drop-down menu, select Notepad and then click on the OK button.


Step 13. You need to add the website address in the host’s file you want to block on your PC. Here, you need to add lines with your localhost IP in front of any domain you wish to block, like:

Ensure a space between the localhost IP address and the website domain names. You need to add the new lines of code after the last commented line that starts with #.


Step 14. Now save the notepad file.

Step 15. Restart your computer.

That’s it! Try to visit any website in any browser on your computer that you have blocked in the host’s file. It will refuse to connect.


That’s all for this article. I hope this article will add some value to your work.

You guys are amazing; Keep reading, learning, and growing.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.