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.

1file it edits
127.0.0.1redirect target
0data sent anywhere
C:\Windows\System32\drivers\etc\hosts
127.0.0.1 ██████████.com #BLOCKR
127.0.0.1 www.██████████.com #BLOCKR
127.0.0.1 ████████████.net #BLOCKR
127.0.0.1 localhost ALLOW
> writing entries

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.

01

You add a domain

Paste one site or a whole list — separated by commas or new lines — into Blockr and select Add Sites.

02

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.

03

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.

local-only no telemetry no account admin-gated
Blockr
System Control Panel
Paste sites (comma or new lines)
Add Sites
██████████.com
████████.net
████████████.com
Remove Selected
Restore Default Blocklist

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.

hosts — filtered to #BLOCKR
██████████.comDENY → 127.0.0.1
████████.netDENY → 127.0.0.1
████████████.comDENY → 127.0.0.1
your-own-domain.comDENY → 127.0.0.1
localhostALLOW
Only lines tagged #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.exe

Run 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.dmg

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

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

One file, edited on purpose.

Install it, seed or build your own blocklist, and let the lookup fail quietly instead of the page loading.