This guide explains how to restrict access to specific websites on Google Chrome, helping you improve network security, enforce parental controls, or reduce distractions.
Method 1: Using Chrome Extensions
- Open the Chrome Web Store and search for a website blocker extension (e.g., BlockSite, StayFocusd).
- Click "Add to Chrome" and confirm the installation.
- Click the extension icon in the toolbar and enter the URLs you wish to block.
- Optionally, set a schedule for blocking (e.g., during work hours).
Method 2: Editing the Hosts File (Windows)
- Open Notepad as Administrator.
- Go to
C:\Windows\System32\drivers\etc\hosts. - Add a new line:
127.0.0.1 example.com(replace with the site you want to block). - Save the file. The website will be redirected to your local machine.
Method 3: Using Parental Controls
- Sign in to your Google account and go to Family Link (for children) or set up supervised profiles.
- Add the websites you want to block under "Manage sites".
- The blocked sites will show a restriction page when accessed.
Method 4: DNS Filtering
- Change your router or device DNS to a filtering service like OpenDNS Family Shield (208.67.222.123).
- Configure the filter categories to block specific websites.
- This method blocks across all browsers and devices on the network.
Note: These methods work on Chrome for Windows, macOS, and Chrome OS as of 2026. Extensions may require additional permissions and can be bypassed by knowledgeable users.