Adult sites stop resolving on this machine.
Blockr rewrites your system's hosts file directly, so every domain you block points at your own computer instead of its real server. Nothing to disable in a browser, nothing running in the background — just a file the OS reads before any request leaves your machine. Works on Windows, macOS, and Linux.
Also available for macOS and Linux.
What actually happens when you add a site
No filtering service, no DNS provider to switch to — the block happens on your own machine, in three steps.
You add a domain
Paste one site or a whole list — separated by commas or new lines — into Blockr and select Add Sites.
Blockr rewrites the hosts file
It appends two lines per domain, the bare version and the
www. version, both pointed at 127.0.0.1 and tagged
#BLOCKR so they're easy to find later.
The lookup dead-ends
Windows checks the hosts file before it ever asks a DNS server. The domain resolves to your own computer — no page, no request, nothing to load.
Harder to undo than an extension
A browser extension is one click away from being disabled. Blockr sits behind an administrator prompt and a system file instead — reversing a block means opening the app, selecting the exact domain, and choosing Remove Selected. That extra step is deliberate.
It also means the block holds across every browser on the machine at once, since the redirect happens before any of them get involved.
Ships with a starting list
Restore Default Blocklist seeds the hosts file with dozens of the most-visited adult domains in one click. Add your own on top, any time — there's no limit.
#BLOCKR are managed by the app
— anything else in your hosts file is left alone.
Get it running
Pick your OS, then either grab the build or run it from source.
Download the build
The app requests administrator access on launch, since it needs to edit a protected system file.
Download blockr.exeRun from source
Requires Python 3.10+ and PyQt6.
py -m venv .venv .\.venv\Scripts\Activate.ps1 python -m pip install PyQt6 python blockr.py
Download the build
Unsigned build — the first launch needs a right-click → Open to get past Gatekeeper. The app asks for your admin password on launch, since it needs to edit a protected system file.
Download Blockr.dmgRun from source
Requires Python 3.10+ and PyQt6.
python3 -m venv .venv source .venv/bin/activate python3 -m pip install PyQt6 python3 blockr.py
Download the build
.deb for Debian/Ubuntu, .rpm for Fedora/RHEL. Both install a launcher entry and lean on PolicyKit for the elevation prompt — already on virtually every desktop distro.
Run from source
Requires Python 3.10+ and PyQt6.
python3 -m venv .venv source .venv/bin/activate python3 -m pip install PyQt6 python3 blockr.py