Skip to content

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.

ToggleHosts is a hosts file manager for Windows, macOS, and Linux. It edits the hosts file in a visual interface instead of the terminal, validates entries before writing them, backs up the file before every change, then flushes the system and configured browser DNS caches so the change takes effect immediately.

  • macOSApple SiliconIntel
  • Windows 10/11x64ARM64
  • Linuxx64ARM64

$4.99, one-time · no subscription

ToggleHosts main window: environments in the sidebar, hosts entries with on and off toggles, and the Apply bar
ToggleHosts main window: environments in the sidebar, hosts entries with on and off toggles, and the Apply bar
ToggleHosts main window: environments in the sidebar, hosts entries with on and off toggles, and the Apply bar
ToggleHosts main window: environments in the sidebar, hosts entries with on and off toggles, and the Apply bar
How it works

Toggle, review, apply. That's it.

  1. 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.

    ToggleHosts sidebar with the Local Dev environment selected and three enabled entries
  2. 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.

    ToggleHosts diff preview: one unsaved line, Cancel and Apply now
  3. 03

    Apply, and the browser follows

    Apply automatically flushes your system and configured browser DNS caches. Changes take effect right away.

Try it right here. Nothing to install.

ToggleHosts - demo
v1.2 · demo

Acme · dev

dev

Local development environment

StatusIPDomainCommentActions
127.0.0.1
app.dev.acme.local
Next.js front-end
127.0.0.1
api.dev.acme.local
Node backend
127.0.0.1
admin.dev.acme.local
Back-office
192.168.1.42
minio.dev.acme.local
Local S3 storage
127.0.0.1
mail.dev.acme.local
MailHog
127.0.0.1
ws.dev.acme.local
WebSockets
In sync
·Acme · dev · 4/6 active·Backup · just now

(Sample data)

Also in the app

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.

Compare with SwitchHosts and Gas Mask →
From a customer

“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.”

G.
ToggleHosts customer
pricing

$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.

For scale
One hour of a developer's time$60
ToggleHosts, once, for life$4.99

Pays for itself the first afternoon a stale DNS cache doesn't cost you.

Solo License
1 person · 1 machine
No subscription
$4.99one-time
license
Lifetime
of updates
1 year
macOS, Windows, Linux
3 OS
Buy and download now

Links sent by email · Card, Apple Pay, Google Pay

Team license · from 2 seats

Equipping a team or agency?

Central admin dashboard, shared environments with diff review, CLI, and a single invoice.

$15.00/ seat · one-time
Explore Team offer
faq

Frequently asked questions

Another question? Contact support.

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.

Get ToggleHosts · $4.99
  • macOSApple SiliconIntel
  • Windows 10/11x64ARM64
  • Linuxx64ARM64
One-time payment · yours to keep
© 2026 ToggleHosts · All rights reserved[email protected]