Skip to content
/ PIN generator

PIN generator

A randomly drawn PIN of 4 to 12 digits, for a phone, SIM card, combination padlock, alarm or door keypad. The codes everyone tries first (1111, 1234, 9876, birth years) are discarded.

How to do it

  1. Choose the number of digits: 6 rather than 4 when the device allows it.
  2. Click 🔄 for a new code.
  3. Make several at once (“Several at once” block) for a set of padlocks.
  4. Write it down away from the device, never on the card.

Tips

  • A 4-digit code is only safe because the device locks after 3 tries.
  • Avoid birth dates, postcodes and keypad patterns (2580).
  • For an online account, use a password or passphrase instead.

Frequently asked questions

Is a 4-digit PIN enough?

Yes for a card or phone that locks after 3 failures: that is the case the CNIL allows for (13 bits). Without a lockout, 10,000 combinations can be tried in minutes.

Which PINs should I avoid?

1234, 0000, 1111, 1212, 2580 (keypad column) and birth years are among the most used codes; the generator discards them.

Is the password sent anywhere?

No: it is created in your browser with cryptographic randomness (crypto.getRandomValues) and is neither sent nor saved; only your settings are kept on your device.