What is a routing number?

A routing number, or ABA routing transit number, is the nine-digit code that identifies a bank or credit union in the United States. It's printed at the bottom left of checks and needed for direct deposits, wire transfers and automatic bill payments. The first four digits are the Federal Reserve routing symbol, the next four identify the bank, and the last one is a check digit.

A random routing number generator makes numbers in that shape for testing. Developers and testers use them in payroll and direct deposit forms, banking apps, check printing software and payment files, anywhere a field should accept a valid routing number and refuse a wrong one.

Tool description

The page starts on routing numbers, and a first list is ready as it opens, one number per line. Pick how many with Count, press Generate to replace them, and copy the list or download it as a text file.

How the numbers are built

  • The first two digits are always 01 to 12, one for each of the twelve Federal Reserve districts, from Boston to San Francisco.
  • The check digit is always right: the nine digits are multiplied by 3, 7 and 1 in turn and added up, and the total comes out as a multiple of 10.
  • The four bank digits are random, so a number may or may not match a real bank.
  • Changing any single digit breaks the check, which makes it easy to test a form's error message.

Good to know

  • Most of the numbers start with 0, which a spreadsheet drops unless the column is formatted as text.
  • Use them as test data only: a generated number may belong to a real bank.

Features

  • Nine-digit ABA routing numbers with a valid check digit
  • First digits from the twelve Federal Reserve districts
  • 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