Home Documentation Playground Pricing API Status Blog About FAQ Support

Free Embeddable Currency Converter Widget

Add a free, real-time currency converter to any website with one line of code. 150+ currencies, mid-market rates, no API key required.

Drop a clean, real-time currency converter onto your site in seconds. It uses the same live mid-market rates as the AllRatesToday API and covers 150+ currencies.

No API key, no signup. Paste the snippet and it works — keyless embeds use our open community endpoint. Just keep the "Powered by AllRatesToday" attribution link visible. Want 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 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 endpoint, read the API docs, or grab a free API key.