/etc

Blocklists for Hosts file

Plain operating system hosts file (Windows, macOS, Linux).

75compatible lists
1supported formats
12categories

Adding a blocklist to Hosts file

Linux / macOS

curl -fsSL "https://raw.githubusercontent.com/mtxadmin/ublock/master/hosts.txt" | sudo tee -a /etc/hosts > /dev/null

Windows (PowerShell as administrator)

Invoke-WebRequest "https://raw.githubusercontent.com/mtxadmin/ublock/master/hosts.txt" -OutFile "$env:TEMPhosts.txt"
Add-Content -Path "$env:SystemRootSystem32driversetchosts" -Value (Get-Content "$env:TEMPhosts.txt")

Very large hosts files can slow down DNS resolution on some systems. Prefer a DNS-based blocker like Pi-hole or AdGuard Home for lists with more than ~100k entries.

The address shown above is an example. Every list in the directory has its own URL, which you can copy with one click.

By topic

All 75 lists for Hosts file

Submit a list
75 lists < 7 days < 30 days older

Unified Hosts + Social

by Steven Black

Filter list covering crypto, ads, privacy, social, malware. Format: Hosts (localhost IPv4). Maintained by Steven Black. See the project homepage […]

Ads Cryptomining Malware Hosts
83.9k entries
±0 last change
updated
AAAGAGBL/etc+5

urlhaus-filter (hosts)

by Ming Di Leom

Filter list covering malware. Format: Hosts (localhost IPv4). Maintained by Ming Di Leom. See the project homepage for details and […]

Malware Hosts
506 entries
+18 -15 last change
updated
AAAGAGBL/etc+5

Filter list covering privacy, malware. Format: Hosts (localhost IPv4). See the project homepage for details and inclusion criteria.

Malware Privacy Hosts
- entries
±0 last change
updated
AAAGAGBL/etc+5
Page 4 of 4
Scroll to Top