How to Disable or Fake Your Location in Chrome, Firefox, and Internet Explorer

Dave Drager 28-03-2011

Modern browsers including Chrome, Firefox and Internet Explorer now include “geolocation” services based in the browser. What this does is attempt to locate you based on your IP, wi-fi or network location. It is used for several reasons, including adding a location to your tweets or Facebook updates, or to locate you on a map. You might want to hide or fake this location IP due to privacy concerns, and it isn’t too terribly hard to do so.


What Is Geolocation?

Geolocation is a technology that locates your position on the planet and ties it into your web browser (or other application). A couple of services work to provide location services in your web browser. One is a Google service that looks at your IP and connected network information and matches it up to known locations, Microsoft runs another similar service. Apple uses the internal service CoreLocation to locate you across a variety of services. Geolocation has a lot of useful applications, but it also has some serious privacy implications.

Turning Off Geolocation

Turning off the location features in either browser is fairly easy. When you are first given the chance to allow or deny location in Firefox, you can disable it right from that menu. If you have already allowed it, go to the configuration settings by typing about:config in your browser window. Find the setting geo.enabled and double click it to set it to “false.”

fake your location ip

In Google Chrome, the settings are in How to Disable or Fake Your Location in Chrome, Firefox, and Internet Explorer chrome toolbar -> Options -> Under The Hood -> Content Settings -> Location:

fake your location on internet

Set the option “Do not allow any site to track my physical location” to disable geolocation in Chrome.

In Internet Explorer 9 you can also disable location services. Go into Internet options -> Privacy. Select “Never allow websites to track your physical location.”

fake your location on internet

Faking Your Location

The easiest browser to fake your location in is Firefox. In fact, there is a browser extension that does just that called Geolocater (sic).

Download and install Geolocater and restart your browser. To configure it, you must go into the “Tools” menu, so right click at the top of your browser and enable the file menu to gain access to configuration.

fake your location on internet

When you launch it, you must add a new location and include the name to save it. Search or browse to the location you wish to set, enter the name in the box on the right, and then click the button that looks like a kite with a check mark to save it.

fake your location

Next time you go to a website that has geolocation enabled, you will be able to change which location you want to send to them and then “Share” to fake your location.

There is another alternative that works both in Firefox and Chrome, but you will need to do some editing of files to make it happen.

The way these geolocation services work is by requesting a file from Google which then responds with your location in JSON format. To fake this in Firefox, you can create a file on your computer with this text:

{"location":{"latitude":48.861426,2.338929,"longitude":2.338929, "accuracy":20.0}}

You can find this location by locating it in Google Maps or any other maps program that supports Latitude and Longitude. Google maps generates a link that looks like the following:,2.338929&spn=0.011237,0.027874&z=16

In this case the first number is the latitude and the second the longitude.

You can place this in a plain text file on your computer, then update the Firefox setting in about:config named geo.wifi.uri to the location on your computer. In Windows, it will look something like this:


fake your location

Make sure if there are any spaces in the directory to replace them with %20 for proper encoding. Restart Firefox and your location will show the updated information.

fake your location ip

Location Is Disabled – But You Can Still Be Tracked

Even though location services have been disabled or faked, a great deal of information about where you are located is sent just by using the Internet. Your IP address can narrow your location down to your country and maybe even the city you are located in. Just be aware that unless you use a VPN, your location can still be tracked based on that information.

You can use a proxy to hide your location. When your Firefox proxy server is refusing to connect How to Fix the Firefox Proxy Server When It's Refusing Connections Firefox can stop working when the proxy server refuses connections. Let's see why the error occurs and how you can fix it. Read More , here’s how to fix it:

Image credit: tranchis

Explore more about: Geotagging, Mozilla Firefox, Online Privacy.

Whatsapp Pinterest

Enjoyed this article? Stay informed by joining our newsletter!

Enter your Email

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. no thanks i already have one
    January 17, 2019 at 9:21 am

    Be aware that Google, Facebook, Twitter and everyone else who makes a living selling your personal information will be very hostile to you if you use a VPN and block geolocation. You *will* constantly be required to identify yourself with a mobile phone number (email will not be enough) and text message, and they *may* lock your accounts.

  2. Patrick
    April 13, 2018 at 5:07 am

    Geolocator does not work with the newest of versions of Firefox. The creator of the program hasn't updated it since 2013.
    Sometimes it's nice to find a helpful old article, when it applies to WinXP, for example, but in cases like this, sometimes I wish these broken, useless webpages would just disappear from the Internet.
    Plus, none of the advice here shows how to correct a location that is wrong. I live in Ventura, CA but my location is shown as Long Beach. That's messing with my ability to use a certain social site and find contacts in my actual location.
    Big waste of time.

  3. KNERD
    September 27, 2017 at 4:59 pm

    That so-called "Geolocator" does not do anything.

  4. CyberNerd
    August 26, 2016 at 5:32 pm

    Anything can be tracked unless you are an amazing hacker that knows how to instantly erase your footprint from each server/node you go through. Proxies/VPN's help but those that want your info know how to get it. It takes multiple programs with encryption along with proxies/VPN's and some good amount of faking to travel anonymous. Good luck with trying to stay private.... even with these methods, someone somewhere can see what you are doing ;)


  5. Rajesh
    August 15, 2016 at 3:19 pm

    The best option to fake your location is to use TOR browser. I simply hops your location at regular intervals and never reveals your true location. It is the safest and there is no need to even change any settings in your browser.Wishing you all a very happy and safe browsing with TOTAL ANONYMITY :)

    • Jeff
      August 16, 2016 at 2:44 pm

      TOR does not provide total anonymity, it provides anonymity in a certain set of use-cases.

  6. Fuzzy Logic
    July 28, 2016 at 9:31 am

    In Firefox you can enable/disable geolocation on a site by site basis:

    If you've given Firefox permission to always share your location with a site and later change your mind, you can easily revoke that permission. Here's how:

    - Navigate to the site to which you’ve given permission
    - Go to the Tools menu (if you can't find the tools menu, try hitting the [ALT]-key once, and
    it should appear on top of the window), then select Page Info
    - Select the Permissions tab
    - Change the setting for Share Location to "Always ask", "Allow", or "Block"

    Remember that if you have Firefox set to "Clear history" when Firefox closes, make sure not to clear the "Site Preferences" category to avoid losing your permission decisions. You can check that on the Options page:

    "3-bar" menu button (or Tools menu) > Options

    In the left column, click Privacy. On the right side, if the selector is set to "Firefox will: remember history", change that to "Firefox will: use custom settings for history" to double-check on this setting.

    Then, if there is a checkmark next to "Clear history when Firefox closes" click the settings button over to the right to review the categories Firefox is set to clear. Make sure anything you want to carry over is NOT checked, especially Site Preferences.

    • #Notmeeither
      January 24, 2018 at 9:25 pm

      That only works with honest sits that will respect your wishes and right to privacy. I know of only one site that does that. The rest, ignore your rights.

      I do not understand why is it that the black corporations know people want privacy so why do they continue to circumvent our rights? Instead of ''please sir, don't stalk me'' a more denied approach is needed by the user. The only thing big business will, listen to is it's bottom line via their pocketbook. Kick em in the wallet, and they'll start to listen, and maybe, respect our rights.

  7. paskajoonas
    May 6, 2016 at 5:10 pm

    I tried to watch Hockey WC in Youtube. I disabled the geo location in FF settings but still geo blocking is active. Any other ways to disable geo locating???

    February 24, 2016 at 12:08 pm

    Nice post. Thanks for sharing

  9. Stone Forest
    February 7, 2016 at 1:25 pm

    In Firefox 44, changing 'geo.enabled' prevents ANY web page from loading. Not even the home search engine page will load at launch.

  10. Fynn
    January 18, 2016 at 6:42 am

    I suggest you install an addon like IP Geo Location to see that Chrome still knows your location even if you are on a VPN or try to fake your locations. Instead, you would need to use a proxy, like GeoProxy, though you may run into situations were sites don't like being proxied.

  11. Anon
    January 1, 2016 at 4:53 pm

    Does this work on windows 10?

  12. Anonymous
    October 1, 2015 at 6:55 pm

    geolocater is loaded wit errors

  13. Vergie Grimsley
    March 3, 2015 at 7:03 pm

    Thanks for sharing such a good article about geolocation.

  14. Lee
    January 12, 2015 at 11:53 pm

    Thanks Dave, good info clearly presented ~ if only everything was like this :)

  15. pravinder
    January 12, 2015 at 2:37 pm

    there is no configuration option in tool. iam using Firefox

  16. Xxboxx
    May 21, 2011 at 4:28 am

    hi! before this geolocater works for me.... but now.... it just so happened... it doesnt work now.... =( any updated version? or something? 

  17. sleep remedies
    April 3, 2011 at 11:14 am

    How can I do this in IE 8? There is no location option.

  18. Anonymous
    April 3, 2011 at 7:23 am

    How can I fake my chrome geolocation?

  19. Mango
    March 29, 2011 at 10:46 pm

    I may be slow, but could someone please explain this bit in more detail for firefox version 4:

    'Download and install Geolocater and restart your browser. To configure it, you must go into the “Tools” menu, so right click at the top of your browser and enable the file menu to gain access to configuration.'

    I've installed the extension, and restarted, but how do I the next bit?

    • Dave Drager
      March 30, 2011 at 1:50 pm

      This took me a bit to figure out too. The problem is that with the new Firefox the tools menu is disabled by default. Right click next to the tabs in a blank area and check off "Menu Bar." You will then be able to get to the "Tools" menu as in past Firefox versions.

      • Mango
        March 30, 2011 at 9:29 pm

        thanks dave.. got it now..

  20. Nlittle1
    March 29, 2011 at 9:58 am

    My geo-location is turned off in Firefox and Google still displays where I am.

    • Dave Drager
      March 30, 2011 at 1:50 pm

      Google is getting the information from your IP address, so it is not as "exact" as using Geolocation. There really isn't anything you can do to block that info except for using a proxy.

  21. Redhowl
    March 29, 2011 at 8:29 am

    Doesn't work for Chrome 10.0.648.204, there is no such option

    • Duplicitycheese
      March 29, 2011 at 9:58 am

      No there is. After you click on "under the bonnet", press "content settings" in Privacy and you'll find "location" there.

      • Redhowl
        March 30, 2011 at 2:04 pm

        That's right! Thanks for your time :)

  22. Nat Jay
    March 29, 2011 at 4:07 am

    Tor is a useful option in cases that require online privacy. It can be slow at times but it does the job.

  23. Clintondaly1
    March 28, 2011 at 11:19 pm

    Try Hotspotshield

    • Aibek
      March 31, 2011 at 12:13 pm

      I am not sure if it's still doing that but in the past it used to show an ad on top of the browser window. Many users found it rather annoying.

  24. Virgil
    March 28, 2011 at 8:18 pm

    For Opera 11:

  25. Virgil
    March 28, 2011 at 8:13 pm
  26. Virgil
    March 28, 2011 at 6:13 pm