Currency Converter

Apr 2026

ReactReactViteViteTailwind CSSTailwind CSSshadcn/uishadcnFigmaFigma

Converts an amount between 30 currencies at today’s rates. You can try it here.

No server

Most exchange-rate APIs require a key, and keeping it secret takes a server in between. Frankfurter needs none, so the browser calls it directly and the whole app stays a static site:

GET https://api.frankfurter.dev/v1/latest?amount={amount}&from={from}&to={to}

Currencies

Real currencies

Thirty currencies, grouped by region:

  • Americas: United States (USD), Canada (CAD), Mexico (MXN), Brazil (BRL)
  • Europe: Euro area (EUR), United Kingdom (GBP), Switzerland (CHF), Czechia (CZK), Denmark (DKK), Hungary (HUF), Iceland (ISK), Norway (NOK), Poland (PLN), Romania (RON), Sweden (SEK)
  • Asia-Pacific: Australia (AUD), China (CNY), Hong Kong (HKD), Indonesia (IDR), India (INR), Japan (JPY), South Korea (KRW), Malaysia (MYR), New Zealand (NZD), Philippines (PHP), Singapore (SGD), Thailand (THB)
  • Middle East and Africa: Israel (ILS), Turkey (TRY), South Africa (ZAR)

Robux

Robux is the in-game currency of RobloxRoblox, and no exchange-rate API lists it. The app pins it to the US dollar at the DevEx rate, $0.0038 per Robux: what a creator receives when cashing out.

const ROBUX_DEVEX_USD_RATE = 0.0038 // USD per Robuxusd   = robux * ROBUX_DEVEX_USD_RATE // 10,000 RBX → 38 USDrobux = usd   / ROBUX_DEVEX_USD_RATE // 1 USD → ≈ 263 RBX

GitHub Repository