Randomly

Routing Number Generator

Generate 9-digit test routing numbers that pass the ABA checksum. Random digits, not looked up from any bank.

Output · 0 routing numbers

ABA checksum valid

No items.

9-digit ABA routing numbers with a valid checksum: 3·(d₁+d₄+d₇) + 7·(d₂+d₅+d₈) + (d₃+d₆+d₉) ≡ 0 (mod 10). First two digits identify the Federal Reserve district (01-12 for the 12 Fed banks, 21-32 for historical thrifts). The remaining digits are random — these are format-only and don't map to a real bank.

0 · ABA
Length
9
Checksum
ABA

Related tools

Guides

This routing number generator makes 9-digit numbers that pass the ABA checksum, so they get through format validation in a payment form, a payroll screen, or an API. They are test data. The digits are random, they weren't taken from any bank directory, and they aren't attached to any account.

Each number starts with a Federal Reserve district prefix (01 to 12) or one of the 21 to 32 prefixes historically used for thrift institutions. The next six digits are random, and the last one is calculated so the whole number passes the 3-7-1 checksum. Everything is generated in your browser.

What the numbers are for

Use them anywhere you need a routing number that looks right but points nowhere:

  • Testing routing number fields in payment and payroll forms
  • Seeding a staging database with fake bank records
  • Checking that your own ABA checksum code accepts valid input
  • Teaching how a routing number is put together

How to use the routing number generator

  1. Set Count anywhere from 1 to 50.
  2. Click Generate, or Regenerate for a fresh batch.
  3. Click a number to copy it, or use Copy all to copy the batch, one number per line.

Test data, not real accounts

A passing checksum only means the digits are arranged correctly. Because six of the digits are random, a generated number can, by coincidence, match a real bank's routing number. That's harmless in a test system, but it's the reason these numbers should never go into a live payment, a real ACH file, or anything else that moves money. To see whether a number belongs to an active bank, look it up in the Federal Reserve's E-Payments Routing Directory.

How the check digit works

The checksum multiplies the nine digits by the weights 3, 7, 1, 3, 7, 1, 3, 7, 1 and adds up the results. For a valid routing number the total is a multiple of 10. The generator picks the first eight digits, then sets the ninth to whatever makes that true. You can test any result in the routing number validator.

Frequently asked questions

What is a routing number?

A 9-digit code, also called an ABA routing transit number, that identifies a US bank or credit union for checks, ACH transfers, and wires.

Is this Routing Number Generator free?

Yes, with no sign-up.

Are generated routing numbers real?

No. They pass the checksum and use a real prefix range, but the rest is random. A number might happen to match a real bank's, which is why they belong in test systems only.

Will these pass validation in my app?

If your app checks the length, the prefix, and the ABA checksum, yes. If it looks numbers up in a bank directory, most will fail, because they aren't assigned to any bank.

Can I generate multiple routing numbers?

Yes, up to 50 per batch.

Built and maintained by Bipul Kumar. Found a wrong number or a broken result? Tell me and I'll fix it.