How to use the PIN Generator
- Choose how many digits and how many PINs.
- Keep “avoid easy PINs” on.
- Copy a PIN, or generate new ones.
What does this tool do?
People choose PINs predictably — 1234, 0000, 1111 and birth years are among the first guesses. Random PINs from a cryptographically secure generator are far harder to guess.
The generator can filter out sequences, repeats, repeated pairs and year-like numbers. Everything is calculated in your browser; nothing you enter is sent to us.
Why use it?
- Cryptographically secure.
- Filters weak patterns.
- 4 to 12 digits.
Use cases
- New card, phone or SIM PINs.
- Door, alarm and safe codes.
- Temporary access codes for guests or deliveries.
How many guesses?
A 4-digit PIN has 10,000 combinations, a 6-digit PIN 1,000,000. But people favour a small set — 1234, 1111, 0000 and birth years cover a large share of real PINs — so a random PIN avoiding those patterns is much safer than its length suggests.
Common mistakes
- Reusing the same PIN for your bank card, phone and door.
- Writing the PIN on the card or keeping it in the wallet.
- Picking a “random” PIN that's actually a date — birth years are among the first guesses.
Privacy
Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us. There's no account to create and nothing to install.
Frequently asked questions
Is a 6-digit PIN better than 4?
Yes. It has 100 times more combinations, and devices that lock after a few attempts make it very hard to guess.
How random are these PINs?
They use your browser's cryptographically secure random generator, the same kind used for passwords.
Do you keep the PINs?
No. They're generated in your browser and never sent anywhere.
Content last updated . See how M2Toolkit works.