HostsMan is a free Windows application that provides an easy way to manage and edit Windows Hosts File. It allows users to add, delete, and modify entries in the Hosts File, and also offers advanced features such as backup and restore, merge, and search. HostsMan also provides full support for IPv4 and IPv6 addresses, and is capable of editing entries in both formats simultaneously. The application also allows users to choose which entries are active, and provides a “Quick Edit” feature to quickly modify entries. Additionally, HostsMan also provides a “System Cleanup” feature which can be used to clean up any invalid entries in the Hosts File.
It is cross-platform and allows you to edit the file like a text editor so you can copy and paste it. Other applications are just as frustrating in this regard.