How it works
This tool creates a truly random PIN code of the length you choose. Human-picked PINs cluster around dates, 1234 and repeated digits; a random PIN avoids all of those. A 4-digit PIN has only 10,000 combinations, a 6-digit PIN a million, an 8-digit PIN a hundred million โ longer is meaningfully safer wherever the device allows it.
Digits come from the Web Crypto API and never leave your device. Enable no repeated digits for a PIN that is still easy to type. Don't reuse one PIN for your phone, your bank card and your SIM.
PINs to avoid
Analysis of millions of leaked PINs shows people pick the same few over and over. These 20 are by far the most common โ 1234 alone accounts for around 11%:
1234 1111 0000 1212 7777 1004 2000 4444 2222 6969 9999 3333 5555 6666 1122 1313 8888 4321 2001 1010
Also avoid: your birth year or date, 123456, anything starting with 19 or 20 (it looks like a year), and number-pad shapes like 2580 or 1397. A randomly generated PIN falls into none of these.
4 or 6 digits?
Use 6 whenever the device allows it. A 4-digit PIN has 10,000 combinations; a 6-digit PIN has a million โ a hundredfold jump for one extra keystroke. iPhones and most banking apps now default to 6, and many SIM cards and locks accept 8. Keep 4 digits only where attempts are strictly limited (a phone that wipes after 10 tries, a chip-and-PIN card).
Related terms: Brute force ยท Entropy