How to block a website in Google Chrome

Written by justin h. pot
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to block a website in Google Chrome
Blocking sites can be done through Windows, but not the browser. (Internet image by arabesque from

Whether you suspect your children are visiting websites they shouldn't, feel certain sites are distracting you from work or just want to remove a website from your life entirely, blocking that site can be a good way to do so. Google Chrome blocks a large number of hazardous sites, but it does not allow users to specify specific sites to block. However, Windows does, and making the changes is as simple as editing a text file.

Skill level:

Other People Are Reading


  1. 1

    Click "Start" and type “C:WINDOWS\system32\drivers\etc” in the Search field at the bottom of the Start menu.

  2. 2

    Right-click on the “hosts” file and select "Open." Choose "Notepad" as the program you wish to use to open the file, and click "OK."

  3. 3

    At the bottom of the document, type “” (without the quotes), followed by at least one space, followed by the URL of the website you want to block. For example, if you wanted to block “” you would enter “”. Do not put either "http:" or "www" in front of the names of websites you wish to block; doing so will result in the site not being blocked. You are blocking the entire site regardless of protocol.

  4. 4

    Save the document and restart your computer. Any attempt to visit the site you blocked in Chrome or any other browser will result in an error message.

Tips and warnings

  • Windows Explorer can be found by clicking 'Start' then 'My Computer'
  • If the address bar does not appear click 'View' point to 'Toolbars' then click 'Address Bar'. You may then have to drag it over from the right side of the screen.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.