macOS · Windows · Linux
The modern hosts file manager.
Toggle entries on or off, switch between dev and staging, and see the change in your browser right away. No terminal, no DNS cache to flush.
- macOSApple SiliconIntel
- Windows 10/11x64ARM64
- Linuxx64ARM64
$4.99, one-time · no subscription
Toggle, review, apply. That's it.
- 01
Switch environments with a toggle
Keep dev, staging, and blocklists in separate named environments. Toggle any entry in one click instead of commenting lines out.
- 02
Review the diff before writing
See the exact lines that will change before writing. An automatic backup lets you roll back in one click.
- 03
Apply, and the browser follows
Apply automatically flushes your system and configured browser DNS caches. Changes take effect right away.
by hand, on every change$ sudo nano /etc/hosts$ sudo dscacheutil -flushcache$ sudo killall -HUP mDNSResponder$ open chrome://net-internals/#dnswith ToggleHosts10.0.0.12staging.acme.localApply✓ applied · system and browser DNS caches flushed
Try it right here. Nothing to install.
(Sample data)
Built for daily hosts workflows.
- 01
IPv4 and IPv6 validation
Malformed IPs and domains are blocked before they reach the system file.
- 02
DNS conflict detection
Warns you when a DNS tool (NextDNS, AdGuard, WARP) or external edit overrides your rules.
- 03
Instant search
Filter by domain, IP, or comment without lag, even on large hosts files.
- 04
Drag and drop
Reorder entries to keep your hosts file clean and easy to read.
- 05
Text and JSON import
Paste multiple hosts lines at once, or import and export environments as JSON.
- 06
Shared team environments
Publish an environment to your team. Each member reviews the diff before importing.
“We’re very happy with ToggleHosts: everything works perfectly, right away.”
“The free tool we used before no longer works on newer systems and never flushed the DNS cache. Adding entries and switching them on or off is quick and simple. You could edit /etc/hosts by hand, but this is much faster, and we switch often between localhost and our remote system using the same URL in the browser.”
$4.99, once.
Cheaper than the hour you lost last week.
No subscription, no account, no telemetry. You keep your version for life and get a year of updates.
Pays for itself the first afternoon a stale DNS cache doesn't cost you.
- license
- Lifetime
- of updates
- 1 year
- macOS, Windows, Linux
- 3 OS
Links sent by email · Card, Apple Pay, Google Pay
Equipping a team or agency?
Central admin dashboard, shared environments with diff review, CLI, and a single invoice.
The interactive demo above runs the full interface in your browser, with nothing to install. The license is a one-time purchase, yours to keep, with 1 year of updates.
No. ToggleHosts edits only the local hosts file on your machine. Your public DNS zone and what visitors see never change.
Yes. ToggleHosts automatically backs up the file before every change, with one-click restore.
Yes. ToggleHosts runs the right commands for your OS and flushes the DNS cache of your configured browsers automatically.
Solo covers 1 machine (movable from the Account tab). Dual covers 2 personal machines. For 2+ people or more machines, the Team license lets you manage a shared pool of seats.
Stop editing your hosts file by hand.
- macOSApple SiliconIntel
- Windows 10/11x64ARM64
- Linuxx64ARM64



