Hosts File Editors for Windows

Hosts File Editor is Tools for easily modify windows hosts file without having to open the %SystemRoot% folder

What is Host File?

Hosts File is a computer system file in the form of plain text file (hosts) which is used by the operating system to point hostname or domain name into IP addresses.
For instance:

102.54.94.97 rhino.acme.com

If we type the URL rhino.acme.com above, we will be redirected to 102.54.94.97. This is the computer IP address at which the site rhino.acme.com is being kept.

hosts-file-windows

Access Denied when Editing Host File

The Host File is located in the system folder of your computer, more precisely in the, SystemRoot%system32driversetchosts. That said to be able to edit it you need to have administrator right privilege to access it. Without having the administrator right, you will not be able to edit this file, following the warning message “Access Denied errors” upon trying to change, add, and edit the hosts file.

Hosts File Functions

The Host File can be used for various purposes, such as:

1. Block annoying Ads and Banners. You may have visited certain websites that have poor display having full of ads and banners. This obviously is annoying. In order to cope with this problem, you may use adblock add-ons or you may also block the URL of the ads directly with the host file. So you do not have to see the commercial ads in websites, also your internet connection will not be used for this wasted traffic.

Example: 127.0.0.1 ad.doubleclick.net

2. Block p*rn and social media sites. To prevent your children from accessing p*rn sites or social media sites like block facebook, you can block those sites by using the host file.

Example: 127.0.0.1 facebook.com

3. Redirect Website. This can be used to redirect access from p*rn sites and social media sites to more valuable sites. For instance, redirecting facebook site access to Wikipedia as well as redirecting any access from certain p*rn sites to youtube.

Example:
192.35.26.96 facebook.com # Redirect facebook to Wikipedia
192.35.26.96 www.facebook.com # Redirect facebook to Youtube

In order to get the IP address of certain website, you can use Command Prompt and type “ping www.urlsites.com”.

cmd-get-ip-address-domain-name

Example: ping www.wikipedia.org

Pinging www.wikipedia.org [198.35.26.96] with 32 bytes of data:

Top 7 Host File Manager & Editor Tools for Windows

There is plenty of software that can be used to make it easy for you for editing the host file. All the tools described below are freeware.

1. Notepad

Notepad is built-in windows software. All computers running windows have this tiny sized software. It can be used to edit the host file easily.

notepad-hosts-file-editor

You just need to open your Notepad and make sure that you choose “Run as Administrator” before opening the program. You can then browse the hosts file located in %SystemRoot%system32driversetchosts.

Despite the easiness of use, there are, however some rules to follow in editing the host file by using Notepad. Some of those rules are:

  • Each entry should be kept on an individual line.
  • The IP address should be placed in the first column followed by the corresponding host name.
  • The IP address and the host name should be separated by at least one space.
  • Additionally, comments (such as these) may be inserted on individual lines or following the machine name denoted by a ‘#’ symbol.

2. Hosts File Editor

The software has quite small size, it is only 976 kb. You need to install it first before using it to edit the host file.

Hosts-File-Editor-Tools

It has modest and easy-to-use interface. It shows host file in form of table with three columns consisting of IP address, Host Names and Comment.

It has archive feature where you can save multiple version of your host file.

For instance: ads blocking version, social media blocking version, and p*rn sites blocking version. Its use is that of, for example, while working you can activate the social media blocking version of the host file to help you focus more on your job. After finishing the job you can activate others version of the host file by choosing other archive or even disable the host file.

Download Link: HostsFileEditorSetup-1.0.0.msi [ 943 kb]

3. Host Mechanic

Host Mechanic is developed by Hackerpunk1. It is a freeware with 201 kb as its size.

Host-Mechanic-Editor

It has very simple interface, with form IP Address and Form Site feature that can be used to add them into the hosts file.

Nonetheless, the host mechanic does not have feature of editing the hosts file, rather just add, restore and delete the host file.

Download link: Host-Mechanic.zip [107 kb]

4. Host Profiles Management

Host Profiles Management is Free and Open Source Software. It is produced in various versions of windows and also Linux.

Host-Profiles-Management

 

It is portable and has size of only 210 kb. The interface is very simple as well, the hosts file editor in text form, almost the same as when you use notepad.

You can add, delete, and edit, and even then can click apply & Flush DNS.

Download link: HostProfiles 1.2 for Win.zip [ 134 kb]

5. Advanced Hosts Editor

Advanced Hosts Editor. This small tool has size of 254 kb and it is a freeware. It has simple interface with two tabs, assistant and host file editor.

Advanced-Hosts-Editor

There is particularly one feature that I like the most in this tool, it is the feature of last visited hosts. With this feature, we can see what sites are recently loaded, and if there are suspicious activities you can then block them right away if necessary.

As for the Tab Hosts file, it is the usual tab editor as found in using the notepad.

Download link: Advanced_Hosts_Editor_1.3_Beta1.zip [ 253 kb ]

6. BlueLife Hosts Editor

It is portable and has size of 500 kb. It has simple user interface, almost like the Hosts File Editor.

blueLife-Hosts-Editor

 

However, it has more complete features, such as: editor, import, export, backup manager; flush DNS cache and enable or disable DNS client service.

The editor itself has feature of resolving domain name. In addition, you can also view the host file in the editor either in text form or in table form.

Download link: bl_hosts_editor.zip [ 495 kb ]

7. HostsMan

It has two versions, installer version [2.84 MB] and portable version [3.39 MB]. I personally recommend using the portable version so that you do not need to install it.

hostsMan-Editor

It has quite complete features, they are:

  • Hosts Editor, having option to edit using text editor (notepad) and also HostMan Editor. You can add, delete, and edit the host file as well as add Comments.
  • Built-in hosts file updater. You can download the hosts file from various host file provider like MVPs.org
  • Enable/Disable hosts file. To be able to access the sites that you have already blocked temporarily, like social media for example, you can disable it.
  • Scan hosts for errors, duplicates and possible hijacks. This feature is useful for checking whether there is a mistyping when you add the IP address and also the Host Name.
  • Hosts file backup manager, functions as tools to backup the host file.
  • Exclusion list. If you don’t want to block certain sites, then you can put the URL of the sites by using this feature.
  • Import and Export. This feature function is to add list(s) into the host file that you downloaded previously from reputable provider sites.

Download Link: HostsMan_4.5.102.zip [3.5 MB]

Conclusion

With the help of the tools described above, we can easily change, add, delete, and even disable the host file, and most importantly, they can be used free-of-charge (freeware).

After personally testing the 7 hosts file editor tools above, I think that Hostman is the most complete and highly recommended tools.

Nevertheless, I personally edit the host file most of the time with Notepad.

It is worth mentioning that I am interested in the feature that Advanced Hosts Editor provides in the assistant tab, that is, the last visited hosts.

Note: Make sure to always run the above tools with the option of Run as Administrator.

What Host File Editor do you usually use?

What kind of sites that you block in your host file?

The paid-version of the Apps is of course better than the free-version one.

Don’t you agree?

Some advantages of the paid-version android apps:

1. All available features can be accessed and therefore can be used.
2. It does not display any ads in the application itself.
3. Apps with in-app purchase items for free.

With the availability of the feature that we really need to use and is indeed useful for our activities, we use various attempts to get the paid-version of the apps one of which is by downloading from pirates sites. The pirated application may contain malware which is able to steal your data or even upload your photos to social media without your prior notice.

Hence, I strongly suggest that you DO NOT download the paid-version of android apps from illegitimate websites.

[click to continue…]

Google Translate Offline (Android)

Google-Translate-Android-Apps

The newest feature of Google Translate is the offline translation, which we can use it to translate words or sentences without requiring internet connection. This feature is really useful when you are travelling and there is no internet connection available. However, to be able to use the offline translation feature you need to download the offline language package in advance.

The offline language package is a file package containing database of words from certain languages that is used for translating offline, without internet connection. The offline language package already supports more than fifty languages available in the world.

At this moment, the offline translation is only available for Android-based platform and is not available for IOS-based device just yet.

How to Download and Install the Offline Language Package on Android

The offline language package has quite enormous size, ranging from 150 – 200 MB. Hence, you need to make sure first that your Android-based device or gadget has fast and stable internet connection in order to avoid downloading failure, preferably advised that you use Wi-Fi internet connection.

The steps are given below:

1. Open the Google Translate application on your Android device.

2. Click the MENU button (the one with three-dotted icon) on the upper-right corner, and then press Settings.

google-translate-menu

3. On the Setting option, choose Manage offline languages.

manage-offline-languages

4. On the Manage offline languages, choose the language(s) that you would like to install. By default, the English offline language package has already been installed. For example, if you want to install Bahasa Indonesia, then what you need to do is just press on the pin icon right next to the Bahasa Indonesia option.

manage-offline-languages-pin

5. Then the notification will appear telling you the size of the chosen offline language package, take for example the Bahasa Indonesia’s size is 235.53 MB. It is advised that you download it by using Wi-Fi.

downloading-offline-package

6. The download progress bar shows you the percentage of downloaded file. The time needed to finish the downloading process will depend on the internet connection speed.

7. To cancel the downloading process you just need to push the pin icon and choose the option Yes.

After the downloading process is done, Google Translate can be used without using internet connection yet only for the downloaded offline language package of your choice.

Problem with Downloading and Installing the Offline Language Package

Downloading the offline language package with android is very easy. However, some problems may occur, such as downloading failure because with the enormous size of the offline language package file ranging from 150-200 MB, you will undoubtedly need fast and stable internet connection so that the download process can be done swiftly.

slow-internet-connection

Some of the problems that may occur when downloading and installing the offline language package are:

  • Unstable internet connection
  • Limited data subscription package of your internet service provider
  • No network or bad signal problems
  • There is no Wi-Fi connection

Those problems are commonly found if you live in developing countries, like in my country, Indonesia. The internet connection problems are complex, ranging from slow connection, the internet network coverage has not covered most area and the expensiveness of the internet subscription charge.

How to Download the Offline Language Package with PC

In order to cope with the problems of downloading and installing the offline language package directly on your Android-based device, alternatively you also can download the offline language package with your PC and then transfer it to your Android device.

1. Prerequisite Files

  • The Offline Language Package. In this package, there are two files needed, they are c.zip and language.zip
  • ES File Explorer Application. It is an Android-based File manager which we will use to transfer files from SD Card to the Google Translate folder. It can be downloaded for free on Google Play Store.

2. Downloading the Offline Language Package:

Core files:
http://dl.google.com/translate/offline/v3/r1/c.zip [38 MB] http://dl.google.com/translate/offline/v3/r1/profiles.txt

Languages:
http://dl.google.com/translate/offline/v3/r1/desired language tag (2 letters).zip

Example:

Indonesian: http://dl.google.com/translate/offline/v3/r1/id.zip [160 MB]
Arabic: http://dl.google.com/translate/offline/v3/r1/ar.zip

Languages Tag Code for Google Translate:

lr=lang_af Afrikaans
lr=lang_ar Arabic
lr=lang_hy Armenian
lr=lang_be Belarusian
lr=lang_bg Bulgarian
lr=lang_ca Catalan
lr=lang_zh-CN Chinese (Simplified)
lr=lang_zh-TW Chinese (Traditional)
lr=lang_hr Croatian
lr=lang_cs Czech
lr=lang_da Danish
lr=lang_nl Dutch
lr=lang_en English
lr=lang_eo Esperanto
lr=lang_et Estonian
lr=lang_tl Filipino
lr=lang_fi Finnish
lr=lang_fr French
lr=lang_de German
lr=lang_el Greek
lr=lang_iw Hebrew
lr=lang_hi Hindi
lr=lang_hu Hungarian
lr=lang_is Icelandic
lr=lang_id Indonesian
lr=lang_it Italian
lr=lang_ja Japanese
lr=lang_ko Korean
lr=lang_lv Latvian
lr=lang_lt Lithuanian
lr=lang_no Norwegian
lr=lang_fa Persian
lr=lang_pl Polish
lr=lang_pt Portuguese
lr=lang_ro Romanian
lr=lang_ru Russian
lr=lang_sr Serbian
lr=lang_sk Slovak
lr=lang_sl Slovenian
lr=lang_es Spanish
lr=lang_sw Swahili
lr=lang_sv Swedish
lr=lang_th Thai
lr=lang_tr Turkish
lr=lang_uk Ukrainian
lr=lang_vi Vietnamese

3. Copying the Offline Language Package from PC to SD Card of your Android Device

offline-language-package

After the offline language package file has been downloaded, then transfer or move it from your PC to your Android gadget SD Card. For this, I use USB cable connection. Put the c.zip and language.zip files into the same folder to make it easier for installation process later on.

4. Download Trick

This download trick is used so that the Google Translate application would create temporary folder to save the downloaded offline language package files. Later on, these two files will be moved from the SD Card to this temporary folder. Here’s how:

  1. Acivate your Android device Wi-Fi connection.
  2. Run the Google Translate application, then download the offline language package you’re your android device, like the first step explained above. Wait for approximately 3 seconds, then turn off your Wi-Fi connection without cancelling the download process.
  3. Open the ES File Explorer, copy c.zip from SD Card and paste (overwrite) in SD/Android/data/com.google.android.apps.translate/files/ol/v3r1/tmp/v3r1/zip folder at which the profiles.txt also is located in.
    copy-paste-overwrite
  4. Turn on your Wi-Fi connection again and the download process of c.zip will finish in an instant.
  5. Next, the Google Translate will download language.zip. Wait for 3 seconds and turn the Wi-fi off.
  6. Open the ES File Explorer, copy language.zip from SD Card and paste (overwrite) in SD/Android/data/com.google.android.apps.translate/files/ol/v3r1/tmp/v3r1/zip folder.
  7. Reactivate the Wi-Fi connection and the download process will finish instantly

Now the offline language package is already installed on the Google Translate. You may notice it by seeing the pin icon on vertical position with the blue background.

Summary

The feature of the offline language package really helps on using the Google Translate. Beside the capability to be used anywhere and anytime without internet connection, the translating process will be faster because you don’t have to be connected to Google server. It really is helpful feature.

Which of the Google Translate feature you like the most?

However, the offline use of google translate doesn’t support text to speech and voice input features.

The huge size of the offline language package inevitably becomes obstacles for Android users who have slower and unstable internet connection. This obstacle can be coped with by firstly downloading the files with PC and then transfer them to the Android device.

Other advantage of downloading the files with PC first is that the zip file of the offline language package can be transferred and used in different Android devices that you have without re-downloading them.

Do you find any troubles on installing the google translate offline language package?

Or do you have easier way than I suggested?

Please share what do you have in mind.