random PIN generator
Get a random PIN for a phone, card, safe or app lock. The generator automatically skips the patterns people guess first.
🔒 Made on your device with your browser's secure random generator. Never sent, never saved.
Why not choose your own PIN?
People pick PINs from a tiny set of favourites: 1234, 1111, 0000, 1212, 2580 (straight down the keypad) and years like 1990 or 2001. Studies of leaked PINs have found that a handful of these cover a large share of all 4-digit PINs, so an attacker who tries them first succeeds surprisingly often.
A random PIN removes that advantage. Each digit is drawn with your browser's cryptographic random generator, and any result that is all the same digit, a straight run up or down, a repeating pair or a likely year is thrown away and redrawn.
4 digits or 6?
- 4 digits: 10,000 combinations. Fine where the device locks after a few wrong tries, such as bank cards.
- 6 digits: 1,000,000 combinations — 100× more. Use it for phones and apps where it's allowed.
- 8+ digits: for safes, alarm codes and anywhere unlimited guessing is possible.
Remembering it
Say it in pairs (“47 – 19 – 83”) a few times, and use it straight away. Avoid writing it next to the card or device it unlocks.
Frequently asked questions
Is the password sent or saved anywhere?
No. It's generated inside your browser with crypto.getRandomValues, the same cryptographic random source password managers use. It is never sent over the network, logged or stored — close the tab and it's gone.
Which PINs are skipped?
All-same digits (0000), straight runs up or down (1234, 9876, including wrap-around like 8901), repeating pairs (1212, 696969), 19xx and 20xx years, and a few famous ones such as 2580.
Does skipping weak PINs make it less random?
Very slightly — it removes a few dozen of the 10,000 possible 4-digit PINs. Those are exactly the ones attackers try first, so it's a clear net gain.