Need a handful of real currency codes for a test fixture or a demo dropdown? This generator draws random, valid ISO 4217 currencies from a built-in table and shows the alphabetic code, numeric code, name, country, and symbol for each.
How it works
ISO 4217 is the international standard that defines currency codes. Each currency
has a three-letter alphabetic code (for example USD), a three-digit numeric
code (for example 840), and a known minor-unit precision. This tool stores a
table of real currencies and uses a shuffle to sample the requested number
without repeats:
shuffle the currency table
take the first N entries
render code, numeric, name, country, symbol
Sampling without replacement guarantees no duplicate codes within a batch, which mirrors how a real currency picker behaves.
Tips and notes
Use the numeric code when you need a language-neutral identifier, such as in fixed-width financial message formats. The symbol shown is the common glyph; remember that several currencies (for example the various dollar currencies) share the dollar sign, so always store the three-letter code, not the symbol, as your source of truth.