WordPress Currency Converter Plugin: Free, With Official Central Bank Rates

AllRatesToday Currency Converter is a free WordPress plugin on WordPress.org. Add a currency converter or an official central bank exchange rate to any post or page with a block or a shortcode. No API key needed.

By Madhushan, Founder & Lead Developer ·

Now on WordPress.org. Search for AllRatesToday Currency Converter under Plugins → Add New, or get it from the WordPress.org plugin directory. Free, no account and no API key needed.

View on WordPress.org Try the live preview Download the zip

What the plugin adds

What visitors see

These are the same two widgets the plugin renders, running live on this page. To see them inside WordPress, open the live preview: it starts a temporary WordPress site in your browser with the plugin installed and a sample page, with nothing to install or sign up for.

Install

  1. In WordPress, go to Plugins → Add New and search for AllRatesToday Currency Converter. Install and activate it.
  2. Go to Settings → AllRatesToday and tick Show the credit link. Widgets stay hidden from visitors until you do.
  3. Optionally paste a free API key for real-time rates in the converter.
  4. Add the Currency Converter or Official Exchange Rate block to a post or page, or use a shortcode.

Requires WordPress 6.3 or later and PHP 7.4 or later.

Shortcodes

Currency converter:

[allratestoday_converter base="USD" target="EUR" amount="100" theme="light"]

Official rate from one publisher:

[allratestoday_official_rate bank="ecb" source="USD" target="EUR" theme="light"]
AttributeUsed byDescription
base, targetConverterStarting from and to currencies (ISO 4217 codes)
amountConverterStarting amount
bankOfficial ratePublisher code, such as ecb, boe, rbi or hmrc. See the list of publishers.
source, targetOfficial rateThe currency pair to show
themeBothlight or dark

Data and privacy

Rates are not stored in WordPress. Each visitor's browser requests them from allratestoday.com when a page with a widget loads. The request carries the currency codes and, for the official rate, the publisher code. If you save an API key, it is written into the page so the browser can use it, which means visitors can see it. Leave the key empty to use the free ECB rates, or rotate the key from your dashboard if needed. See the privacy policy.

FAQ

Is the plugin free?

Yes. The plugin is free and GPL licensed, and it works without an account. The free service asks for a visible "Exchange rates by AllRatesToday" credit link under each widget.

Do I need an API key?

No. Without a key the converter uses the European Central Bank reference rates, and the Official Exchange Rate block works for every covered publisher. A free API key gives the converter real-time rates for 160+ currencies.

Why is the widget not showing on my site?

Tick "Show the credit link" in Settings → AllRatesToday. WordPress.org does not allow a plugin to add a credit link on its own, so the widgets stay hidden from visitors until you agree to show it. Administrators see a note in its place.

Does it slow my site down?

The scripts load only on pages that contain a widget. Rates are requested by the visitor’s browser, so nothing is stored in your WordPress database and no cron job runs.

Does it work with classic themes and page builders?

Yes. Use the two shortcodes anywhere shortcodes are accepted: classic editor, widget areas and most page builders. Block themes can use the two blocks directly.

Can I use the official rate on invoices or tax pages?

The Official Exchange Rate block shows one currency pair exactly as the named central bank or tax authority published it, with its publication date. Check which publisher and date your own rules require.

Not on WordPress?