Sunday, July 5, 2020
Home Blog How to Block Website in Chrome Browser, Windows 10/8/7/XP (Any Browser)

How to Block Website in Chrome Browser, Windows 10/8/7/XP (Any Browser)

- Advertisement -

Google Chrome browser is one of the most popular browsers used on any platform. It was first launched in 2008 since the browser has started 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, some sites try to steal your data. In this article, we will be discussing How to Block a Website in Windows PC.

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

How to Block a Website in Windows PC (Any 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 the website inaccessible from your windows machine, it 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, Windows 8

  1. Press the Windows key.
  2. Just 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.

Windows Host File to Block Website
Windows Host File to Block Website

For Windows 7 and Vista

  1. Click Start > All Programs > Accessories.
  2. Afterwards, Just 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.
- Advertisement -

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)

- Advertisement -

Windows 10 Block Website Host

That’s it! You are all done now!

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

#Chrome Browser Using Plugin “Block Site”

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

- Advertisement -

Block Site Chrome Plugin


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, leave it blank. That’s all that is required to block any URL from Google Chrome.


A warning will prompt when you 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 entirely free.

If you think it is the best investment to protect against additional 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 the Chrome browser or root level using Windows host file. If you still have any question or suggestion let us know in below comment section!

- Advertisement -


Please enter your comment!
Please enter your name here


IQOO Z1x launch date confirmed, will have 120Hz display and 5000 mAh battery

Earlier, Vivo's subsidiary brand IQOO was rumoured to launch a mid-range smartphone named IQOO Z1x, but most of the...

Samsung Galaxy Note 20/Note 20+ leaked images show front/rear portion

We are soon going to see Samsung's forthcoming Note 20 series most probably next month. If the company follows...

Honor 30 Lite to launch on July 2, specifications confirmed by TEENA

The Chinese firm Huawei is all set to unveil Honor X10 Max smartphone on July 2 in the Chinese...

Oppo Find X2 Pro dominates Antutu chart with over 600k points

The Chinese benchmarking firm Antutu has released its top 10 best performing chart. For the first time, three smartphones...

Rumoured Vivo iQOO 3 specifications listed on TEENA

Vivo subsidiary iQOO is rumoured to its next flagship smartphone in Q1 this year. Previously, a device with model...

Realme C3 with Helio G70 chipset launched in India – Price, Specifications, Availability and More

Realme has finally launched Realme C3 in India as it was promised. This is the latest entry-level smartphone from...

Oppo smartwatch official render revealed with curved edge display

Oppo had last month teased company's first watch, which is rumoured to come alongside Oppo X2 series. Debut expected...

Oppo Find X2 may arrive with 120Hz QHD+ display and 65W VOOC flash charging support

Oppo is rumoured to soon launch its 2020 flagship smartphone dubbed as Find X2. We have already too many...

Motorola Edge+ spotted on Geekbench, company plans official launch event for February 23

It has been a long time ago since Motorola has announced any flagship smartphone. Usually, the company focuses on...

Moto G8, Moto G8 Power specifications leaked ahead of official launch

Last year, Motorola had launched Moto G8 Play and G8 Plus smartphones. But we haven't heard about standard Moto...