Free Embeddable Currency Converter Widget

Add a free currency converter to any website with one line of code. No API key required — official ECB reference rates keyless, or real-time mid-market rates across 150+ currencies with a free key.

Drop a clean currency converter onto your site in seconds, powered by the AllRatesToday API.

No API key, no signup. Paste the snippet and it works — keyless embeds use our open central-bank endpoint (official ECB reference rates, updated daily, 30+ major currencies). Just keep the "Powered by AllRatesToday" attribution link visible. Want real-time mid-market rates across 150+ currencies, dedicated quota and usage stats? Add a free API key.

Try it live

Embed it (JavaScript, recommended)

Paste this where you want the converter to appear. It renders directly into your page and adapts to your layout.

<!-- AllRatesToday currency converter (no API key needed) -->
<div class="art-currency-widget" data-base="USD" data-target="EUR"></div>
<a href="https://allratestoday.com">Powered by AllRatesToday</a>
<script async src="https://allratestoday.com/widget.js"></script>

Or embed via iframe

No JavaScript needed — works on any CMS, including ones that strip scripts.

<iframe
  src="https://allratestoday.com/embed/converter?base=USD&target=EUR&theme=light"
  width="400" height="320" frameborder="0" loading="lazy"
  title="Currency converter by AllRatesToday"></iframe>

Customization

Set these data- attributes on the widget <div> (or as query params on the iframe URL):

AttributeDefaultDescription
data-api-keyOptional. Free API key for real-time mid-market rates, 150+ currencies, dedicated quota + dashboard stats (key= on the iframe URL)
data-baseUSDStarting "from" currency (ISO 4217)
data-targetEURStarting "to" currency (ISO 4217)
data-amount1Starting amount
data-themelightlight or dark

License & attribution

The widget is free under the MIT license. The "Powered by AllRatesToday" link must remain visible on keyless embeds — it is how we keep the rate data free for everyone. Building something custom? Use the open central-bank endpoint, read the API docs, or grab a free API key.