SkillAgentSearch skills...

Blacklist

Curated and well-maintained hostfile to block ads, tracking, cryptomining, and more! Updated regularly. ⚡🔒

Install / Use

/learn @anudeepND/Blacklist

README

<div align="center"> <img width="440" height="110" src="https://raw.githubusercontent.com/anudeepND/blacklist/master/images/blacklist-logo.png" alt="logo" /> </div> &nbsp; &nbsp; <div align="center"> <a href="#" > <img src="https://img.shields.io/github/repo-size/anudeepnd/blacklist?label=Repo%20Size&color=orange" alt="repo size" > <a/> <a href="#" > <img src="https://img.shields.io/github/last-commit/anudeepnd/blacklist?label=Last%20Updated" alt="last updated" > <a/> <a href="https://github.com/anudeepND/blacklist/commits/master" > <img src="https://img.shields.io/github/commit-activity/m/anudeepnd/blacklist?label=Commit%20Activity" alt="commit activity" > <a/> <a href="https://hosts-status.anudeep.me/" > <img src="https://img.shields.io/uptimerobot/ratio/7/m785959073-f59c0148484c7e812c476c57?label=Mirror%20Uptime" alt="Mirror Uptime" > <a/> <a href="https://github.com/anudeepND/blacklist/issues" > <img src="https://img.shields.io/github/issues-raw/anudeepnd/blacklist?label=Open%20Issues&color=critical" alt="open issues" > <a/> <a href="https://github.com/anudeepND/blacklist/issues?q=is%3Aissue+is%3Aclosed" > <img src="https://img.shields.io/github/issues-closed-raw/anudeepnd/blacklist?label=Closed%20Issues&color=inactive" alt="closed issues" > <a/> <a href="https://github.com/anudeepND/blacklist/graphs/contributors" > <img src="https://img.shields.io/github/contributors/anudeepnd/blacklist?label=Contributors&color=yellow" alt="contributors" > <a/> <a href="https://github.com/anudeepND/blacklist/blob/master/LICENSE" > <img src="https://img.shields.io/github/license/anudeepnd/blacklist?label=License&color=blueviolet" alt="license" > <a/> </div> <div align="center"> <h1>Curated hostfile to block trackers and advertisements</h1> </div> </div> <div align="center"> A well-maintained and curated host file containing domains that serve ads, tracking scripts and malware. Each domain is tested and verified before addding to the list. Any reported false positives will be removed as soon as possible. You can request additional domains or report false positives via <a href="https://github.com/anudeepND/blacklist/issues">Issues</a> tab. </div> <div align="center"> <h3> <a href="https://blockads.fivefilters.org/"> Check </a> <span> | </span> <a href="https://hosts.anudeep.me/mirror/"> Mirror </a> <span> | </span> <a href="https://github.com/anudeepND/blacklist/issues"> Submit Issue </a> <span> | </span> <a href="https://github.com/anudeepND/blacklist/pulls"> Submit PR </a> <span> | </span> <a href="https://www.paypal.com/paypalme/anudeepND"> Donate </a> </h3> </div> &nbsp;

<ins>Table of contents</ins>

<ins>Features</ins>

  • Host file: Based on hosts file, all the bad domains are blocked with 0.0.0.0
  • Any device: Compatible with all devices, regardless of OS.
  • Blockings: Strictly blocks advertisements, malwares, spams, spyware & trackers and prevents your system from connecting to them.
  • Page load time: Quicker loading and cleaner looking web pages with fewer distractions.
  • Privacy: Helps to increase privacy by blocking online trackers.
  • Efficient: Lower resource waste (bandwidth, CPU, memory, battery etc.).
  • Curated: Each domain and tested and verified before adding to the list.
  • Well maintained: Domains are regularly updated and false positives will be addressed quickly.
  • Mirror: All the files are available in mirror which provides Last-Modified header and has 99.99% uptime.

<ins>Who can use this file?</ins>

These host files for Unix-like systems, the list contain domains that serve ads, tracking scripts and malware after adding this list to your setup, it prevents your system from connecting to them. Host file preferred over DNS so if a domain name is resolved by the hosts file, the request never leaves your computer.

<ins>Overview</ins>

<div align="center">

It is highly recommended to use the mirror link as it provides Last-Modified header which ensures that you are getting the latest version. And the mirror has 99.99% uptime.

| Host File | Domain Count | Description | Update Frequency | Raw Link | Mirror Link | |:-:|:-:|:-:|:-:|:-:|:-:| | adservers.txt | 42,536 | A reliable host file containing advertising domains, trackers, malwares and other unsafe domains. I collect these domains from my Pi-Hole and I test them for a few days before adding to the list. You can request additional domains or report existing domains via issues tab. | Frequently | link | link | | facebook.txt | 4,000 | Host file containing domains related to facebook.com. This file doesn't block other Facebook products such as WhatsApp, Instagram etc. If you want to block all Facebook related services, use this list created by lightswitch05. | Occasionally | link | link | | coinminer.txt | 5,939 | This host file was created when JavaScript miners were added to torrent sites. Most of the domain in this file are still active today. I recommend you to use CoinBlockerLists by ZeroDot1 along with this list. | Discontinued | link | link |

</div>

<ins>Usage</ins>

This host file can be used on any device including Android, iOS, Linux, MacOS, routers with custom firmware etc. It is highly recommended to use the mirror link as it provides Last-Modified header which ensures that you are getting the latest version. And the mirror has 99.99% uptime.

  • Rooted Android: For rooted device, this host file can be used with AdAway, a free and open-source ad-blocker for Android.
  • Non-rooted Android: For non-rooted devices, you can use Blokada, DNS66, Nebulo, Personal DNS Filter, or RethinkDNS + Firewall.
  • iOS: You can use Blokada MacOS: This host file can be used with gasmask.
  • Windows: On Windows, you can use HostsMan to get the best Windows Hosts Usage Experience. Make sure to disable DNS Client Service.
  • Linux: There are many scripts available on the Internet that will add the hosts to you. Or you can modify the /etc/hosts.
  • DNS based adblockers: These files are compatible with DNS based adblockers such as Pi-hole and AdGuardHome.
  • Adblockers: This list is compatible with uBlock, AdGuard or any other extension, software & app.

For further assistance, you can send a DM to me on Twitter.

<ins>Validation</ins>

You can test if your ad blocker is working properly or not by visiting these websites:
https://ads-blocker.com/testing/
https://blockads.fivefilters.org/

<ins>How do I determine an ad domain?</ins>

  • Adam:ONE Assistant (formerly DNSthingy Assistant): <a href="https://chrome.google.com/webstore/detail/adamone-assistant/fdmpekabnlekabjlimjkfmdjajnddgpc">This browser extension</a> will list all of the domains that are queried when a web page is loaded. You can often look at the list of domains and cherry pick the ones that appear to be ad-serving domains.
  • Using a packet sniffer (Recommended): HttpCanary HttpCanary is a powerful HTTP/HTTPS/HTTP2/WebSocket/TCP/UDP packets capture and analyzer app designed for Android platform. Source
  • Using inbuilt Developer tool: For Chrome and Firefox, ctrl+shift+I will land you in Developer tools menu.
  • Using an Android app: Net Guard is an Android app that can be used to monitor any specific apps, works on unrooted devices too.

<ins>Featured in:</ins>

This project is also available in many host file aggregators and other services.

<div align="center"> <a href="https://nextdns.io/" > <img src="https://raw.githubusercontent.com/anudeepND/blacklist/master/images/nextdns-logo.png" width="190" height="55" alt="NextDNS logo" > <a/> &nbsp; &nbsp; <a href="https://hblock.molinero.dev/" > <img src="https://raw.githubusercontent.com/anudeepND/blacklist/master/images/hblock-logo.png" width=
View on GitHub
GitHub Stars1.3k
CategoryData
Updated31m ago
Forks115

Languages

Hosts File

Security Score

100/100

Audited on Apr 5, 2026

No findings