SwitchHosts for MAC
Free, open-source Mac app to manage and switch hosts files, with local and remote hosts, syntax highlighting, groups and a menu bar switch.
SwitchHosts Overview
SwitchHosts is a free, open-source app for managing your Mac's hosts file. Instead of editing /etc/hosts by hand, you keep several sets of hosts entries, such as one for development and one for testing, and switch between them quickly from the main window or the menu bar. Entries can be local, remote (downloaded from a web address and refreshed on a schedule or at startup), grouped or sorted into folders, and the editor has syntax highlighting plus find and replace across all entries.
SwitchHosts is made by oldj and released under the Apache 2.0 licence. Version 5 is built on Tauri, and the Mac app is universal for Apple Silicon and Intel Macs, needing macOS 10.15 or later. Version 5.0.3 adds batch domain resolution over DNS over HTTPS, import previews and history management. Your data is kept in the ~/.SwitchHosts folder; copy that folder for a complete backup.
Key Features
SwitchHosts makes the hosts file easy to manage and switch.
- Many hosts sets: manage system, local, remote, group and folder entries.
- Quick switching: turn entries on or off from the window or menu bar.
- Remote hosts: refresh by hand, on a schedule or at startup.
- Editor: syntax highlighting with find and replace across entries.
- Domain resolution: turn domains into hosts entries via DNS over HTTPS.
- Import and export: back up data or import it from a URL.
- Trashcan: restore or delete removed entries later.
- Local HTTP API: control SwitchHosts from other tools, with a custom port.
What’s New in Version 5.0.3
SwitchHosts 5.0.3 adds domain resolution, import previews and history management.
- Resolve domains into hosts entries via DNS over HTTPS, in batches, with cached-IP fallback
- Preview imported configurations, then append entries or replace everything
- Turn system hosts history on or off, set retention limits and clear history
- Change the HTTP API port without restarting
- Open links in hosts comments with Cmd + Click
SwitchHosts FAQ
Is SwitchHosts free?
Yes. SwitchHosts is free and open source under the Apache 2.0 licence.
What does SwitchHosts do?
It manages your hosts file: you keep several sets of hosts entries and switch them on or off quickly instead of editing /etc/hosts by hand.
Which macOS version does SwitchHosts need?
SwitchHosts 5.0.3 needs macOS 10.15 or later.
Does SwitchHosts run on Apple Silicon?
Yes. The Mac app is universal for Apple Silicon and Intel Macs.
Can SwitchHosts load hosts from the internet?
Yes. Remote hosts are downloaded from a web address and can be refreshed by hand, on a schedule or at startup.
Can I switch hosts from the menu bar?
Yes. You can switch hosts from the main window or the system tray in the menu bar.
Where does SwitchHosts store its data?
In the ~/.SwitchHosts folder. Copy the whole folder for a complete backup; the in-app export does not include preferences or history.
What is new in SwitchHosts 5.0.3?
Batch domain resolution via DNS over HTTPS, import previews, history management, a custom HTTP API port and Cmd + Click links in comments.
Can I install SwitchHosts with Homebrew?
Yes. Run brew install --cask switchhosts.
Where does the SwitchHosts download on switchhosts.FULLMAC.app come from?
The download button leads to the official SwitchHosts releases page on GitHub at https://github.com/oldj/SwitchHosts/releases/latest. switchhosts.FULLMAC.app does not change or repackage the app.
Similar Apps
OrbStackOrbStack is a fast, light and simple way to run Docker containers and Linux machines on your Mac. It is a drop-in replacement for Docker Desktop: your docker and docker compose commands keep working, and on first start OrbStack offers to copy over your existing Docker Desktop containers, images and volumes. It starts in seconds, uses less than 0.1% background CPU on Apple Silicon and returns unused memory to macOS. Besides containers it runs full Linux machines from 16 distributions, and a lightweight Kubernetes cluster for local development. OrbStack is made by Orbital Labs.Developer Tools- RazorSQLRazorSQL is an SQL query tool, database browser, SQL editor and database administration tool from Richardson Software, LLC. It has been tested on over 40 databases and connects through JDBC or ODBC, with support for systems such as MySQL, PostgreSQL, Oracle, MS SQL Server, SQLite, MariaDB, MongoDB, Snowflake, DuckDB and Redshift. A database navigator lets you browse schemas, tables, columns, keys, views, indexes, procedures and functions, and visual tools create, alter, describe and drop these objects without writing the statements by hand. RazorSQL is also available for Windows, Linux and Solaris.Developer Tools
CorkCork is a graphical companion app for Homebrew, the popular package manager for macOS. Instead of typing commands in the Terminal, you look up formulae and casks, press Install, and Cork does the rest. You can add taps for more packages, uninstall anything you no longer need, see detailed information about packages and taps that Homebrew does not show easily, clear old caches to free up space, and start and stop Homebrew services. Cork needs Homebrew itself to be installed.Developer Tools
SerialSerial is a terminal app for connecting your Mac to just about anything: routers, switches, firewalls, servers, industrial control and IoT devices. It has built-in support for almost every USB serial adapter, from FTDI, Silicon Labs, Prolific, TI, Microchip and more, so you do not need to find and install drivers. It is also a full SSH client with an identity manager, and supports Telnet with RFC2217 remote serial port control and raw TCP sockets.Developer Tools
Cocoa Packet AnalyzerCocoa Packet Analyzer is a native Mac network protocol analyzer and packet sniffer. It captures traffic on Ethernet and Wi-Fi, dissects each packet as it arrives and shows it field by field, with more than 50 protocol analyzers. It can record which app sent or received each packet, so you see Safari or your own app rather than an anonymous connection, and an Applications window adds up packets and bytes per app while the capture runs. It reads and writes pcap and pcapng files, so you can also open traces made with other tools.Developer Tools
SharkSpaceSharkSpace, also called Shark, is a free virtual workspace manager for Mac. It creates a real folder for each workspace and mounts your project and component folders inside it with symbolic links, so Codex, Claude Code, Cursor, the terminal and other agent tools can open the whole workspace like an ordinary project. The window shows your workspaces in a sidebar, the folders of the selected workspace with their Git branch, latest tag and sync status, and the Codex sessions that belong to it.Developer Tools
FULLMAC.app does not host this app. Download buttons lead to the developer’s own pages.