hblock
« Back to VersTracker
Description:
Adblocker that creates a hosts file from multiple sources
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Networking
Tags: adblocker hosts-file privacy security cli
Install: brew install hblock
About:
Hblock is a command-line utility that aggregates domain lists from various reputable sources to generate a unified hosts file. It effectively blocks ads, trackers, and malware domains by directing these requests to a non-routable address. The tool supports multiple output formats and allows for easy customization of blocklists.
Key Features:
  • Aggregates blocklists from multiple sources
  • Supports multiple output formats (hosts, dnsmasq, etc.)
  • High performance and lightweight
  • Easy to customize and extend
Use Cases:
  • Enhancing network-wide privacy and security
  • Blocking ads and trackers on a local machine or router
  • Creating custom DNS blackholes for development environments
Alternatives:
  • StevenBlack/hosts – A popular unified hosts file project; Hblock acts as a generator/fetcher for similar results.
  • pi-hole – A network-wide ad blocker that requires a dedicated device; Hblock is a lightweight CLI alternative.
Version History
Detected Version Rev Change Commit
Oct 22, 2024 10:12pm 0 VERSION_BUMP 8c396de3
Oct 22, 2024 9:35pm 0 VERSION_BUMP 8840e566