Go Dark Go Light
Stand with Ukraine!  How can you help?

Magento 2 Currency Switcher Extension

Magento 2 Currency Switcher is the extension for Magento 2 that allows you to automatically display prices in customers' local currency based on their GeoLocation (GeoIP). It is useful for merchants that sell globally. You can automatically show product prices for US residents in USD, for Canadians in Canadian Dollar, for EURO zone in Euro, etc.

  - Automatic GeoIP database update
  - Perfectly works with Page Cache and Varnish

  • Display prices in different currencies based on visitors’ location
  • Set currency to display for a specific country
  • Round off prices with 12 different algorithms
  • Use the built-in simulation tool to test the settings
  • Disable auto currency switcher for different robots
  • Use three out-of-the-box databases to detect visitor’s location
one-time payment
Buy Now Free Trial
Purchase as part of the Magento 2 GeoIP Switcher and save 10% OFF.
Display prices in local currencies based on customers location in Magento
Set "currency by country" to display different currencies per different countries
Enable different rounding algorithms in Magento
Live Demo
Compatibility:Magento 2.3.0 - 2.4.7 (CE, EE, ECE, B2B)
hyva compatible
Composer Package

Currency Switcher Based on Magento Geolocation

Selling globally you need to provide a versatile customer experience to make customers come back to your store. Magento allows you to set allowed currencies that are displayed on the storefront currency switcher. However, customers still have to switch it manually.

With our Magento 2 Currency Switcher extension, you will be able to automatically display prices in customers' local currency based on their geolocation. Just a few configuration steps and your customers are going to enjoy shopping in your store even more.

Currency Switcher Based on Geolocation
Default Currency By Country

Default Currency by Country

When your worldwide customers land on your store they see prices in the default currency. They can look for the Magento currency switcher to change it, but is it worth it? Do you want to make your customers make or take any extra steps to see prices in their local currency? Except for default store currency, our automatic Magento 2 Currency Switcher allows you to set the default currency for each country your store operates within. This way, your global customers will always see prices in their local currency when landing on your store, regardless of the country.

Multiple GeoIP Databases

To detect customers' location better our Magento Currency Switcher uses top GeoIP Databases: MaxMind IP Database, Cloudflare IP Geolocation, PHP GeoIP. They go with the extension out of the box, so there is no need to integrate any additional service or pay monthly fees for GeoIP detection. You can update the GeoIP database manually if you like. However, this extension provides automatic GeoIP database updates by cron. Just install, use and benefit without any extra actions.

GeoIP Database
Round Prices

Magento Round Prices

Depending on the currencies you use in your store and currency rates you set for them, prices may differ after switching. With Magento 2 Currency Switcher you can round prices and display them without decimals.

You can use different round algorithms. E.g.:
- Round (14.3 -> 14.00, 14.5 -> 15.00)
- Ceil (14.3 -> 15.00, 14.5 -> 15.00)
- Round 10 (12.3 -> 10.00, 17.5 -> 20.00)
- Ceil 10 (12.3 -> 15.00, 17.5 -> 20.00)
- Round .99 (14.3 -> 13.99, 14.5 -> 14.99)
- Ceil .99 (14.3 -> 14.99, 14.5 -> 14.99)
- Round .95 (14.3 -> 13.95, 14.5 -> 14.95)
- Ceil .95 (14.3 -> 14.95, 14.5 -> 14.95)

Currency Switcher Testing

Not sure if your customers get an experience you intended them to? Benefit from the currency switcher testing feature you get with this Currency Switcher extension for Magento 2. Just enter your IP, select the country you want to test currency switcher from and get a holistic view of the switcher on your store. This feature makes all your concerns about currency switcher configurations wear away. Test the extension after you configure it and be sure your customers get the best shopping experience in your store.

Currency Switcher Testing
Robot Restrictions

Robots Restrictions

Search engine robots regularly scan your website looking for new content to display on SERP. To avoid unnecessary SEO issues you can disable Magento 2 Auto Currency Switcher for some crawlers and bots. They can scan your website as usual without being redirected while others continue to benefit from the auto currency switcher.

Make sure it's a good match!

Uncertain whether the Magento 2 Currency Switcher Extension has all the features you're looking for, or if it aligns with your goals?

Request a free trial Suggest a new feature

Custom Theme Integration

You get an automatic Magento 2 Currency Switcher to boost customer experience with price rounding and multiple GeoIP databases. Besides that, you get an extension that works flawlessly with your theme, even a custom one. Our extension won’t affect it or cause any conflicts for your website storefront performance.

Magento 2 Themes

Does the currency switcher extension provide support to varnish cache?

Yes, it does. To make the module work properly with the varnish cache you need to modify the Varnish Cache configuration file (by default /etc/varnish/default.vcl) on your server and restart varnish. Please add these lines of code to the varnish config file:

if (req.http.cookie !~ "PHPSESSID=" && req.http.User-Agent !~ "bot" && req.http.User-Agent !~ "loader") {
return (pass);

With this setting, your store will be displayed without varnish cache during the first visit. You need to do this as the GeoIP detections held on the PHP level, and you need to allow varnish to skip the first visitor's request to make GeoIP detection possible. Check varnish configuration for better GeoIP detection guide for more information.


Can I install Magento 2 Auto Currency Switcher module via the composer?

Yes, you can. All our modules can be installed via the composer. Once you purchase the extension, you receive keys to the private Magefan composer repository and find the composer installation commands available in the "My Downloads" section.


What is a currency switcher?

Currency Switcher is a manual switcher option usually in the header of a website that displays all available currencies on a store. Customers use it to see prices in their preferred currency.


How do I change currency in Magento 2?

To change currency in Magento 2 go to Admin > System > Configuration > Currency Set Up and select default and allowed currencies for your store.


How do I change currency symbol in Magento 2?

To change currency symbol in Magento 2 go to Stores > Currency > Currency Symbols and set the currency symbols you want.

People Also Searched For
  • magento currency switcher
  • magento change currency
  • magento 2 geoip currency switcher
  • currency switcher magento 2
  • auto currency switcher magento 2
  • currency switcher magento
  • magento 2 geolocation
  • magento 2 currency converter extension
  • change currency in magento
  • magento 2 currency converter
  • magento currency converter
  • magento geolocation extension
  • geo ip magento 2
Quick Overview Video

Want your business to become global and seek the best way to do so? This is the case Magento 2 Auto Currency Switcher Extension by Magefan comes in handy. Attract more customers by displaying them prices in their local currency.

Check out this short video where we describe all the features our module has.
Related Products
Magento 2 Language and Store Switcher Extension
Language and Store Switcher
one-time payment
Magento 2 Translation
Special Price FREE Regular Price $79
one-time payment
Magento 2 GeoIP Switcher
GeoIP Switcher
Special Price $149 Regular Price $178
one-time payment
Magento 2 Hreflang
Hreflang Tags
one-time payment
Magento 2 SEO Extension
one-time payment
Magento 2 WebP Images
WebP Images
one-time payment
What our
clients say

The extension works perfectly, as expected. The settings currency by country can be done in magento backend w/out any problem. User friendly UI, the EU countries are specified in the brackets for those who are using EUR. The rounding works well, however, unfortunately not compatible with PayPal extension that allows to pay NOT in base currency - Meetanshi. One more request to Rounding option - to show the e.g. in the brackets next to the method name.

Anastasia Tokareva
Brands Who Trust Us
Magento 2 Currency Switcher Extension
Live Demo