re:route re:route
GitHub

re:route entries in your hosts file with one click.

Swap a hostname between Local, Staging, and Prod with one click. See exactly what will change before it's written. Never lose a manual edit.

Download for macOS
Apple Silicon & Intel
re:route
api.myapp.dev
Local · 127.0.0.1 Staging · 10.0.4.21 Prod · 52.14.0.9
auth.myapp.dev
Local · 127.0.0.1 Staging · 10.0.4.30
cdn.myapp.dev
Staging · 10.0.4.40 US-East · 18.211.3.4
Signed & notarized
Runs in the menu bar
Light, dark, or system theme
Flushes DNS cache automatically
SAFE WRITES

Every change, previewed before it's real.

Atomic, timestamped writes. The exact diff is confirmed before anything touches /etc/hosts.

Confirm Change
127.0.0.1  api.staging.local
+10.0.4.21  api.staging.local
Existing entries found
We found hand-added entries in your hosts file.
192.168.1.50 dev.local
10.0.0.12 printer.local
127.0.0.1 test.internal
ADOPT, DON'T FIGHT

re:route learns your setup — it doesn't fight it.

A first-launch scan finds hand-added entries and lets you choose which to bring under management. Every write after that round-trips everything else byte-for-byte — other tools' entries, comments, and blank lines are left exactly as they were.

RAW EDITOR

A real text editor, not just a form.

A full text view with inline validation — duplicate hostnames, invalid IPs, and shadow-domain conflicts are flagged live.

hosts — raw
1127.0.0.1  localhost
210.0.4.21  api.staging.local
310.0.4.22  api.staging.localduplicate hostname
4192.168.1.1  router.local
History
Switched api.myapp.dev → Staging Today, 2:14 PM
Restore
Adopted 3 entries Today, 9:02 AM
Restore
Switched auth.myapp.dev → Local Yesterday, 6:40 PM
Restore
HISTORY & ROLLBACK

Nothing is ever really gone.

Every write is versioned. Restore any prior state of your hosts file in one click.

PASSWORDLESS WRITES

Authenticate once. Switch freely after that.

A small privileged helper daemon does the writes on macOS, so you're not stuck re-entering your password every time you flip an entry.

Helper daemon
Installed once, authorizes every write after.
com.reroute.app.helper running
api.myapp.dev → Prod saved, no prompt
auth.myapp.dev → Local saved, no prompt

Ready to re:route?

Download for macOS
Also available for Windows and Linux
re:route
re:route re:route
GitHub Free & open source © 2026 re:route