System & Utilities

HostsFileEditor

Easily edit and manage the hosts file for Windows

By scottlerch. Free and open source for Windows. Latest version v1.2.0, released 2017-03-18.

Is HostsFileEditor safe?

Trust score 54/100: Use caution. Some warning signs. Read the notes, check the reviews, and verify the file before you run it.

Things to watch:

1,270 GitHub stars · 466k downloads.

Download HostsFileEditor

scoop bucket add extras; scoop install extras/hosts-file-editor

Downloads come straight from github.com/scottlerch/HostsFileEditor.

About HostsFileEditor

The Windows hosts file (%WinDir%\System32\drivers\etc\hosts) maps hostnames to IP addresses before DNS is consulted — handy for pointing a domain at a local dev server, blocking sites, testing deployments, or switching between environments. Editing it by hand in Notepad is tedious and error-prone. Hosts File Editor turns it into a proper table you can cut, copy, paste, enable, disable, sort, filter, and archive — with full undo/redo and a one-click toggle for the whole file.

It runs as a standard user and elevates on demand (a single UAC prompt) only when you actually save changes to the hosts file, so day-to-day viewing, archiving, and backups need no admin rights.

• Cut, copy, paste, duplicate, enable, disable and move one or more entries at a time • Filter and sort when there are a large number of host entries • Quickly enable and disable the entire hosts file • Archive and restore various hosts file configurations (presets) when switching between environments • Merge another hosts file into the current one, skipping duplicates • Automatically ping endpoints to check availability, with a status-bar progress indicator • Switch presets straight from the taskbar — right-click the app for a Jump List of your archives • Full command line for scripting

By default the classic edition closes to the tray. To exit completely you must select Exit from the File menu or tray context menu. Only one instance of the application is allowed at a time. If you try to open it again it will just activate the previously running instance.

Similar apps

Compare: HostsFileEditor vs SwitchHosts

Questions

Is HostsFileEditor safe to download?

HostsFileEditor has an OpenShelf trust score of 54/100 (Use caution). Some warning signs. Read the notes, check the reviews, and verify the file before you run it. Main thing to watch: The latest release is more than 18 months old.

Is HostsFileEditor free?

Yes. HostsFileEditor is free and open source under a custom open-source license. The source code is public at github.com/scottlerch/HostsFileEditor.

Does HostsFileEditor work on Windows?

HostsFileEditor is available for Windows. Ready-made downloads exist for Windows.

How do I install HostsFileEditor?

Download the official file from the project's GitHub releases (for example HostsFileEditorSetup-1.2.0.msi) and run it. Or install it with: scoop bucket add extras; scoop install extras/hosts-file-editor.

What are alternatives to HostsFileEditor?

Similar open-source apps: SwitchHosts (trust 76/100), Duplicati (trust 72/100), CopyQ (trust 83/100), MRemoteNG (trust 64/100).