How to Block a Website in Chrome Browser Windows 7/8/10 XP


Chrome is most popular browser among the all other used on any platform. The browser was first launched in 2008, since that it has been gaining popularity because of its clean look and easy to use interface. Though it is pretty much secure as Google is making some great efforts to secure our privacy, still, there are some sites who try to steal your data. In this article, we will be discussing How to Block a Website in Chrome Browser.

There might be various reasons to block any website whether it is unsafe to use or you don’t want to show particular websites to your young child or students. So without any further ado, let’s get started!

How to Block a Website in Chrome Browser

#1. Using Windows Host File

To modify windows host file is the best way to block any website from its root. It will make website totally inaccessible from your windows machine, doesn’t matter which browser you are using. Below is given how to modify Windows host file to block any website on your Chrome browser or any other:

For Windows 10 and 8

  1. Press the Windows key.
  2. Type Notepad in the search field.
  3. In the search results, right-click Notepad and select Run as administrator.
  4. From Notepad, open the following file: c:\Windows\System32\Drivers\etc\hosts
  5. Make the necessary changes to the file.
  6. Click File > Save to save your changes.


For Windows 7 and Vista

  1. Click Start > All Programs > Accessories.
  2. Right-click Notepad and select Run as administrator.
  3. Click Continue on the Windows needs your permission UAC window.
  4. When Notepad opens, click File > Open.
  5. In the File name field, type C:\Windows\System32\Drivers\etc\hosts.
  6. Click Open.
  7. Make the necessary changes to the file.
  8. Click File > Save to save your changes.

Windows NT, Windows 2000, and Windows XP

  1. Click Start > All Programs > Accessories > Notepad.
  2. Click File > Open.
  3. In the File name field, type C:\Windows\System32\Drivers\etc\hosts.
  4. Click Open.
  5. Make the necessary changes to the file.
  6. Click File > Save to save your changes.

The process to block website:

Find below lines:

# localhost

Add that line underneath it (we have used to block, you can replace it with any other which you want to block)


That’s it! Done!

Note: You can make it more secure just adding any file locker software to enhance the security to next level, Just lock host file and enjoy!

#Using Plugin “Block Site”

This is an alternative way to block any website in Chrome browser. It gives you to ability even block some bad words. The “Block Site” plugin working perfectly for me.


Just add site name in the first column which you want to block, also redirect option is given if you want it to redirect to any other page. If you are not interested just leave it blank. That’s all that is required to block any URL from Google Chrome.

Block -Site-chrome-extensions

A warning will prompt when you will try to visit block site or it will be redirected to given URL if you have provided a link to redirect.


You can also add a secure password to use it safely, It will ask you for a password whenever you open Chrome browser next time. To protect it against uninstall you have to pay $4.99, so it is not completely free. If you think it is the best investment to protect against unnecessary content you can go ahead otherwise use the first method which works like a charm.

Now, hopefully, you understood How to Block a Websites in Chrome browser. If you still have any question or suggestion let us know in below comment section!