What is a bank account number?

A bank account number identifies one account at a bank. Its form depends on the country: in the United States it goes together with a nine-digit routing number that names the bank, in the United Kingdom it usually has eight digits and comes with a six-digit sort code, and in much of Europe it sits inside an IBAN.

A random bank account number generator makes stand-in numbers for testing. Developers and testers use them in banking and payroll apps, direct debit and payout forms, invoicing tools that print payment details, and test databases. Designers use them in mockups of statements and account screens, and teachers in bookkeeping exercises.

Tool description

The page starts on bank account numbers, and the first list is ready right away, one number per line. Use Count for the size of the list and Generate for a new one, then copy it or download it as a text file.

What the numbers look like

  • Every number has eight digits, written together with nothing in between.
  • About one number in ten starts with 0, so keep the column as text in a spreadsheet, where a number would lose that zero.
  • There's no check digit and no bank code: all eight digits are random, which suits any field that simply wants an account number.
  • They work well for testing masked display, where an app shows only the last few digits.

Good to know

  • Use the numbers as test data only: a random account number may exist at some bank, so never send money to one or put it on a real invoice.
  • If a field expects exactly eight digits, as most British account numbers do, add or remove one to test its error message.

Features

  • Eight-digit bank account numbers
  • Leading zeros kept
  • A new list with one click
  • Copy the list or download it as a text file
  • Runs in your browser: nothing you generate is sent anywhere