Pick an environment
Named environments per client or per project. Toggle an entry instead of commenting a block.
Hosts file manager · macOS · Windows · Linux
Edit your hosts file in a real interface, hit Apply, and the system and browser DNS caches are flushed for you. The change takes effect on the first reload.
One-time payment · Perpetual license · macOS, Windows, Linux
(Sample data) · See how it works before you install the app.
Named environments per client or per project. Toggle an entry instead of commenting a block.
Invalid IPs and domains are refused before the write. You see the exact lines that will change.
A backup is taken first, so a bad edit is one click from being undone.
System resolver and your configured browsers. The first reload shows the new IP.
The system resolver and every browser keep their own cache. Save the file and both keep answering with the old IP, which is where the lost hour goes, debugging code that was never broken.
SwitchHosts and Gas Mask write the file too, and if a free editor covers your need, take it. The difference is everything that happens after you hit save.
“Five minutes in the terminal per staging switch, gone. One click, cache flushed.”
“No more wondering why the browser still hits the old IP. First tool I install now.”
“We toggle environments all day without ever corrupting system config.”
No subscription, no account, no telemetry. You keep your version for life and get a year of updates.
It pays for itself the first time a stale cache doesn't cost you an afternoon.
Two machines? Dual, $12.99 · A team? $15.00 / seat with admin dashboard and CLI. Compared below ↓
1 machine
Included
License & scale
| Features | Solo License1 machine$8.99one-time payment (1 yr updates) | −28% Dual License2 machines$12.99one-time payment (1 yr updates) | Team License2+ seats$15.00/ seat · 2+ seats |
|---|---|---|---|
| License & scale | |||
| Devices | 1 | 2 | 1 / seat |
| License | Lifetime | Lifetime | Lifetime |
| Updates included | 1 year | 1 year | 1 year |
| Release / change device | |||
| Admin dashboard & seat management | – | – | |
| Shared environments & sync | – | – | |
| Export members (CSV) | – | – | |
| CLI | – | – | |
| Support | Priority | ||
There is no free trial. The walkthrough on this page shows the entire loop before you pay: named environment, diff, backup, DNS flush. Buying unlocks the download. Your license is perpetual and includes 1 year of updates.
No. ToggleHosts changes the local hosts file on your machine. Only your computer then resolves the domain to the selected environment: neither the DNS zone nor what visitors see changes.
Yes. ToggleHosts creates a backup before applying changes, so you can restore your hosts file in one click.
Yes. One click runs the correct DNS flush commands for your operating system, so changes take effect without manual steps.
A Solo license binds to one machine at a time. Use Change computer in Account when you replace hardware. Dual covers two machines for one person. For more devices or teammates, buy a Team license (2+ seats).