Hero Background

Next-Gen App & Browser Testing Cloud

Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Next-Gen App & Browser Testing Cloud

How to Change Location on Google Chrome?

The fastest way to change your location in Google Chrome is to override the geolocation in Chrome DevTools (F12 → kebab menu → More tools → Sensors → Location), which is ideal for testing. To change the IP-based location that sites and Google associate with you, use a VPN or proxy instead. Which method you pick depends on your goal: DevTools is perfect for developers and QA who need to simulate a region for one tab, while a VPN gives a real, system-wide IP change for privacy or region access.

Why Change Your Location in Chrome

There are a few common reasons to override or spoof your location in Chrome, and the right method differs for each:

  • Testing geo-targeted behavior: verifying that region-specific content, pricing, language, currency, or compliance banners render correctly for users in another country.
  • Privacy: hiding your real region from sites that fingerprint or track location.
  • Accessing region-specific features: seeing how a service behaves, or what it shows, in a market different from your own.

Keep the goal in mind: a per-tab override is enough for testing, while privacy and region access usually need an IP-level change.

Method 1 - Change Your Location With Chrome DevTools (Sensors)

Chrome DevTools includes a built-in geolocation override in the Sensors tab. This is the cleanest way to simulate a different location for a single tab, which makes it the go-to method for developers and testers. Earlier guides told you to "click the three dots next to the Console heading," but that no longer matches the current Chrome UI. Here are the corrected steps:

  • Open the page and DevTools: load the site you want to test, then press F12, or Ctrl + Shift + I on Windows/Linux (Cmd + Option + I on macOS), to open DevTools.
  • Open the Sensors tab: click the three-dot (kebab) menu in the top-right of the DevTools panel, choose More tools, then Sensors. (Alternative: open the Command Menu with Ctrl/Cmd + Shift + P, type Sensors, and choose "Show Sensors.") The Sensors tab opens in the drawer at the bottom of DevTools.
  • Pick a location: in the Location section, open the geolocation dropdown and choose either a preset city (such as Tokyo, Berlin, or Mumbai) or "Custom location" to type your own latitude and longitude. Choosing "Location unavailable" simulates a denied or no-signal state.
  • Match the region fully (optional): where shown, set the Timezone ID (for example, America/New_York) and Locale (for example, en-US) so the tab better emulates a user from that region.
  • Get exact coordinates: in Google Maps, right-click the spot you want and the latitude/longitude appears at the top of the menu; click to copy and paste it into the custom fields.
  • Refresh to apply: press F5 so the site re-reads the overridden geolocation and renders for your new location.

Important scope note: the DevTools override only changes the JavaScript Geolocation API for that tab while DevTools is open. It does not change your real IP, your Google account region, or what other apps see. That is exactly what you want for testing, but it is not a privacy tool.

Method 2 - Manage Site Location Permission in Chrome

Sometimes you don't want to spoof a location at all, you simply want to control which sites can access it. Open chrome://settings/content/location to set the global "Sites can ask to use your location" behavior and to review the per-site Allow and Block lists. You can also click the icon in the address bar on any site to allow or block its location prompt directly.

For the full step-by-step walkthrough of enabling and managing these permissions, see How to Enable Location Permission in Chrome?.

Method 3 - Change Your IP-Based Location With a VPN or Proxy

A VPN or proxy reroutes your traffic through a server in another region, so the IP address that sites see, and the location they infer from it, changes to that server's location. Unlike the per-tab DevTools override, this change is persistent and system-wide: it affects every tab, the browser, and other apps until you disconnect.

  • Choose a server region: connect to a server in the country or city whose location you want to appear in, then reload the site to pick up the new IP.
  • VPN vs proxy: a VPN encrypts all of your traffic and is the better choice for privacy; a browser proxy is lighter and only routes the browser, but offers no encryption.
  • Watch for leaks: WebRTC can expose your real IP even behind a VPN, so use a build or extension that blocks WebRTC leaks if true anonymity matters.

Note that a VPN changes IP-derived location, but it does not change the GPS-style coordinates a site reads from the Geolocation API. For full coverage you may need to combine a VPN with a DevTools or extension override.

Method 4 - Use a Chrome Extension to Change Location

If you want a location override that persists across tabs without opening DevTools each time, a geolocation-spoofing extension is a practical option. These extensions inject fixed coordinates into the Geolocation API for every page you visit.

  • How they work: the extension intercepts geolocation requests and returns the latitude and longitude you configured, the same signal DevTools overrides, but applied browser-wide.
  • Permissions caution: location-spoofer extensions often request broad access to your browsing data, so install only well-reviewed, reputable ones and remove any you no longer use.
  • Mind the leaks: like DevTools, an extension changes only the Geolocation API, not your IP, and it does not fix WebRTC leaks, so a determined site can still detect a mismatch.

If you want to learn how to discover and manage these add-ons, see How to Find Chrome Extensions?.

Geolocation vs IP-Based Location: Which One Are You Changing?

A lot of confusion comes from treating "location" as one thing. A site can actually read three independent signals, and each method above changes a different one:

  • GPS / Geolocation API: the precise coordinates a page requests through JavaScript. This is what DevTools Sensors and spoofing extensions override.
  • IP-based location: the region inferred from your IP address. This is what a VPN or proxy changes.
  • Account / search-domain region: the region tied to your Google account or the Google domain you use, which influences search and store results regardless of IP or GPS.

This is why a site may still show the "wrong" location after you change one signal: if you override the Geolocation API but keep your real IP, an IP-based site detects your true region, and vice versa. Match the method to the signal the target site relies on, or change more than one.

Change Location in Chrome on Mobile (Android and iOS)

Mobile Chrome has no built-in geolocation override, so you cannot spoof GPS from inside the browser the way you can with DevTools on desktop. Your options depend on the platform:

  • Android: control which sites get location in Chrome's site settings, or use a mock-location app selected under Developer options to feed fake GPS to the whole device. A VPN app handles IP-based changes.
  • iOS: you can allow or block location per site in iOS Settings for Chrome, but iOS does not expose a system mock-location option, so a VPN app is the practical route for changing the IP-based region.

Be realistic about the limits here: mobile spoofing is fiddly and inconsistent across OS versions. For repeatable geolocation testing on phones, a cloud device with location support is far more dependable than juggling device settings.

Test Geolocation Across Regions With TestMu AI

Overriding location locally is fine when you only need to check one machine, but it doesn't scale when you have to confirm that geo-targeting, pricing, language, and compliance behave correctly across many real countries. For that, you need cloud geolocation testing on real browsers and devices, where you can switch the simulated region from a dropdown instead of reconfiguring DevTools or a VPN for each case.

TestMu AI offers Geolocation Testing across a wide range of countries on real browsers and devices, so you can validate IP and GPS-based location behavior without maintaining a fleet of machines or VPN subscriptions.

Frequently Asked Questions

How do I change my location in Chrome without a VPN?

Open Chrome DevTools with F12, click the kebab menu in the top-right of DevTools, choose More tools, then Sensors, and set a preset city or a custom latitude and longitude under Location. This overrides the Geolocation API for the active tab while DevTools is open, so it needs no VPN. A geolocation-override extension is an alternative if you want a more persistent per-browser change.

Does Chrome DevTools change my real IP location?

No. The DevTools Sensors override only affects the JavaScript Geolocation API for the current tab while DevTools is open. Your real IP address, your Google account region, and what other apps or sites detect from your IP all stay the same. To change your IP-based location you need a VPN or proxy.

Why does a website still show my old location after I changed it?

Sites can read location from several independent signals: the Geolocation API (what DevTools and extensions override), your IP address (what a VPN changes), and your account or search-domain region. If you only changed one signal, the others can still reveal your original location. WebRTC can also leak your real IP even behind a VPN.

How do I find latitude and longitude for a custom location?

Open Google Maps, right-click the exact spot you want, and the latitude and longitude appear at the top of the context menu. Click them to copy, then paste the values into the Custom location fields in the DevTools Sensors tab.

Can I change my location in Chrome on Android or iPhone?

Mobile Chrome cannot spoof GPS from inside the browser. On Android you can use a mock-location app enabled through Developer options, or a VPN app for IP-based changes. On iPhone you are limited to per-site location permissions in Settings or a VPN app. For controlled testing, a cloud device with geolocation support is more reliable.

Is changing your location in Chrome legal and safe?

Changing your location for testing, privacy, or accessing region-specific behavior is legal in most places and safe when you use trusted tools. Always respect the terms of service of the sites you visit, and avoid extensions or VPNs that request excessive permissions or have a poor privacy track record.

Related Questions

Test Your Website on 3000+ Browsers

Get 100 minutes of automation test minutes FREE!!

Test Now...

KaneAI - Testing Assistant

World’s first AI-Native E2E testing agent.

...

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests