ISO 4217 Currency Code Validator
Check whether text is a valid ISO 4217 currency code as you type it, right in your browser, without sending it anywhere.
Input
Output
No value
Guide
What is an ISO 4217 currency code?
ISO 4217 gives each currency a code of three capital letters: EUR for the euro, USD for the US dollar, JPY for the Japanese yen, GBP for the pound sterling. For a national currency, the first two letters are usually the country's ISO 3166 code and the third is the currency's initial, as in CHF for the Swiss franc. Codes starting with X are for currencies shared by several countries, such as XOF for the West African CFA franc, and for things that aren't currencies at all, such as gold. SIX Group publishes the list as the standard's maintenance agency.
These codes appear on bank statements, exchange rate tables, invoices, payment forms and price lists. Developers and bookkeepers check them when they set up prices, import transactions or build a currency menu, since unofficial codes look just as plausible as real ones.
Tool description
Type or paste a code into the ISO 4217 currency code field, and the result shows as you type: "ISO 4217 currency code is valid" or "ISO 4217 currency code is not valid". Spaces and line breaks around the code are ignored, and small letters count as capitals, so eur passes too. The page has no settings.
What passes and what fails
- Codes of national and shared currencies:
EUR,CHF,XOF - The special codes in the list:
XAUfor gold,XDRfor the IMF's special drawing rights,XTSfor testing andXXXfor "no currency" - Retired currencies fail, such as
DEMfor the Deutsche Mark andHRKfor the Croatian kuna, which the euro replaced in 2023 - Nicknames and unofficial codes fail:
YEN(the code isJPY),RMBfor the Chinese yuan (CNY) andBTCfor bitcoin - Currency symbols and the standard's three-digit numbers fail:
€,978
Good to know
- A code that passes is in the copy of the list that comes with validator.js, which can lag behind the standard: a new code such as
XCGfor the Caribbean guilder can fail for a while, and the code it replaces can still pass. - To convert an amount between currencies, use the ECB Currency Converter. To check an amount with its symbol, such as
$1,234.56, use the Currency Amount Validator.
Features
- Checks three-letter ISO 4217 codes against the list
- Capital or small letters
- Special codes such as gold and testing included
- Results as you type, with no button to press
- Runs in your browser, so nothing you type is sent anywhere