Password Generator
Generate secure random passwords or memorable passphrases, test their strength and hash your own password (bcrypt, Argon2, SHA).
Type
Length
Characters
Advanced options
Words
Separator
Other suggestions
Suggestions
bcrypt only uses the first 72 bytes of the password.
Algorithm
Recommended for storing passwordsCost
PHP 8.4 default: 12 (10 before). Each +1 doubles the computation time.
Memory (memory_cost)
Iterations (time_cost)
Threads
PHP defaults: 64 MB, 4 iterations, 1 thread.
โ ๏ธ MD5, SHA-1 and SHA-2 are too fast and unsalted: do not use them to store passwords. Prefer bcrypt or Argon2id.
Generated hash
A new random salt is used each time: the hash changes, but every one of them stays valid.
PHP code
Verify an existing hash
Paste a hash (bcrypt, Argon2, MD5, SHA-1, SHA-256, SHA-512) to check whether it matches the password entered above.
All processing is done locally in your browser. No passwords are sent to our servers.
What is a Password Generator?
A password generator is a tool that creates random, secure passwords to protect your online accounts. Strong passwords are essential for cybersecurity, as weak or reused passwords are one of the most common causes of account breaches. Our generator creates truly random passwords using cryptographic methods, ensuring maximum security.
Features
Random Passwords
Generate cryptographically secure random passwords with customizable length and character sets.
100% Private
All password generation happens in your browser. Nothing is ever sent to our servers.
Strength Analysis
Test your existing passwords to see how secure they are and get improvement suggestions.
Memorable Passphrases
Create easy-to-remember passphrases using random word combinations that are still highly secure.
bcrypt & Argon2 hashing
Hash your own password with bcrypt, Argon2id, Argon2i or SHA, get ready-to-use PHP password_hash() code and verify an existing hash.
How to Use
Choose a Mode
Select "Generate" to create new passwords or "Test Strength" to analyze existing ones.
Configure Options
For random passwords, choose length and character types. For memorable passwords, select word count and separator.
Generate or Analyze
Click to generate your password or enter an existing one to test its strength.
Copy and Use
Copy your new secure password and use it for your accounts. Consider using a password manager.
Password Security Tips
Use Unique Passwords
Never reuse passwords across different accounts. If one account is compromised, all others remain safe.
Length Over Complexity
A longer password is generally more secure than a shorter complex one. Aim for at least 12-16 characters.
Use a Password Manager
Password managers securely store all your passwords, so you only need to remember one master password.
Enable Two-Factor Authentication
Whenever possible, enable 2FA for an extra layer of security beyond just your password.
Frequently Asked Questions
Is this password generator secure?
Yes, our generator uses the Web Crypto API (crypto.getRandomValues) which provides cryptographically secure random numbers. All processing happens locally in your browserโno passwords are ever transmitted to our servers.
What makes a password strong?
A strong password has high entropy, meaning it's difficult to guess. This comes from length (at least 12 characters) and variety (mixing uppercase, lowercase, numbers, and symbols). Avoiding common words and patterns also helps.
Are memorable passwords secure?
Yes, when using random words. A passphrase of 4+ random words can be as secure as a complex random password while being easier to remember. The key is that the words must be truly random, not chosen by you.
How often should I change passwords?
Modern security guidance suggests changing passwords only when necessary (suspected breach) rather than on a schedule. Focus instead on using unique, strong passwords and enabling two-factor authentication.
What is password entropy?
Entropy measures password randomness in bits. Higher entropy means more possible combinations and longer crack times. A password with 80+ bits of entropy is considered very strong against modern attacks.
How do I hash a password for PHP?
Open the "Hash" tab, enter your password and pick the algorithm (bcrypt or Argon2id recommended). The resulting hash works with PHP password_verify(), Laravel, Symfony or WordPress. Everything runs in your browser: the password is never sent to the server.