How to Change Location in Google Chrome
In this article
To change your location in Google Chrome, you can either use the built-in location override in DevTools (for testing) or install a VPN extension to change your IP address. The DevTools method is free and instant, while a VPN is more practical for everyday browsing. This guide covers both, plus how to set a custom location for websites that ask for your GPS position.
What You'll Need
- Google Chrome installed (desktop version for DevTools; mobile steps noted where different)
- For the VPN method: a VPN extension from the Chrome Web Store (free or paid) or a standalone VPN app
- For the manual location override: a latitude and longitude coordinate (you can get these from Google Maps)
Step-by-Step
Method 1: Use Chrome's Built-in Location Override (DevTools)
- Open Chrome on your computer.
- Press F12 or Ctrl+Shift+I (Windows/Linux) or Cmd+Option+I (Mac) to open DevTools.
- Click the three-dot menu (⋮) in the top-right corner of DevTools, then select More tools > Sensors. Alternatively, press Ctrl+Shift+M (Windows/Linux) or Cmd+Shift+M (Mac) to toggle device mode, then click the Sensors tab if it appears.
- In the Sensors panel, find the Location section. Click the dropdown and choose Custom location.
- Enter a Latitude and Longitude (e.g., 40.7128, -74.0060 for New York City). You can also enter a Accuracy value (meters) if you want.
- Click Override or just press Enter. The override is now active for the current tab.
- Refresh the page that uses your location. The site will see the custom coordinates.
- To stop overriding, go back to the Sensors panel and select No override.
Method 2: Change Your IP Address with a VPN Extension
- Open the Chrome Web Store in your browser.
- Search for a reputable VPN extension (e.g., NordVPN, ExpressVPN, or a free one like ProtonVPN).
- Click Add to Chrome and confirm the installation.
- Click the extension icon in the toolbar and sign in or create an account (if required).
- Choose a server location from the list (e.g., United States, Germany, Japan).
- Once connected, your IP address changes to that region. Websites that detect location by IP will see the new location.
- To revert, disconnect the VPN or choose a different server.
Method 3: Change Location for Specific Sites (Site Settings)
- Go to the website that requests your location (e.g., a weather site).
- Click the padlock icon in the address bar.
- Click Site settings.
- Find the Location permission and change it from Ask to Allow or Block. This doesn't change your location, but it controls whether the site can access your real location.
- If you want to provide a fake location to a site, you'll need to use the DevTools method above while that site is open.
Common Mistakes
- Forgetting to refresh the page after setting the override in DevTools. The site won't see the new location until you reload.
- Using the wrong coordinate format. Some sites expect decimal degrees (e.g., 40.7128) while others might use degrees/minutes/seconds. Most accept decimal.
- Not disabling the override after testing, which can confuse other sites you visit.
- Assuming a VPN changes your GPS location. A VPN changes your IP address, but sites that use HTML5 Geolocation (GPS) may still see your real device location if you allow access. For those, use the DevTools override.
- Using a free VPN that logs data or injects ads. Stick to known providers.
Tips
- For the DevTools method, you can use a site like latlong.net to find coordinates for any city.
- If you need to test multiple locations, you can save different coordinates in a text file and paste them quickly.
- On mobile Chrome (Android/iOS), there's no built-in location override. Use a VPN app instead, or enable Developer Options on Android to set a mock location app (requires a third-party mock location app).
- When using a VPN, choose a server close to your actual location for better speed, unless you specifically need a far location.
- Remember that some sites (like banking) may block VPN connections for security.
Troubleshooting
If the location doesn't change as expected:
- Check if the site uses IP-based or GPS-based location. If it's GPS-based, the DevTools override should work; if IP-based, you need a VPN.
- Restart Chrome after changing VPN or DevTools settings. Sometimes a fresh session is needed.
- Clear the site's cache for that specific site. Go to Site settings > Cookies and site data, and remove the site's data.
- Ensure the VPN extension is actually connected. Check the extension icon for a connected status.
- Try a different VPN server if the IP doesn't seem to change (you can check your IP on a site like whatismyip.com).
- If DevTools override isn't working, make sure you're not in Incognito mode (extensions may be disabled there) and that the site isn't using a service worker that caches location.
- For mobile, if using Android's mock location, ensure you've enabled Developer Options and selected the mock location app in Settings > Developer options > Select mock location app.
Frequently Asked Questions
Does changing my location in Chrome affect all websites?
No. The DevTools override only affects the current tab and only while DevTools is open. A VPN affects all tabs in Chrome (and other apps) as long as it's connected.
Can I change my location on Chrome for Android or iPhone?
On Android, you can use a third-party mock location app and enable it in Developer Options, but it's not built into Chrome. On iPhone, there's no built-in way; use a VPN app to change your IP-based location.
Will a VPN hide my real location from websites?
It hides your IP address, but websites can still see your approximate location if you grant them access to your device's GPS. To fully hide, block location access in site settings.
Is it legal to change my location in Chrome?
Yes, it's legal in most countries. However, using it to bypass geo-restrictions on streaming services may violate their terms of service.
Why does a website still show my real location after I set the override?
Possibly because the site uses a different method (like IP) or you didn't refresh the page. Also, some sites use a combination of IP and GPS, so you need both a VPN and the override.
Can I set a custom location permanently for a site?
No, Chrome doesn't offer a permanent per-site location override. You'd need to use a VPN or a browser extension that can spoof location (though those are less reliable).