v1.1 · Windows 10/11 (64-bit)

Your hosts file, without the notepad-as-admin ritual.

HOTS is a free, open-source dark-themed editor for the Windows hosts file — with backups, diagnostics, parental controls, and a built-in telemetry blocker. No terminal required.

GPLv3 · free & open source Python 3.10+ EN · PL · FR
# no install wizard needed for the portable build · admin rights required to save
HOTS — C:\Windows\System32\drivers\etc\hosts
Add
Import
Backup
IP addressHostnameComment
127.0.0.1 app.local.test # staging build
127.0.0.1 api.local.test
0.0.0.0 tracker.example.com # ad block
::1 localhost # ipv6
4 entries · 3 active ✓ saved
illustrative preview — swap in real screenshots any time
# why not just use notepad

Three ways a plain text editor lets you down

The hosts file has no undo, no validation, and no memory of what you meant to change.

ERR_ADMIN_REQUIRED

Every edit needs elevation

Notepad won't save the file unless it was opened as administrator — and by the time you notice, you've already typed the change.

ERR_SILENT_TYPO

One misplaced character breaks it

A missing space or a malformed IP doesn't throw an error — it just quietly stops resolving, and you won't know why.

ERR_NO_UNDO

Deleted lines are gone

Want to disable an entry temporarily? In a text editor, that means deleting it — and hoping you remember to type it back correctly later.

# what's inside

Four modules, one dark window

HOTS isn't just a table editor — it bundles the tools people actually reach for around the hosts file.

Core Editing & Safety

Everything you'd expect from a proper table editor, plus a safety net under every save.

  • Toggle, don't delete — flip an entry off without losing it
  • Bulk paste multiple "IP hostname" lines at once, with column sorting and live search
  • Auto-backup before every save — rotating archive of the last 10, browsable in the Backup Manager
  • Diff preview before writing, plus post-save verification
  • Import/export to .txt or .csv, with a 20,000-entry cap to protect the Windows DNS Client

Diagnostics

Catches the entries that are quietly broken or actively dangerous.

  • Domain existence check — queries Google DNS (8.8.8.8) directly, bypassing your local hosts file
  • Malware scanner flags six risk patterns: system/payment domains redirected off-loopback, blocked Windows Update or antivirus domains, redirects to public IPs, mass-redirect patterns, Cyrillic homoglyphs, and raw-IP hostnames

Parental Control

Blocklists for 14 categories — adult content, social apps, games, torrents, and more — each in its own tagged section so toggles never collide.

  • One-click Cloudflare Family DNS (1.1.1.3 / 1.0.0.3) across all active network interfaces
  • DNS settings are backed up per interface before switching, and restored automatically when disabled
  • Protection state persists across sessions — it stays active even after HOTS is closed
Known limitations

Large platforms rotate through hundreds of CDN subdomains, so a blocklist is never 100% complete — add stragglers manually. Browsers with DNS-over-HTTPS enabled bypass the hosts file entirely and need Secure DNS turned off. Phones, tablets, and VPN-connected devices aren't covered — this only governs the Windows PC it runs on.

Windows AntiSpy

A narrowly-scoped, one-click telemetry reducer — not a full privacy suite, just the highest-impact switches.

  • Disables the DiagTrack and dmwappushservice telemetry services
  • Blocks CompatTelRunner.exe, devicecensus.exe, and WerFault.exe via outbound firewall rules
  • Sets the AllowTelemetry registry policy to 0
  • Saves the exact pre-HOTS state first, so disabling AntiSpy restores everything precisely
🌙 Full dark theme — titlebar, dialogs, scrollbars 🔑 Password protection — SHA-256, stored in the Registry 📝 Raw text view with syntax highlighting 🔧 Auto-repair — dedupes and fixes malformed lines 🧹 Restore Microsoft default (backed up first) 🚀 Auto-elevation on launch 🗃 Remembers window size & position
# get started

Two ways to run it

Grab the .exe if you just want it working, or build from source if you'd rather verify the code first.

Option A — Run the .exe (recommended)

  • 1Download HOTS_setup.exe (installer) or HOTS.exe (portable, no install) from the Releases page
  • 2Double-click — UAC will prompt for Administrator rights
  • 3Done. No further setup required.
About the SmartScreen warning

HOTS is a small independent project without a paid code-signing certificate, so Windows SmartScreen may warn that it "isn't commonly downloaded." That's expected for any new unsigned .exe — it doesn't mean the file is unsafe. Click More info → Run anyway, or build from source yourself if you'd rather verify first.

Option B — Run from source

Administrator: Command Prompt
$ pip install pillow
$ git clone https://github.com/darsono6/hots.git
$ cd hots
$ pythonw -m hosts_editor
✓ launching HOTS…

Requires Python 3.10+ with tkinter (bundled on Windows) and Pillow. Must be run as Administrator — the hosts file is write-protected by Windows.

# what's next

One tool today. More on the way.

HOTS is the first release from a small line of no-nonsense Windows utilities. The next ones are still taking shape.

● shipping — v1.1

HOTS — Hosts Editor

Edit, back up, diagnose, and lock down your Windows hosts file — with parental controls and a telemetry blocker built in.

○ in planning

Utility #2

Not announced yet — follow the GitHub for updates as it takes shape.

○ idea stage

Utility #3

Reserved for whatever small, annoying problem needs solving next.

❤️ Support the project

HOTS is a personal hobby project, released free under GPLv3. If it saves you time or you just want to say thanks, any amount is appreciated — no registration required.

📄 License & disclaimer

Released under the GNU GPLv3. Provided in good faith but without any warranty — modifying the hosts file affects system-level network resolution, so use with care. You use this software at your own risk.

© 2026 Darsono

Stop editing the hosts file blind.

Free and open source. No install wizard required for the portable build.