How to Hide or Fake Your Location in Chrome, Firefox, and Microsoft Edge

Emma Roth Updated 11-06-2020

Most popular browsers including Google Chrome, Firefox, and Microsoft Edge include geolocation services within the browser. Geolocation attempts to locate you based on your IP address, Wi-Fi, or network location.


Although geolocation has a lot of useful applications, it also has some serious privacy implications. For this reason, you might want to spoof or hide your location in Firefox, Google Chrome, and Microsoft Edge.

What Is Geolocation?

Geolocation pinpoints your location and then ties it to your web browser or other applications. Most services use the information from your IP address What Is an IP Address and Can It Show Where You Live? Wondering what an IP address is and if it can tell strangers on the internet where you live? Time to learn about IP addresses! Read More and connected network to match it with known locations.

Browsers use geolocation for several different reasons. When you visit certain websites, you might notice a prompt that asks you to confirm whether the site can use your location. If you allow access, the site can use your location and provide information relevant to your area.

Geolocation is a convenient feature, but you might want to fake or block your location due to privacy concerns. Faking your location also comes in handy when you want to access location-restricted content.

Disable Geolocation in Google Chrome

Turning off the location feature in Google Chrome is simple. By default, Google Chrome will ask whether or not specific websites can use your location. If you accidentally turned this feature off (or just want to make sure it’s on), follow these steps.


Click the three vertical dots in the right-hand corner of the screen. From there, select Settings > Privacy and Security > Site Settings > Location. You’ll see the Ask before accessing setting, which you should ensure is toggled on.

Google Chrome Disable Geolocation

You’ll also see a list of websites that you allowed or denied access to your location. To revoke access to your location, simply hit the trash can icon next to any website under the “Allow” heading.

Hide Your Location in Firefox

You can easily disable your location in Firefox across all websites. Like Chrome, Firefox will ask for your permission whenever a site wants access to your location.


If you want to access Firefox’s location settings, click the three vertical bars on the top right corner of the browser. Hit Options > Privacy Security.

Scroll down to find the “Permissions” heading. Here, you’ll click the Settings box next to “Location.” You’ll then see a list of websites that have requested access to your location—you can stop a site’s access by removing it from this list.

Firefox Block Geolocation

To get rid of those annoying permissions pop-ups altogether, check off the box next to Block new requests asking to access your location. This automatically blocks access to geolocation for all websites you visit.


Disable Geolocation in Microsoft Edge

Microsoft Edge and Google Chrome have a very similar process when it comes to disabling geolocation. To get started in Edge, click the three horizontal dots in the upper right corner of the browser. From here, select Settings > Site Permissions > Location.

Block Browser Geolocation Microsoft Edge

On this page, you’ll want to make sure the Ask before accessing setting is toggled on. Below, you’ll see two lists: the sites under the “Allow” heading have access to your location, while the sites under the “Block” heading have already been barred from seeing your location. Just like Chrome, you can remove permissions by clicking the trash can icon next to the website’s name.

How to Fake Your Browser Location

For added security, you might want to consider spoofing your location. The best way to hide your location is by using one of the many free VPN services that protect your privacy 8 Totally Free VPN Services to Protect Your Privacy Free unlimited data VPNs don't exist unless they're scams. Here are the best actually free VPNs around that you can try safely. Read More . However, you can also fake your location in Google Chrome, Firefox, and Microsoft Edge by manually changing your location, or by using an extension.


Spoof Your Location in Google Chrome

The Location Guard extension is the easiest way to change your geolocation in Chrome. When you browse the web, Location Guard will provide a different fake location for every website you visit. Plus, it interferes with the way websites find your location, making it difficult to accurately detect your location.

Spoof Geolocation Location Guard Chrome

Location Guard also gives you the option of choosing a fixed location. This allows for the highest level of security, as nearby Wi-Fi locations won’t get detected at all. Simply set your location to anywhere in the world, and Location Guard will report that specific location to all websites.

Download: Location Guard for Chrome (Free)

Spoof Your Firefox Location

To fake your location in Firefox, type about:config into the address bar. Firefox will warn you that the changes you make here can impact Firefox’s performance. Hit Accept the Risk and Continue to proceed.

In the search bar, type in geo.enabled, and ensure that it’s set to true. Once you’ve done that, type into the search bar.

Spoof Location Firefox

Click the pencil icon to edit the original text, and replace it with this:

data:application/json,{"location": {"lat": 40.7590, "lng": -73.9845}, "accuracy": 27000.0}

This set of coordinates changes your location to Times Square in New York City. Keep in mind that you don’t have to use these specific coordinates. If you want, you can find your own coordinates by heading to a website like LatLong, and entering a location of your choice.

Spoof Your Location in Microsoft Edge

You can also manually change your location in Microsoft Edge. Head to the three horizontal dots in the top right corner of the browser, and select More Tools > Developer Tools.

After the DevTools sidebar pops up, press Control + Shift + P. In the command menu, type in show sensors, and hit Enter.

Spoof Browser Location Microsoft Edge

The sensor menu appears on the bottom of the screen. In the Location dropdown menu, select the city of your choice—your selection will override your current location. If you don’t want to use any of these cities, you can type in custom coordinates below the Location dropdown menu.

Blocking or Spoofing Your Location Doesn’t Fully Stop Tracking

Even if you disable or fake geolocation services, websites can still track your location. Your IP address can narrow your location down to your country, and possibly even the city you live in. Unless you use a VPN, your location is still trackable based on that information.

If you want to learn more about VPNs, this article explains what a VPN is, and how tunneling protects privacy What Is a VPN? How Tunneling Protects Privacy Confused about what a VPN is? How do you use a VPN connection? Here's everything you need to know about VPN and what it means. Read More .

Related topics: Browsing Tips, Geotagging, Google Chrome, Microsoft Edge, Mozilla Firefox, Online Privacy.

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

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

  1. dragonmouth
    June 15, 2020 at 5:07 pm

    The only way to stop geolocation in Firefox is to muck around with about:config settings.

  2. Sathish
    June 12, 2020 at 9:23 am

    This is useful.
    Thank you for sharing :-)

  3. 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.

  4. 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.

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

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

  6. 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 ;)


  7. 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.

  8. 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.

  9. 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

  11. 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.

  12. 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.

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

    Does this work on windows 10?

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

    geolocater is loaded wit errors

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

    Thanks for sharing such a good article about geolocation.

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

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

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

    there is no configuration option in tool. iam using Firefox

  18. 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? 

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

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

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

    How can I fake my chrome geolocation?

  21. 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..

  22. 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.

  23. 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 :)

  24. 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.

  25. 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.

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

    For Opera 11:

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