Some systems — older phone systems, certain safes, numeric-only login fields — accept digits only. This generator produces a fully random numeric code of your chosen length using a cryptographically secure source.
Generated entirely in your browserCryptographically secure randomnessNothing is ever transmitted or stored
8
Advanced options
5
12
6
Generate in bulk
Create several passwords at once using the settings above — useful for provisioning multiple accounts.
Check a password's strength
Type any password to score it instantly. This runs entirely in your browser — nothing is sent anywhere, logged, or stored.
Type a password above
Tips
Use the longest length the system allows
Numeric-only codes have much lower entropy per digit than full passwords — length matters even more here.
Avoid patterns even in a numeric code
A randomly generated code avoids the common pitfalls of dates, repeated digits, and ascending sequences automatically.
Don't reuse a numeric code across systems
Treat a numeric passcode with the same care as any other password — unique per system, never reused.
Frequently asked questions
How secure can a numeric-only password be?
Entropy per digit is lower than with letters and symbols, so a numeric code needs to be longer to reach comparable security — an 8-digit code has about 26.6 bits of entropy.
What's a reasonable length for a numeric passcode?
8 digits or more where the system allows it — shorter than that starts to become impractically guessable for anything sensitive.
Is this the same as the PIN generator?
Very similar — this page defaults to a longer length, since 'numeric password' searches often relate to longer passcodes rather than short device PINs.