Hosts
🔒 Consolidating and extending hosts files from several well-curated sources. Optionally pick extensions for porn, social media, and other categories.
Install / Use
/learn @StevenBlack/HostsREADME
[!IMPORTANT] Cloning this repository can take a long time! You probably just want to start with the latest version, not its whole history since 2018. Therefore you probably want to use
git clone --depth 1 ...to save significant time.
[!NOTE] With the exception of issues and PRs regarding changes to
hosts/data/StevenBlack/hosts, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in thehosts/data/directory.

Unified hosts file with base extensions
This repository consolidates several reputable hosts files, and merges them
into a unified hosts file with duplicates removed. A variety of tailored hosts
files are provided.
Therefore this repository is a hosts file aggregator.

- Last updated: March 17 2026.
- Here's the raw hosts file Unified hosts file with base extensions containing 81,934 entries.

List of all hosts file variants
This repository offers 31 different host file variants, in addition to the base variant, with and without the unified hosts included.
The Non GitHub mirror is the link to use for some hosts file managers like Hostsman for Windows that don't work with GitHub download links.
| Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror | | ---------------- | :----: | :-------: | :------------: | :---------------: | Unified hosts = (adware + malware) | Readme | link | 81,934 | link Unified hosts + fakenews | Readme | link | 85,160 | link fakenews | Readme | link | 2,188 | link Unified hosts + gambling | Readme | link | 88,896 | link gambling | Readme | link | 5,936 | link Unified hosts + porn | Readme | link | 158,762 | link porn | Readme | link | 76,509 | link Unified hosts + social | Readme | link | 86,186 | link social | Readme | link | 3,243 | link Unified hosts + fakenews + gambling | Readme | link | 91,084 | link fakenews + gambling | Readme | link | 8,130 | link Unified hosts + fakenews + porn | Readme | link | 160,950 | link fakenews + porn | Readme | link | 78,703 | link Unified hosts + fakenews + social | Readme | link | 88,374 | link fakenews + social | Readme | link | 5,437 | link Unified hosts + gambling + porn | Readme | link | 164,686 | link gambling + porn | Readme | link | 82,445 | link Unified hosts + gambling + social | Readme | link | 92,110 | link gambling + social | Readme | link | 9,179 | link Unified hosts + porn + social | Readme | link | 161,974 | link porn + social | Readme | link | 79,750 | link Unified hosts + fakenews + gambling + porn | Readme | link | 166,874 | link fakenews + gambling + porn | Readme | link | 84,639 | link Unified hosts **+ fakenews + gambl
