Apps & Software

How to Spoof or Change Your Location in Chrome, Edge, and Firefox

Learn how to change or spoof your browser location in Chrome, Edge, and Firefox for testing websites, privacy checks, and location-based features using built-in developer tools and browser settings.

Andrew Miller
Andrew Miller
Technology Writer  •  Nov 27, 2026  •  6 min read

You can make Chrome, Edge, and Firefox report a different location to websites without changing your device’s real GPS position. This is useful for testing local search results, checking region-specific features, or seeing how a site behaves for users in another place.

The exact method depends on what you want to change. Some websites use browser-based geolocation, while others also look at your IP address, so changing location in the browser does not always make a site think you are physically somewhere else.

How to Spoof or Change Your Location in Chrome, Edge, and Firefox

What Browser Location Spoofing Actually Changes

Browsers can provide a website with an approximate location through the Geolocation API. That location is usually based on browser permissions, Wi-Fi data, or manually entered developer-tool coordinates. If you override it, the website will read the fake coordinates you set instead of your normal location.

Advertisement
Key Fact Changing browser geolocation does not automatically change your IP address, DNS location, or account region. Some sites will still detect your real region by other methods.
Why It Matters This distinction matters because a map service, store locator, or delivery page may use more than one signal to determine where you are. If you only change browser geolocation, the site may still behave as if you are in your real country or city.

Before You Start

Warning Do not use fake location settings to bypass terms of service, regional restrictions, or access controls on websites or services that do not allow it.

How to Change Location in Google Chrome

  1. Open Chrome and go to the website you want to test.
  2. Press Ctrl+Shift+I on Windows or Cmd+Option+I on Mac to open Developer Tools.
  3. Click the three-dot menu inside Developer Tools, then choose More tools > Sensors. If you do not see Sensors, use the Command Menu and search for it.
  4. In the Sensors panel, find Geolocation.
  5. Select a preset location or choose Other to enter custom latitude and longitude coordinates.
  6. Reload the page if the site does not update immediately.
  7. If the page asks for location permission, allow it so the fake geolocation can be used.
Note The Sensors panel is not always visible by default in Chrome. If it is missing, the quickest way to access it is usually through the Developer Tools menu or the Command Menu.
Quick Tip If you are testing a local map or store locator, use coordinates close to the area you want to simulate rather than a random city name.

How to Change Location in Microsoft Edge

  1. Open Edge and visit the website you want to test.
  2. Press F12 or Ctrl+Shift+I to open Developer Tools.
  3. Open the Command Menu or the More tools menu and find Sensors.
  4. Set the Geolocation override to a preset city or custom coordinates.
  5. Refresh the page if needed.
  6. Grant location permission in the browser prompt if the website requests it.

Edge is Chromium-based, so the steps are very similar to Chrome. If you know how to do it in Chrome, the Edge process will feel nearly identical.

Best For Web developers, QA testers, and anyone checking how a site behaves in a different city or region.

How to Fake Location in Firefox

  1. Open Firefox and load the website you want to test.
  2. Press F12 or Ctrl+Shift+I to open Developer Tools.
  3. Open the web console or toolbox menu.
  4. In the browser address bar, type about:config and press Enter if you need to adjust geolocation-related testing settings.
  5. For a quick override, use the developer console to set a mock geolocation through Firefox’s internal testing tools or extensions designed for location spoofing.
  6. Refresh the page and allow location access if prompted.

Firefox handles geolocation testing differently from Chrome and Edge, and the exact menu placement can vary by version. If the built-in override is not obvious in your version, a testing extension or the browser’s configuration tools may be needed.

Note Firefox may not expose the same built-in Sensors panel found in Chromium browsers, so the workflow can look slightly different depending on the version you use.

If You Need a More Complete Location Change

Why It Matters If a site still shows the wrong region after you spoof browser location, the problem is usually not the browser setting itself. The site may be using IP-based location, account settings, cookies, or a signed-in profile location instead.

Troubleshooting Common Problems

Quick Tip When testing a site, keep one browser tab with the fake location and another with your normal setup so you can compare results quickly.

When to Use a VPN Instead

Use browser location spoofing when you only need to change what a website sees from the browser’s geolocation request. Use a VPN when the site uses your IP address to determine region, pricing, or content availability.

For the most realistic test, you may need both: a fake browser location and a network-level location change. Even then, some services can still identify your account region or device settings.

Warning A VPN or proxy can affect logins, streaming access, banking sites, and security checks. Make sure you understand the service’s rules before changing your network location.

Which Method Should You Use?

For most browser testing, the built-in developer-tool override is the simplest and safest option because it changes only the location data sent by the browser.

Topics

More from Apps & Software

View all →
Virtual Machine Showdown: Performance, Features, and the Best Uses for Each
Apps & Software

Virtual Machine Showdown: Performance, Features, and the Best Uses for Each

5 Ways to Fix HP Support Assistant When It Won’t Install
Apps & Software

5 Ways to Fix HP Support Assistant When It Won’t Install

Fixing Format Painter in Microsoft Office When It Stops Working
Apps & Software

Fixing Format Painter in Microsoft Office When It Stops Working

Why the Microsoft Teams Banner Sparked So Much Backlash
Apps & Software

Why the Microsoft Teams Banner Sparked So Much Backlash

How to Fix a Google Chrome Download Stuck at 100%
Apps & Software

How to Fix a Google Chrome Download Stuck at 100%

Microsoft Teams Error Code 42b: What It Means and How to Fix It
Apps & Software

Microsoft Teams Error Code 42b: What It Means and How to Fix It