PIN generator
Secure numeric codes from 3 to 12 digits.
20 bits of entropy
Frequently asked questions
Why generate a random PIN instead of picking one myself?
Humans are terrible at choosing PINs: birthdays, "1234", "0000", and similar patterns appear in 15-20% of all PINs. A truly random PIN distributes uniformly across the entire space, dramatically increasing how hard it is to guess.
How many digits should my PIN have?
For apps with lockout after a few wrong attempts (banking, phones), 6 digits is standard and sufficient. For systems without lockout (safes, old hardware), aim for 8-10. Each digit adds roughly 3.3 bits of entropy.
What does "avoid sequences" do?
It rejects PINs like "1234", "9876", or "1111" — patterns an attacker would try first. The generator retries until it finds one with no three consecutive identical or sequential digits.
