ISIN Generator

Generator

Generate valid ISIN (International Securities Identification Number) codes for testing. Pick a country, optionally enter your own 9-character NSIN, and get a correctly check-digited 12-character code. Runs entirely in your browser.

ISIN Details
Generated ISIN
Choose a country and click Generate to create an ISIN

About this tool

About ISIN Generator

An ISIN (International Securities Identification Number) is the 12-character code used worldwide to uniquely identify a specific securities issue — a stock, bond, warrant, or fund share class. It's built from a 2-letter country/issuer code, a 9-character alphanumeric NSIN (National Securities Identifying Number, often derived from a country's own local security code), and a single Luhn check digit.

The generator lets you pick an issuing country from an ISO 3166-1 list (plus the international 'XS' prefix), optionally type your own 9-character NSIN, and computes the 12th check digit using the official algorithm: every letter is expanded to its two-digit value (A=10..Z=35), and the resulting digit string is run through a standard Luhn check — doubling every second digit from the right — to produce the final digit.

Useful for testing financial, trading, custody, or portfolio-management systems that collect an ISIN, generating realistic sample data for QA, or understanding how the check digit is derived before writing your own validator.

Every generated code passes its own Luhn check digit validation — verified against real published ISINs (including Apple's US0378331005) before release. All computation happens in your browser.

Key Features

  • Full ISO 3166-1 country/issuer code list, plus the international XS prefix
  • Optional custom NSIN — leave blank for a random one
  • Official Luhn check digit algorithm, letter-expanded per the ISIN standard
  • Verified against real published ISIN check digits
  • Instant regeneration and one-click copy
  • 100% browser-based, no data leaves your device

FAQ

ISIN Generator — Frequently Asked Questions

What is an ISIN?

An ISIN (International Securities Identification Number) is a 12-character alphanumeric code defined by ISO 6166 that uniquely identifies a specific securities issue anywhere in the world — a particular stock, bond, warrant, or fund share class. It's assigned by each country's National Numbering Agency and used by exchanges, custodians, and clearing systems globally.

What's the difference between an ISIN and a ticker symbol?

A ticker symbol (like AAPL) identifies a company on one specific exchange and can be reused or changed over time. An ISIN identifies the underlying security itself, is globally unique, and stays fixed for the life of that security — a company's stock might trade under different tickers on different exchanges but keeps the same ISIN.

What is the NSIN inside an ISIN?

The NSIN (National Securities Identifying Number) is the 9-character code assigned by the local numbering agency before the ISIN wrapper is added — in the US this is the CUSIP, in the UK it's the SEDOL, and so on. The ISIN simply prepends the 2-letter country code and appends a check digit to the existing national code.

Are ISINs generated by this tool real?

No — the country code and check digit follow the official ISIN structure, but the 9-character NSIN is either one you typed or a random one, so the generated code isn't registered to any real security. Use it only for testing forms, imports, or validation logic.

Can an ISIN contain letters, or is it all digits?

Both. The first two characters are always letters (the country code), and the 9-character NSIN can be alphanumeric — many are all-digit, but letters are common too, especially outside the US. The final check digit is always a single numeral.

Tips

  • Copy an ISIN straight from a broker statement or prospectus rather than retyping it — even one mistyped character will usually fail the check digit
  • The 'XS' prefix denotes an internationally issued security cleared through Euroclear or Clearstream rather than a single national market
  • If you already have a national code (CUSIP, SEDOL, WKN, etc.), paste it into the NSIN field to see its corresponding ISIN
  • This generator never sends your data anywhere — the check digit is computed entirely in your browser

Explore more

Related Tools

Other tools that might be useful for your workflow