Hblock
Improve your security and privacy by blocking ads, tracking and malware domains
by hectormFree
Domain Rating
by Ahrefs
Domain Rating by Ahrefs42
Description
hBlock is a POSIX-compliant shell script that builds a blocklist of domains serving ads, tracking scripts and malware. It collects the domains from several sources and writes them in a hosts file and other formats, so the system or the network can refuse connections to them. The project's site offers the latest build of the default blocklist as downloads, and it explains that you can generate your own list by following the instructions on the project page. The current build lists hosts, AdBlock-style and dnsmasq configuration, a plain domains list, RPZ files with and without wildcards, an Unbound configuration and a PowerShell script for Windows. A file of the most abused suffixes and a file of the most abused top-level domains are also provided. The sources are documented in the project's SOURCES.md file, and the project's alternative formats are kept in a resources folder. The site lists the files with their size and last update time. The build shown was made on 2026-10-21.…
Highlights
- Blocks ad, tracking and malware domains
- Hosts, dnsmasq, Unbound and RPZ formats
- Windows PowerShell script
- Latest blocklist build for download
Ratings & Reviews
No ratings yet
Be the first to rate Hblock.
People also visit
Hblock FAQ
What is hBlock?
A POSIX shell script that builds a blocklist of ad, tracking and malware domains and writes it in several formats.
Which formats are available?
Hosts, AdBlock-style text, dnsmasq configuration, a plain domains list, RPZ with and without wildcards, Unbound configuration and a Windows PowerShell script.
Can I make my own list?
Yes. The site says you can generate your own blocklist by following the instructions on the project page on GitHub.
Where do the domains come from?
From several sources, which the project documents in its SOURCES.md file.
How recent is the list?
The site lists its latest build as made on 2026-10-21.
Is it free?
The listing shows it as free, and the project is public on GitHub.
What are the best Hblock alternatives?
Popular alternatives to Hblock include CombinedPrivacyBlockLists, DNS Blocklists and BlockLists. See all Hblock alternatives