A merged collection of ad/tracking domain blocklist compiled from various reputable sources.
This hosts file blocks ads, trackers, and malicious domains by mapping them to 0.0.0.0. Use with:
- Pi-hole
- AdGuard Home
- System hosts file (
/etc/hostson Unix/Linux,C:\Windows\System32\drivers\etc\hostson Windows) - Other DNS-based ad-blocking solutions
Standard hosts file format:
0.0.0.0 unwanted-domain.com
Add the raw URL of hosts0.txt to your blocklist sources.
Append the contents of hosts0.txt to your system's hosts file:
Linux/Mac:
sudo cat hosts0.txt >> /etc/hostsWindows (as Administrator):
Get-Content hosts0.txt | Add-Content C:\Windows\System32\drivers\etc\hostsContains 50,000+ domain entries compiled and updated from multiple reputable blocklist sources.
Last updated: March 2, 2025