4-digit PIN generator
A random 4-digit PIN that isn't one of the ones thieves try first. 9,137 possible PINs, each as likely as the next.
Generator
Made on this device with your browser's secure random generator. Never saved, never sent, no history.
Options
Site rules PRO
Make a list PRO
Password strength checker
Checked as you type, on this device. It isn't saved and is cleared when you leave.
Has this password leaked?
Tap Check to look it up in Have I Been Pwned's list of hundreds of millions of leaked passwords. Only the first 5 characters of its SHA-1 hash are sent, never the password.
Five rules for strong passwords
- Length beats tricks.Four or more random words, or 16+ random characters. Swapping a for @ adds almost nothing.
- One password per site.Reuse is how one leak opens every account.
- Let a password manager remember them.Your phone or browser has one built in.
- Turn on two-step sign-in.Use a passkey or an authenticator app where you can.
- Skip names, dates and patterns.Birthdays, pets, teams and qwerty are tried first.
Settings
Why a random PIN matters
There are 10,000 four-digit PINs, but people don't use them evenly. In DataGenetics' 2012 study of 3.4 million leaked four-digit PINs, 1234 alone was about 11% of them, 1111 about 6%, and the 20 most common made up over a quarter. Someone who tries just those 20 has a good chance with a PIN chosen by a person, and almost none with a random one.
This generator skips those 20 and everything like them: repeats (2222), runs (4321, 6789), pairs (1212), years from 1900 to 2099 and anything that reads as a date (0312, 2512). That leaves 9,137 PINs.
The odds
| Wrong tries allowed | Chance a thief guesses a random PIN |
|---|---|
| 3 | 1 in 3,046 |
| 5 | 1 in 1,827 |
| 10 | 1 in 914 |
Most bank cards block after three wrong PINs. Phones add longer and longer waits, and may erase themselves after ten tries if you turn that on.
How to get a 4-digit PIN
- A 4-digit PIN is ready at the top.
- Tap the arrows until you get one you can remember. Don't pick one because it spells a date you know.
- Learn it, or copy it into your password manager, then close the page.
Questions
How many 4-digit PINs are there?
10,000, from 0000 to 9999. Leaving out the easy ones (sequences, repeats, years and dates) leaves 9,137.
What are the most common 4-digit PINs?
1234, 1111, 0000, 1212, 7777, 1004, 2000, 4444, 2222 and 6969 top the list in DataGenetics' study. This generator never gives you any of them.
Is a 4-digit PIN secure?
Only where wrong tries are limited, like a bank card that blocks after three. If a phone or app lets you use six digits, do.
How do I change my bank card PIN?
At most cash machines in the UK, under PIN services, or in your bank's app. You need the current PIN.