Passbrick / Free tools / PIN generator
PIN GENERATOR

Random PIN generator

Most people's PINs are guessable: 1234, 0000, a birthday. This makes a random one and throws away the PINs attackers try first. Everything runs in this browser tab with your device's cryptographic random generator. Nothing you generate or type is sent anywhere or stored.

Runs in your browserNothing storedNo account

Your new PIN

Digits
-possible PINs of this length
0guessable PINs skipped this session
FLIP BOARDPASSBRICK LAB
FILTERGuessable PINs crumble before you see them.

How to pick a PIN

  1. Choose the length Use 6 digits wherever you can: a million possibilities instead of ten thousand.
  2. Tap New PIN Guessable patterns are skipped automatically: repeats, runs, years, dates and common keypad shapes.
  3. Memorise it, then save it Say it in pairs a few times. Keep a copy somewhere safe, not on a note in your wallet.

Why random PINs matter

A study of millions of leaked four-digit PINs found that 1234 alone was about one in ten of them, and the top 20 PINs covered over a quarter. Phones and cards only allow a few attempts, so an attacker tries those first. A truly random PIN takes them out of the game.

Which PINs does it skip?

  • Repeats like 0000 and 1111, and patterns like 1212.
  • Runs like 1234, 4321 and 2468.
  • Years from 1900 to 2099, and dates in DDMM or MMDD form.
  • Keypad shapes like 2580 (straight down the middle) and the most common PINs in leaked lists.

Skipping these removes a small share of all possible PINs, the share attackers try first.

4 digits or 6?

Six whenever you're allowed. A four-digit PIN has 10,000 possibilities; six digits have 1,000,000. Phones usually lock or wipe after a handful of wrong tries, so the length mostly protects you if that limit can be bypassed.

PIN generator FAQ

Is this PIN generator random?

Yes. Each digit comes from crypto.getRandomValues, the browser's cryptographically secure generator, and guessable PINs are rejected and redrawn.

Is my PIN sent or stored?

No. It's made in your browser and disappears when you close the page.

Can I use it for my bank card or phone?

Yes. Check your bank's rules first; some don't allow certain patterns, which this already avoids.

Should I use a 4 or 6-digit PIN?

Six digits if the device or service allows it. It's 100 times harder to guess.

Why not use my birthday?

Birthdays and years are among the first PINs anyone tries, and your birthday is often easy to find online.

Keep it in Passbrick

Passbrick keeps card PINs, card numbers and CVVs encrypted on your phone, hidden until you tap to show them.

Get it on Google Play