SwitchHosts
Free and open-source app for hosts management & switching.
SwitchHosts! is a free, open‑source utility that lets developers maintain and toggle between multiple hosts files. It provides a graphical interface where each hosts configuration can be edited, highlighted with syntax coloring, and enabled or disabled with a single click on the line number. The application supports both local and remote hosts sources, allowing users to import and export rule sets for easy sharing or backup.
The tool integrates with the operating system’s status menu, offering rapid switching of active hosts without opening the main window. On macOS, it also offers Alfred integration, enabling command‑line‑style activation through the Alfred launcher. Users can select several host configurations simultaneously, applying combined rules as needed.
Designed for developers who need to test or deploy services against different DNS mappings, SwitchHosts! focuses on straightforward management, quick toggling, and cross‑platform availability while remaining fully open source and free to use.
Reviews
Loading reviews…
Similar apps

Network & Connectivity
SwitchHosts
App to switch hosts

Terminals & CLI
iHosts
The only `/etc/hosts` editor on Mac App Store. ![Freeware][Freeware Icon]
Network & Connectivity
HostsX
Local hosts update tool
Terminals & CLI
Hosts.prefpane
System preference pane to manage your hosts file.
Remote Access & VPN
SpechtLite
Rule-based proxy app for macOS.

Network & Connectivity
Motrix
Download manager for HTTP, FTP, BitTorrent, magnet links, and more.