Blog

How to block websites on Chrome and Edge

By Aditya Trivedi ·

Chrome and Edge have no built-in way for you to block a website. The simplest way is a website blocker extension. You add the site to its list, and the browser shows a blocked page whenever you open it. Without an extension, you can block a site for the whole computer by editing its hosts file. On a computer you manage, the browser’s own blocklist setting can do it too.

We make Pawsome Family, a Chrome and Edge extension with a website blocker, so we use it for the steps below. The other ways work without it. Steps checked on November 11, 2026.

Why there’s no Block button

Chrome’s site settings control what a site may do, like send notifications, open pop-ups or see your location. None of them stops a site from loading. Edge’s settings don’t have one either. The built-in ways to block sites are meant for computers run by a company, school or parent, and they’re covered further down.

The quick way: a website blocker extension

With Pawsome Family:

  1. Sign up. Go to pawsome.family/website-blocker and select Try it free. Sign in with Google or an email link. No card is needed.
  2. Add the extension. The Website blocker page asks you to add Pawsome Family to your browser. In Chrome, select Add to Chrome, then Add extension. In Edge, select Get, then Add extension.
  3. Add a site. Type it, like youtube.com, and select Add.
  4. Choose how it’s blocked. Always, Days and times (like weekdays, 9 to 5), or a Daily limit (like 30 minutes a day).
  5. Try it. Open the site. You’ll see a calm page that says it’s blocked and when it opens again.
The Pawsome Family blocked page: “You asked us to block youtube.com. It opens again at 5:00 PM.”, an Open Website blocker button, and a golden retriever along the bottom
What a blocked site shows instead

You can also block the site you’re on without opening the app. Select the Pawsome Family button in the toolbar and switch on Block, or right-click your pet and select Block.

A few things to know:

For other extensions that do the same job, see the best free website blockers for Chrome.

Without an extension: the hosts file

Your computer’s hosts file tells it where to find a website before it asks the internet. Point a site at your own computer, and it won’t load in any browser. You need an administrator password.

On Windows:

  1. Search for Notepad, right-click it and choose Run as administrator.
  2. Open the file C:\Windows\System32\drivers\etc\hosts. Choose All files in the file picker, or you won’t see it. Microsoft’s page on the hosts file has its location and format.
  3. At the bottom, add one line per address, like 127.0.0.1 youtube.com and 127.0.0.1 www.youtube.com. Each address needs its own line, because the hosts file has no wildcards.
  4. Save, then open Command Prompt and run ipconfig /flushdns so Windows forgets the old address.

On a Mac: open Terminal, type sudo nano /etc/hosts, enter your password, add the same lines, and save with Control-O. Then run sudo dscacheutil -flushcache.

Chrome checks the hosts file before it looks a site up, even with secure DNS turned on, as its own code shows. If a site still opens, quit and reopen the browser.

The downsides: there’s no schedule, every subdomain needs its own line, and undoing it means editing the file again.

On a computer you manage: the blocklist setting

Both browsers have a setting called URLBlocklist, “Block access to a list of URLs”. It’s made for computers that a company or school sets up, through Group Policy or the registry on Windows, or a configuration profile on a Mac.

Google describes it for managed browsers, so on a home computer, test it after you set it.

For a child’s account

Which way to choose

ExtensionHosts fileBlocklist settingFamily controls
SetupA minuteA few minutes, admin passwordAdmin toolsA family account
Works inThat browserEvery browser on the computerThat browserChrome or Edge, for the child
On a scheduleYes, with mostNoNoDepends
Hard to undoNoA littleYes, without adminFor the child

For most people, an extension is enough. For a block that’s hard to get around, see Cold Turkey vs a browser website blocker.

A website blocker with a dog in it

Pawsome Family’s website blocker blocks the sites you choose in Chrome and Edge, with a calm page and a small dog called Milo in their place. Addresses are checked on your computer, and the pages you visit are never recorded or sent. The help page covers every setting.

Free for 30 days, with no card needed.