Hosts Editor
hosts file on macOS — without the terminalLive format validation · automatic backup before every save · per-project toggles · menu bar switching · restore from save history · 39 themes
This is the support page for Hosts Editor. It covers what the app does, answers common questions, and tells you how to reach us.
IPv4 and IPv6 addresses and host names are checked as you type, so a malformed line is pointed out before it reaches the file. Whether the file is safe to save is always shown above the editor.
Save the mappings you use often as a project and turn them on or off with a single switch. A project's entries live inside a managed block, so toggling one never touches the lines you wrote yourself.
Search inside the editor and replace every match at once — when a staging address changes, you do not have to fix each line by hand.
The menu bar icon toggles any project directly. Moving between staging and local — the thing you do several times a day — becomes one click.
You can attach global shortcuts to your first nine projects
(Control+Option+1…9 by default; the modifier set is configurable). They are
off until you turn them on, and a notification tells you what a shortcut just switched
on or off.
Every save keeps a copy of the file at that moment, up to 100 of them, on your Mac. "What did this look like on Tuesday" is a list you can browse and restore from, and undo and redo are available while editing.
A rolling backup is written before the file is overwritten, and the file itself is
replaced atomically, so a save cannot leave a half-written hosts file
behind. If another program changes the file while you are editing, the conflict is
detected instead of silently overwritten.
Point the app at a project folder and it reads configuration files
(.env, dev server configs, compose files) to propose the host names they
use. You confirm what actually gets added; the scan only reads and never modifies
anything.
Project templates can be exported to a file and imported from one. Importing merges into what you already have; an entry whose name you already use is skipped rather than overwritten.
Midnight, Tokyo Night, Catppuccin, Everforest, Nord, Gruvbox and more — 39 light and dark themes, or let the app follow your system appearance.
The interface is available in four languages.
Grant write access to the hosts file once and later saves go through
without an authentication prompt each time.
hosts is a system file, so writing to it requires permission. On first
launch the App Store build asks you to pick /etc/hosts yourself in a file
dialog, and once your account has write access to it, later saves need no
authentication. The app walks you through this once.
Questions, bugs and feature requests are all welcome. We usually reply within 2–3 business days.