/etc

Blocklists for Hosts file

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

32compatible 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 32 lists for Hosts file

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

No Google | Youtube (Hosts)

by Nick Spaargaren

Filter list from the public FilterLists directory. Format: Hosts (localhost IPv4). Maintained by Nick Spaargaren. See the project homepage for […]

Comprehensive Hosts
614 entries
±0 last change
updated
AAAGAGBL/etc+5

Filter list from the public FilterLists directory. Format: Hosts (localhost IPv4). Maintained by Nick Spaargaren. See the project homepage for […]

Comprehensive Hosts
231 entries
±0 last change
updated
AAAGAGBL/etc+5

no-google | DoubleClick (Hosts)

by Nick Spaargaren

Filter list from the public FilterLists directory. Format: Hosts (localhost IPv4). Maintained by Nick Spaargaren. See the project homepage for […]

Comprehensive Hosts
221 entries
±0 last change
updated
AAAGAGBL/etc+5

Filter list from the public FilterLists directory. Format: Hosts (localhost IPv4). See the project homepage for details and inclusion criteria.

Comprehensive Hosts
23 entries
±0 last change
updated
AAAGAGBL/etc+5

Filter list from the public FilterLists directory. Format: Hosts (localhost IPv4). Maintained by Wu Tingfeng. See the project homepage for […]

Comprehensive Hosts
1,367 entries
±0 last change
updated
AAAGAGBL/etc+5

Filter list from the public FilterLists directory. Format: Hosts (localhost IPv4). See the project homepage for details and inclusion criteria.

Comprehensive Hosts
- entries
±0 last change
updated
AAAGAGBL/etc+5

vn-badsite-filter (hosts)

by Ming Di Leom

Filter list from the public FilterLists directory. Format: Hosts (localhost IPv4). Maintained by Ming Di Leom. See the project homepage […]

Comprehensive Hosts
- entries
±0 last change
updated
AAAGAGBL/etc+5

Filter list from the public FilterLists directory. Format: Hosts (localhost IPv4). Maintained by CrazyMax. See the project homepage for details […]

Comprehensive Hosts
538 entries
±0 last change
updated
AAAGAGBL/etc+5
Page 2 of 2
Scroll to Top