๐Ÿ”

Security Generators

6 generators โ€” Generate strong passwords, PINs, and cryptographically secure random tokens

Generate strong, random passwords, PINs, and security tokens for accounts and applications.

About Security Generators

The Security generators category produces cryptographically random secrets โ€” passwords, passphrases, PINs, and API keys โ€” that are unpredictable, non-reproducible, and suitable for production security use. All generators use the browser's Web Crypto API for randomness, not Math.random().

Why generated secrets are more secure

Human-chosen passwords follow predictable patterns that password cracking tools explicitly target: capitalised first letter, trailing number, letter-to-symbol substitutions (@ for a, $ for s), and common base words. Even passwords that feel random to their creator are statistically clustered compared to true random output. Generated secrets have none of these patterns โ€” every character position is independently random.

What's in this category

The Password Generator produces character-based passwords with configurable length and character sets โ€” the standard tool for generating login credentials. The Passphrase Generator produces word-sequence passwords that are longer and thus cryptographically stronger, while remaining human-typeable. The PIN Generator produces numeric-only codes for ATM cards, phone locks, and 2FA systems. The API Key Generator produces tokens in formats suitable for application secrets, webhook signing keys, and session tokens.

Use with a password manager

Generated passwords are intentionally unmemorizable. The correct workflow is always: generate โ†’ copy โ†’ paste into your password manager โ†’ save. Never commit generated secrets to version control, store them in plain text files, or reuse them across accounts.

Privacy

Nothing is transmitted or stored. Generation is local, using your browser's cryptographic random source.

Frequently Asked Questions

The Security category includes four generators: the [Password Generator](/password-generator/) for strong random passwords with configurable character sets, the [Passphrase Generator](/passphrase-generator/) for human-memorable word-based passwords, the [PIN Generator](/pin-generator/) for random numeric PINs of any length, and the [API Key Generator](/api-key-generator/) for random tokens used to authenticate applications and services.
A password is a short string of random characters โ€” letters, digits, and symbols. A passphrase is a sequence of random words (e.g. 'correct-horse-battery-staple'). Passphrases are longer in character count than typical passwords, making them mathematically harder to brute-force, yet easier for humans to remember and type. The [Passphrase Generator](/passphrase-generator/) produces word-based secrets; the [Password Generator](/password-generator/) produces character-based ones. For accounts where you must type the password (not paste it), a passphrase is often more practical.
Humans are poor random-number generators โ€” we unconsciously avoid certain patterns, favour memorable substitutions (@ for a, 3 for e), start with capital letters and end with numbers, and reuse words from our memory. Attackers exploit these habits in dictionary attacks and rule-based cracking. The [Password Generator](/password-generator/) uses a cryptographically secure random source to produce passwords that have no such patterns, making them resistant to every class of guessing attack.
An API key is a random token that acts as a credential for a service โ€” it identifies and authorises the calling application without a username and password. The [API Key Generator](/api-key-generator/) generates cryptographically random strings in common API key formats (hex, base62, UUID-style) suitable for use as: secret keys in environment variables, webhook signing secrets, session tokens for internal services, seed values for HMAC, or default secrets in development configuration files before a production secret is provisioned.
A 4-digit PIN has 10,000 possible values โ€” adequate for physical devices with lockout-after-N-attempts protection (ATM cards, phone SIM locks) but weak for any system that allows unlimited guesses. A 6-digit PIN has 1,000,000 values. For software-based 2FA (TOTP codes), 6 digits is the standard. For account recovery PINs or one-time codes in applications, 8 or more digits is safer. The [PIN Generator](/pin-generator/) generates PINs of any length you specify.
Always store it in a password manager. Generated passwords are deliberately designed to be unmemorizable โ€” a 20-character random string like 'X7@kP2mQ!nL9vR3wJ5dF' cannot be reliably memorised. The correct workflow is: generate a strong password, immediately save it in your password manager, then use the paste function from the manager each time you log in. Never write generated passwords in plain text files, notes apps, or on paper.
Yes. All generators in this category use the browser's Web Crypto API (`crypto.getRandomValues`) as the source of randomness โ€” the same cryptographic-quality random number generator used by security software. This is distinct from `Math.random()`, which is not cryptographically secure and should never be used for security-sensitive values. The cryptographic randomness means the generated values are unpredictable and suitable for production security use.
No. All generation happens in your browser using JavaScript. Nothing you generate is sent to any server, logged, or stored. Each time you click Generate, a new value is created locally from a fresh random seed. There is no record of what was generated โ€” if you close the tab without copying the value, it is gone permanently.
For maximum security with no compatibility constraints, include all four: uppercase letters (Aโ€“Z), lowercase letters (aโ€“z), digits (0โ€“9), and special characters (!@#$%^&*). For systems with restrictions โ€” some databases and shell scripts treat certain characters specially โ€” you can exclude problematic characters from the [Password Generator](/password-generator/) settings. A 16-character password with all four character types has a search space of approximately 10^31, which is computationally infeasible to brute-force.
The [Passphrase Generator](/passphrase-generator/) draws words from a large curated wordlist using a cryptographically secure random source โ€” the security depends entirely on the randomness of word selection, not on the words themselves being obscure. A passphrase of 4 common words from a 7,776-word list (Diceware) has approximately 4.7 ร— 10^15 possible combinations โ€” stronger than most random character passwords of 10โ€“12 characters. The words are memorable precisely because they are common; the security comes from the random selection.

Browse All Categories