Blog

How to block a website in Chrome on a Mac or Windows PC

By Emma Lampert. Updated 1 December 2026. 7 minute read.

A drawn settings card with an icon and a few switches.

To block websites on Chrome for a child, use Google’s Family Link app: select your child, tap Controls, then Google Chrome and Web, then Approved sites and Blocked sites, and add the site. For your own Chrome profile, Google’s help describes no block setting, and on work or school computers an administrator blocks sites with a policy. On a Windows PC, a line in the hosts file blocks a site in every browser, while on a Mac, Screen Time’s website limits are listed under Safari.

Can you block websites on Chrome without an extension?

Yes, in three cases: for a child whose Google Account is supervised with Family Link, on a computer where a school or company manages Chrome, and on a Windows PC through its hosts file, which blocks a site in every browser. For your own Chrome profile, Google’s Chrome Help describes no setting that blocks a site.

The nearest thing is Site settings, in the three-dot menu under Settings and Privacy and security. It can stop a site’s pop-ups, notifications, sound or JavaScript, and the site still opens.

The menu on a Later set, with Open in this window, Open in a new window, Open side by side, Share, New section, Rename, Use as a starter, Bring back, Export… and Remove set.
Open a set where you want it, share it, rename it, or choose when it comes back. Real screenshot of TabOverview. The sites in it are made up.

How do I block a website on Chrome for my child?

Use Google’s Family Link app. It works once your child’s Google Account is supervised and they’re signed in to Chrome with it.

  1. Open the Family Link app and select your child.
  2. Tap Controls, then Google Chrome and Web.
  3. Under Manage sites, tap Approved sites and Blocked sites, then Add a website.
  4. Type a website, such as www.example.com, or a whole domain, such as example.

A website entry needs its www. part and covers that address only. A domain entry also covers addresses that begin or end differently: Google’s example is that google covers www.google.com and images.google.fr. The same screen offers Try to block explicit sites and Only allow approved sites. When your child meets a blocked site, they can ask to visit it, and the request reaches you in the app.

On a computer, Google warns that your child can sign out of Chrome or switch to another Chrome profile, and may have other browsers, where these settings don’t apply. While they’re signed in with the supervised account, Incognito is turned off. The same settings work in Chrome on Android, iPhone, iPad and Chromebooks.

How are websites blocked on a work or school computer?

An administrator sets a Chrome policy, Block access to a list of URLs (URLBlocklist), which stops pages at the listed addresses from loading. An entry of example.com blocks example.com, www.example.com and its other subdomains, and youtube.com/watch?v=xyz blocks that one video.

To see whether your Chrome is managed, open the three-dot menu. If Managed by your organization shows at the bottom, it is, and typing chrome://policy in the address bar lists the policies. Ask your administrator to block or unblock a site there. Google’s guide to setting policies with Windows Group Policy or Mac configuration tools is written for IT admins of company computers.

How do I block a website for every browser on Windows?

Add it to the hosts file. Microsoft describes it as a plain-text file that matches site names to IP addresses, one entry per line, and an entry there overrides the normal lookup. Point a site at 127.0.0.1, your own computer, and it stops loading in Chrome and every other browser.

  1. In File Explorer, go to C:\Windows\System32\drivers\etc.
  2. Copy the hosts file to your desktop, and open the copy with Notepad.
  3. At the end, add a line with the address, a space and the site’s names: 127.0.0.1 example.com www.example.com
  4. Save it. A hosts file can’t have an extension, so keep the name hosts.
  5. Copy it back into the etc folder to replace the old one. If Windows asks for an administrator password, select Continue.

To unblock the site, delete the line the same way, or follow Microsoft’s steps to reset the hosts file.

Microsoft Family Safety can also block sites for a family member, under Content filters. Its filters work only in Microsoft Edge, though. While Filter inappropriate websites and searches is on, Chrome and the other browsers it doesn’t support are blocked, unless you unblock them in App and game filters.

How do I block websites on Safari on a Mac?

With Screen Time. Apple gives these steps for macOS 27 Golden Gate:

  1. Open the Apple menu, choose System Settings, and click Screen Time in the sidebar. Turn Screen Time on if it’s off.
  2. If you’re a parent in a Family Sharing group, choose your child from the Family Member pop-up menu.
  3. Click Content & Privacy, then App Store, Media, Web, & Games.
  4. For Safari, choose Limit Adult Websites and click Customize.
  5. Click the Add button below the Restricted list, enter the site’s address, and click Done.

Allowed Websites Only works the other way round: only the sites on its list open. Apple lists these settings under Safari and names no other browser, so for Chrome on a Mac, use Family Link or a policy.

How do I block YouTube on Chrome?

Block YouTube’s address with any of the ways above. In Family Link, add the domain youtube, which also covers www.youtube.com. In the Windows hosts file, put both names on the line: 127.0.0.1 youtube.com www.youtube.com. On a managed computer, an administrator can block youtube.com, or a single video.

Can an extension block websites in Chrome?

Yes. The Chrome Web Store has extensions made for it, and they work in your own profile. Some ask for permissions when you add them, and Google’s advice is to approve only extensions you trust. For one to work in Incognito windows as well, open Manage extensions, select its Details and turn on Allow in incognito. How to install, pin and remove Chrome extensions has the steps.

What if the block doesn’t work?

Where TabOverview fits

TabOverview blocks no sites. It takes a tab out of your tab bar without losing it, so the site you keep drifting back to is no longer one click away.

To keep tabs open but out of sight, see how to hide tabs in Chrome.

TabOverview’s Tabs view with three put-away workspaces under the headline, Spring catalogue, Lisbon trip and Weekend reading, each a coloured button with its number of tabs.
Windows you put away wait under the headline. One press brings one back as it was. Real screenshot of TabOverview. The sites in it are made up.

Questions

Does Chrome have a built-in website blocker?

Chrome blocks sites in two cases: for a child’s Google Account supervised with Family Link, and through the Block access to a list of URLs policy that an administrator sets on a managed computer. Google’s help describes no blocker for your own profile. Site settings can stop a site’s pop-ups or notifications, and the site still opens.

How do I block a website on Chrome without an extension?

For a child, open the Family Link app, tap Controls, then Google Chrome and Web, then Approved sites and Blocked sites, and add the site. On a Windows PC, a line such as 127.0.0.1 example.com www.example.com in the hosts file blocks the site in every browser. On a work or school computer, ask your administrator.

Can I block YouTube in Chrome for my child?

Yes. In the Family Link app, select your child, tap Controls, then Google Chrome and Web, then Approved sites and Blocked sites, and add the domain youtube, which also covers www.youtube.com. On a Windows PC, the line 127.0.0.1 youtube.com www.youtube.com in the hosts file blocks it in every browser.

Does Screen Time block websites in Chrome on a Mac?

Apple’s guide lists Screen Time’s website limits, Limit Adult Websites and Allowed Websites Only, under Safari and names no other browser. To block a site in Chrome on a Mac for a child, use Family Link.

Read next

Sources

Try it on your tabs.

TabOverview is a free Chrome extension that shows all your open tabs in one grid.

Add extension, it’s free

No registration. Opens the Chrome Web Store.