What is a password generator?
People are bad at inventing passwords. We reach for names, dates, keyboard runs and small tweaks like swapping an a for an @. Attackers know this, and their guessing lists are built around exactly those habits. A password generator removes the human from the choice. Every character comes from a random draw, so there is no pattern to guess.
This password generator starts with a 16-character password as soon as the page loads. A slider changes the length between 4 and 64, and four switches control which characters are allowed: uppercase, lowercase, numbers and symbols. A fifth switch, Exclude ambiguous, drops look-alike characters such as 0, O, 1, l and I, which helps when someone has to read the password aloud or type it from paper. The password changes every time you touch a setting.
Randomness comes from crypto.getRandomValues(), the same source browsers use for their own security features, not from Math.random(). Be clear about what the tool is not: it does not store your passwords, it does not check them against breach lists, and it cannot tell you where to keep them. You still need a password manager for that.
How to generate a strong random password
- Open the page. A 16-character password is already shown in the dark box at the top.
- Drag the Password Length slider between 4 and 64 characters. The password regenerates as you move it.
- Switch Uppercase, Lowercase, Numbers and Symbols on or off to match what the site you are signing up for accepts. Tick Exclude ambiguous if you need to read it out.
- Click Copy to put the password on your clipboard, or the refresh button for a new one with the same settings.
- Need several? Pick 5, 10 or 20 under Quantity and click Generate Multiple, then use Copy All or the Copy button beside each line.
- Paste the password into your password manager or the sign-up form straight away, then close the page. Clear History empties the list of multiple passwords.
What this password generator includes
Browser crypto randomness
Characters are picked with crypto.getRandomValues. The code rejects values that would skew the choice toward the start of the character list, so every allowed character is equally likely.
Length from 4 to 64
The slider gives you short PINs-style strings for old systems and long strings for anything that matters. The default is 16.
Four character sets
Uppercase A to Z, lowercase a to z, digits 0 to 9, and 26 symbols: !@#$%^&*()_+-=[]{}|;:,.<>?.
Exclude ambiguous characters
When ticked, the tool removes 0, 1, I, O, i, l and o from the pool so the password is easier to read and retype.
Strength meter and entropy estimate
A bar scores the result from Very Weak to Very Strong based on length and character types, and a line shows estimated entropy in bits for the pool you chose.
Bulk generation
Create 5, 10 or 20 passwords in one click, copy them one by one or all at once, one per line.
Who uses it, and for what
- Someone signing up for a new account. You need a password the site has never seen before. Generate 20 characters, paste it into your password manager and let the manager fill it in next time.
- Freelancers handing over client logins. Create a fresh admin password for a WordPress or hosting account, then send it through a secure channel. Pair it with a different one for each client.
- Developers seeding test accounts. Generate 20 passwords at once for staging users, copy them as a list, and drop them into a seed script. Use UUIDs for the matching user IDs.
- Office admins resetting shared Wi-Fi. Pick a 16-character password with Exclude ambiguous on, so staff are not guessing between a zero and a capital O. Turn it into a scannable code with the QR Code Generator.
- Anyone replacing a reused password. If one old password protects several accounts, a leak at one site exposes them all. Replace each with its own generated one.
Tips for using generated passwords
- Use at least 16 characters for important accounts. Length adds more strength than adding yet another symbol.
- Do not reuse a generated password on a second site. Generate one per account and let a password manager remember them.
- If a site rejects symbols or caps the length, switch Symbols off and raise the length instead, for example 24 letters and digits.
- The tool does not guarantee at least one character of each type. If a site insists on one of each, click generate again until it shows them, or check by eye.
- Copying puts the password on your clipboard. Paste it, then copy something else, and avoid pasting it into chat or email.
- Four-character results are only for systems that force them. They are weak by any standard.
Is it safe? Privacy and limits
Passwords are built by JavaScript on the page and are not sent anywhere by the tool. Nothing is saved: the list of multiple passwords disappears when you click Clear History or close the tab. Only you can see the output. That said, a page cannot protect a device that already has malware or a hostile browser extension. The strength meter is a simple estimate, not a security audit.
Password generator FAQ
Yes, it uses your browser's cryptographic random number generator, crypto.getRandomValues(), not Math.random(). That function is designed for security uses and draws on entropy collected by your operating system. The code also uses rejection sampling, which means it discards raw values that would make some characters slightly more likely than others. The result is that every character in your chosen pool has the same chance at every position. No server is involved in the draw, so nobody else sees the password. What it cannot promise is protection against a compromised device or a malicious browser extension.
Aim for 16 characters or more for ordinary accounts and 20 or more for email, banking and anything that can reset other accounts. Length matters more than complexity, because each extra character multiplies the number of possible passwords by the size of the pool. With all four sets on, the pool is 88 characters, so each character adds a little over 6 bits of entropy. A 16-character password gives roughly 100 bits. Shorter lengths down to 4 are available only because some old systems demand them.
No. The tool generates passwords in your browser and shows them on screen. It does not post them to a server, save them in cookies or keep a history between visits. The only place they exist is the page you are looking at and your clipboard if you press Copy. When you reload or close the tab, they are gone. If you want to keep one, paste it into a password manager before you leave. Your browser or extensions may have their own behaviour, so avoid using this on a shared or untrusted computer.
It removes characters that look alike in many fonts: the digits 0 and 1, and the letters O, I, i, l and o. That makes the password easier to read from a screen or a printed sheet and easier to type without mistakes. The cost is a slightly smaller pool, so each character carries a little less entropy. You can offset that by adding two or three characters of length. It is most useful for Wi-Fi passwords, temporary passwords given to staff and anything you will say aloud on the phone.
The meter is a simple score, not a cracking simulation. It adds points for length (8, 12, 16 and 20 characters) and for each type present: uppercase, lowercase, digits and symbols. A 12-character password with all four types can therefore already reach a high rating. The entropy line below it is based on the real size of the pool you selected, which is more informative. Treat the meter as a quick sanity check and rely on length: 16 or more characters is a safer target than any colour on a bar.
No. Each character is drawn independently from the combined pool, so a password with all four sets enabled will usually contain each type, but not always, especially at short lengths. A 6-character password with only 10 of 88 characters being digits can easily have none. If a site requires one of each, check the result by eye and click generate again if something is missing. Longer passwords make this a non-issue, because the chance that a type is absent shrinks quickly.
Both can be strong. A random string packs the most entropy into the fewest characters, which suits passwords you never type from memory because a manager fills them in. A passphrase of four or more random words is easier to remember, which suits the master password for the manager itself or a device login. This tool makes character strings only, not word-based passphrases. For the manager's master password, many people use a long passphrase they have memorised, and let this tool create everything else.
You can use them as secrets, but check what the system expects. Many services issue their own tokens and give you no choice. If you are generating a secret yourself, such as an app key or a database password, set the length to 32 or more and consider turning Symbols off, since some config files and shells treat characters like $, # and | specially. For decoding tokens you already have, see the JWT Decoder. For binary-safe text, the Base64 Encoder may help.
Yes. It is free, needs no account and has no limit on how many passwords you generate. You can create 20 at a time with the Generate Multiple button and run it as often as you like. There is nothing to install, and it works in any current browser that supports the Web Crypto API, which includes recent versions of Chrome, Firefox, Safari and Edge. Copy buttons need clipboard permission, which browsers normally grant after you click.