How To Block A Website

Mark Harwood
2 min readJun 12, 2024

Let’s keep this brief! You want to know how to block a website. This might be for you, your kids or just to block a dodgy website.

You can also read this on my website.


But as a TL:DR — This article is only useful is you are using Windows.

How To Block A Website On Windows

Personally, this would be my favorite method as it has a number of advantages:

  • Scope — Blocking a site for your entire operating system means that the website will be unavailable for any web browser you use. Whereas blocking a site in a particular web browser would still allow other browsers and services on your machine to access the website. To set a block up for your entire network, consider using PiHole
  • Ease — If you know your way around a computer, then I think it’s the easiest option as it’s simply a case of updating a single notepad
  • Speed — Rather than downloading a separate program or extension, you simply set the values and save the file. So fast!

However, there are some downsides. For example: you will need to have administrator access to the machine in order to update and save the file. You might also find this method a bit too advanced if this is your first day using a computer; but how likely is that?

Enough setup, let me show you how to block websites on Windows:

Step 1



Mark Harwood

IT Pro 👨‍💻 Dad 👀 Husband🔒 Check out my free blog or utilise my expertise on the web!