Skip to content
This repository has been archived by the owner. It is now read-only.
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.


Warning: This is NOT your standard blocking-list!

-! That HOSTS-file is huge! (~60MB)
# Android-apps (AdGuard, Blokada) will only partially load it.
# Try using it as an OS HOSTS-file (Android - root!, Windows - pre-disable 'DNS Client' service!).

-! Blocks: 
-! Some social-networks (Facebook, Twitter, Instagram, Pintrest, ...). 
-! Some 3'rd-party comment-services (Disqus,, ...). 
-! An extended (!) list of stuff other lists blocks as well (ads, analytics, telemetrics, fishing, malwares).
-! Google firebase and crashlytics. Might break some mobile apps! but it stops any app being able to dynamicly configure itself based on remote location (they have their default already), plus analytics/telemetrics and huge amount of connections open. saves your privacy, data plan and battery.
-! Annoying stuff or websites. Just my personal opinion.

# If you are using this list and find-out your favorite website is blocked - open an issue.

+~ Google (except for the ads-domains) and WhatsApp (although it's Facebook's) are cool . 

# Using those lists will greatly privacy and speed-up browsing on any operation-system.
# I suggest you also set-up 'AdGuard-DNS' as your DNS. Works best in your home-router!

Note: There are no "special"/extended/Unicode characters in the lists, just plain ASCII. I've made sure of it. I do however writes the files as UTF-8 (no signature, no BOM) which is effectivly supports extended characters (but again will never be used).

Note: I no longer distribute HOSTS with the prefix. Use 'hosts0.txt' or 'hosts0_with_localhost.txt' links instead. Connections set to are efficiently closed (and on newer browsers - never opened!) which is far more efficient than which expects localhost-server response and times out after some time..

Note: I now use explicitly Windows EOL (CR+LF a.k.a \r\n), in all of the files. it should not matter to linux OS too much other than what seems to be and extra line on some old editors, but Windows users should be able to copy/paste it faster to their hosts (no implicit EOL convertion). I do wonder how it will work on my Android devices, shouldn't be a problem.. If it bugs you open an issue and I might re-cosider..

Windows Users! YOU MUST PRE-STOP AND DISABLE YOUR 'DNS Client'/'DNS Cache' SERVICE! unless you want to wait 10 minutes with CPU at 100% after everytime you update your HOSTS file.

Windows 10 Users: I found out that if you will disable DNS cache service - file sharing will be disabled for you, this means that trying to access a resource (computer/printer/file) on your home network will always fail, not just when you use a hostname as a target, but even if you use the target-IP! this can either be a bug or an annoying Windows feature, either way you can not place this huge HOSTS content on your Windows without disabling the DNS-cache, it will cause your CPU to stay at 100% a lot of times through the day, and if you need the file-sharing feature - you should avoid using this hosts file. You can try other solutions such as PeerBlock, or firewalls, proxy/VPN with integrated blocking lists, or pipe your connections through a computer on your network having a linux operation system and pie-hole (as a DHCP server), or linux + Privoxy (for advanced filtering based on URL parts such as path, not just hostname, which will allow you to block youtube ads as well), there are other alternatives such as Wireguard/Unbound. your target "computer" can be even a Raspberry Pi.

  • Direct-URL to the lists:

    Use it anyway you like (link-to, download, copy, distribute,...)

    You can either use eladkarako as the USERNAME (links/folder-structure might be change some day), or fork the repository and use your own github-username.

  • What are all of those links?

    The _raw__hosts.txt file is just a raw list of the host-domains (without any prefix), hosts.txt uses prefix for each line, hosts0.txt uses prefix for each line,

    hosts_with_localhost.txt and hosts0_with_localhost.txt uses the same prefixes but adds an additional entries for machine's self-localhost.

    The hosts_adblock.txt has the same content as _raw__hosts.txt built with an additional uBlock-filter format file-headers.

  • You may download the whole repository in a zip file (about 200MB though!): Aria2C or similar parallel-download-manager is advised!
  • Custom lists:

    Once you've fetched the repository (by either simply download it or by fork-and-clone), you may edit it and generate new build.

    It is very easy to generate a new "build",

    There are no dependencies!

    Only thing needed is any version of NodeJS on your machine.

    For example, you can get a single exe for Windows in Just choose a version and browse win-x86/ folder, downloading node.exe.

    To generate a new "build", delete the build folder, and run your NodeJS with _builder.js. You may use _builder.cmd on Windows.


I'm not associated with AdGuard in any way, but I advise for you to set and, in your router, do not use any DNS-tab if there is any, the best place to set the IPs above is in the internet connection part overriding the default ISP DNS. if you can manage, also set DNS-over-HTTPS in your browsers, use (do not use the host-name), it will allow the browsers to use port 443 over https protocol instead of port 53. in Android, use DNS-changer proxy app, com.frostnerd.dnschanger is best, set it to restart on networks change. you will still be able to see other devices in your home network. see more providers in:

don't use Windows 10 DNS-over-HTTPS

Windows 10 has DNS-over-HTTPS but it requires overriding the default dns for the network which causes problems with in-network connection in local-networks, it only allows few known providers (not AdGuard), and the dns-query URL is hard coded and you can not use custom provider or URL you just provide dns IP for each network adapter. I advise to not use it yet.


when a program uses an IP directly, instead of a hostname in a request, HOSTS blocking and DNS-assisted block are not effective. for that you should have some kind of IP blocking. PeerBlock can block requests based on block-lists, keep http traffic open though.