PopularHTML5 compliantbrowsers, includingGoogle Chrome, Mozilla Firefox and Microsoft Edge, have built-in geo-location services that enable websites to detect your exact location. However, you could easily spoof your geo-location information in your browser if you’d rather not reveal your location to third-party sites and services. While enabling geo-location in your browser helps you use mapping services and get relevant search results, it is also used for serving targeted ads and could be a serious privacy concern. So today, we will show you how to fake (spoof) geo-location in Google Chrome, Mozilla Firefox and Microsoft Edge.
Fake Geo-location in Google Chrome, Mozilla Firefox and Microsoft Edge
All methods described below use the HTML5 geo-location API, which gives websites access to a high-level interface that allows them to query physical location information such as latitude and longitude. Access to info at such a granular level breaks the user’s anonymity online and could be a major privacy concern depending on how the information is used by these websites. So to help youmaintain your online privacy, here’s our tutorial on how to fake your location in your web browser (Chrome, Firefox and Edge).
Note:Faking geo-location in browsers is temporary as it reverts to your original location once you close your browser window. All methods use the HTML5 Geo-location API.
You can also spoof your IP usingChrome extensionsfrom the web store. The one that we recommend is Location Guard (free). It will let you hide your exact location, but will still inform websites about your general location. This will help you get the best of both worlds – you will be able to enjoy local search results without giving out your exact address. You will also be able to spoof your location entirely (like we did manually) if you don’t worry about search result accuracy, etc. Either way, here’s how you do it:
Note:You might have to wait a minute or two (and a few reloads) after the change for the cache to clear on the server-side and the settings to take effect.
In my opinion, this is much the better option for general users because it disables the actual geo-location query and instead, uses your fake fixed location to notify websites about your whereabouts.
Note:I used the coordinates for the Taj Mahal. You can set your custom location coordinates usingLatLong.net.
The Location GuardFirefox Add-onis also available for Firefox, and it works much the same way as it does in Chrome. You can download it (free) from the Mozilla add-ons repository and change your location in Firefox easily. Once installed, you can access it from Menu (three parallel lines at the top-right) > Add-ons from any open Firefox window.
Like Chrome and Firefox,Microsoft Edge Chromiumalso offers you the option to spoof your location using advanced developer tools. The method is almost identical to how you do it in Google Chrome. Here’s how you can override your actual geo-location in Microsoft Edge Chromium using DevTools:
Note that as of now, we have only one method to change location in Microsoft Edge. I couldn’t find any obvious location spoofing extension for the Edge browser, but given that the new version is based on Chromium, we should probably get one at some stage.
The HTML5 geo-location API helps websites identify your current location. It uses GPS, Wi-Fi and cell tower triangulation to access the location of your device. While this is helpful in many cases, like getting results tailored specifically for your location, it can also compromise your privacy and security.
Websites determine your location based on a lot of factors, including your internet connection, Wi-Fi networks in your area, GPS sensors in your device (where applicable) and more. Your IP address alone can pinpoint your location down to your city, and often even to your neighborhood. Using mobile connections is even worse, as it can identify you to an accuracy of a few meters using GPS and cell towers.
What that means is that the method of using the JavaScript API in your browser may not work with many sites. For example, you may not be able to access geo-locked content onNetflix, Prime Video, Hulu or otherstreaming sitesusing this method. For that, you might need touse a VPN service. That said, even VPNs aren’t always foolproof, as some streaming services block proxy servers from accessing their geo-locked content.
Yes, there is. You can use aVPN browser extensionto spoof your location. They are more lightweight than the full-fledged apps and work on just about all websites. They are also often free-to-use, although, sometimes with some caveats and usage limits. There are a whole host of them available, but the two that I would recommend are CyberGhost (download for Chrome/download for Firefox) and Express VPN (download for Chrome/download for Firefox).
IP address, or Internet Protocol address, is the ID attached to every single device connected to the internet. In case of Dynamic IP, it is temporary and is reset every time you switch off your router. An IP address serves two principal functions. It identifies the host’s network interface and provides its location info so as to establish a path to that host. There are two IP versions in use today – IPV4 and IPV6. Generally, the only way to spoof your IP is to use a route your connection through a proxy server or a VPN.
You can always prevent websites from knowing your IP address and location by declining any location request. However, that might break some websites that need your geo-location to serve their content. This is exactly where you can fake your geo-location in the browser so that websites won’t know your IP address and location, but you’ll still be able to access their content. So go ahead, get yourself a fake location in your browser (Chrome, Firefox or edge) and let us know why you wanted to spoof your geo-location the first place.
Passionate techie. Professional tech writer. Proud geek.