Generate a Strong Password
Generate random numeric PINs of any length (4, 6, 8, or 12 digits). Cryptographically secure, no logging, no uploads.
Generate a random numeric PIN
Some devices only accept a numeric PIN; phone locks, alarm systems, legacy door keypads, bank cards. This preset generates random PINs at 4, 6, 8, or 12 digits. The underlying source is crypto.getRandomValues(), so the output is cryptographically unpredictable, not Math.random() (which many naive generators use).
What is Password Generator?
Generate cryptographically strong passwords that respect your specific requirements: length, character classes (lowercase, uppercase, digits, symbols), and whether to exclude ambiguous characters (like O and 0). Uses the browser's Web Crypto API (crypto.getRandomValues), not Math.random; so the output is genuinely unpredictable, not just pseudo-random. Generate multiple at once for a whole rotation.
How do I use Password Generator?
- Set the length (12-64 recommended).
- Toggle character classes: lowercase, uppercase, digits, symbols.
- Click Generate for a fresh password.
- Copy or download the output.
Password Generator by the numbers
- RNG
- crypto.getRandomValues()
- Length range
- 4 to 128 characters
- Character classes
- Upper, lower, digits, symbols, ambiguous exclusion
- Entropy meter
- Live zxcvbn score
- Storage
- None; in-memory only
Common use cases for Password Generator
- Generating a 20-character Wi-Fi password for a small-office router.
- Creating a unique password per site for use in a password manager.
- Producing a memorable 5-word diceware passphrase for a master password.
- Spinning up 50 user seeds for a staging database.
- Getting a numeric PIN of exact length for a device lock.
Common pitfalls and how to avoid them
- Same password appears twice — Each click produces a fresh generation. If you see duplicates, you copied the old buffer; click Regenerate and copy again.
- Site rejects the password — Check the site's allowed characters. Toggle off symbols (or specific ones) to match their policy.
- Forgot the password after closing — We never store passwords. Paste into a password manager (1Password, Bitwarden, KeePass) before leaving the page.
When should I use Password Generator?
Password Generator is for creating new passwords. To check the strength of an existing password, use Password Strength. For hashing rather than generating, use Hash Generator.
Frequently asked questions
Is 4 digits enough for a phone lock?
4-digit PINs are common but weak (10k combinations). Use 6 digits unless the device forces shorter.
Can I avoid repeated digits?
Toggle "No consecutive repeats"; adjacent duplicates are suppressed. Full uniqueness within a 6-digit PIN would reduce entropy, so we don't enforce that.
Is my file uploaded anywhere?
No. Everything runs in your browser; the file never leaves your device, and there is no server component for this tool.
Tools that pair well with Password Generator
- Password Strength Checker entropy & crack-time estimate, free and in your browser.
- Hash Generator md5, sha-256, sha-512, free and in your browser.
- Random Number Generator secure random generator, free and in your browser.
- UUID Generator v1, v4, v7 uuids, free and in your browser.