How to set a country in browser

Milan Stanojevic
by Milan Stanojevic
Deputy Editor
Affiliate Disclosure
Share this article:

  • Web browsers have multiple features, and they can easily detect the country you’re in.
  • Manually setting the desired country in your browser is easy, and we’ll show you how to do it.
  • Want to know more about web browsers? Visit our Browsers page for more information.
  • Learn more useful tips about using your device from our Windows 10 Hub.
how to change browser location country chrome
Strugling with your current browser? Upgrade to a better one: Opera You deserve a better browser ! 350 million people use Opera daily, a fully-fledged navigation experience that comes with various built-in packages, enhanced resource consumption and great design. Here's what Opera can do:
  • Easy migration: use the Opera assistant to transfer exiting data, such as bookmarks, passwords, etc.
  • Optimize resource usage: your RAM memory is used more efficiently than in other browsers
  • Enhanced privacy: free and unlimited VPN integrated
  • No ads: built-in Ad Blocker speeds up loading of pages and protects against data-mining
  • Gaming friendly: Opera GX is the first and best browser for gaming
  • Download Opera

Your web browser can detect the country you’re from, but did you know that you can set your country manually in your browser?

That’s right, and you can do this simply by changing a couple of settings in your web browser, and today we’ll show you how to do that.

How do I set a different country in my browser?

1. Opera

  1. Go to the Opera settings and activate the built-in VPN. (Leave it activated since it’s free to use.)activate vpn in opera
  2. Use the Set up location notification on the homepage to allow Opera to detect your current position.
  3. Afterward, whenever you want to change it, click on the respective location, choose the menu, and Change location.change location in opera

Note that in order to do this, you need to have the VPN activated.

If you haven’t tried the Opera browser yet, perhaps it’s time you did, because it comes with a lot of handy features that will make browsing more efficient.

To mention just a few: integrated ad blocker, customizable workflow, customizable personal news feed, battery saver, integrated messengers for Twitter or Instagram, or crypto wallet.



Try the Opera browser with the free incorporated VPN and choose any location on the globe with just a few clicks.

2. Firefox

  1. Enter about:config in the address bar.
  2. If the warning message appears, select I accept the risk.
  3. Search for geo.enabled and set it to False.
    geo.enabled firefox set country in browser
  4. Search for geo.wifi.uri  and set it to String. Now click the + icon.
    firefox geo.wifi.uri set country in browser
  5. Enter the following value:
    • data:application/json,{"location": {"lat": 40.7128, "lng": 74.0060}, "accuracy": 27000.0}

After making these changes your location should be changed. Bear in mind that you need to use coordinates that match your desired country.

2. Chrome

  1. Open Developer Tools You can do that quickly by using Ctrl + Shift + I shortcut.
  2. Locate the Console tab and click three dots next to it.
  3. Select Sensors. Now set Geolocation to Custom location and enter the desired coordinates.change location in chrome

So, if you want to set a different country in your browser, changing a couple of settings is all that you need. In case that doesn’t work, you can always use a VPN.

FAQ: Learn more about web browsers

  • How does my browser know my location?

Your browser determines your location by using Wi-Fi access points or your IP address.

  • How can I browse a website from another country?

To browse a website from another country, your best option would be to use a VPN or a browser with a built-in VPN such as Opera.

  • How do I change my browser country?

You can change your browser country simply by modifying a couple of hidden settings. Alternatively, you can use a VPN.

  • How do I find my browser location?

To find your browser location you need to use one of many available third-party services. However, these services aren’t always correct.

idee restoro Still having issues? Fix them with this tool:
  1. Download this PC Repair Tool rated Great on (download starts on this page).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues with Patented Technologies (Exclusive Discount for our readers).
Restoro has been downloaded by 0 readers this month.