Password Generator
Generate a secure random password.
What this calculator does
This tool creates a random password. Choose how long it should be, and whether to include numbers and symbols. Capital and small letters are always included.
Use it when you open a new account, or to replace a password that is weak or used on more than one site. A random password has no names, words or patterns in it, so it is much harder to guess than one a person makes up.
A worked example
Arjun in Calgary is setting up an online account with his energy company. The sign-up page does not accept symbols, so he sets the length to 20 and chooses Yes for numbers and No for symbols.
The tool gives him a new password of 20 characters, made of letters and digits. The password itself changes every time, so it is not shown here. Making it longer helps make up for leaving out symbols. Before he leaves the page, he saves it in his password manager, because the tool does not keep a copy.
How we work it out
We build a pool of characters from your choices: the 52 capital and small letters, plus the 10 digits if you want numbers, plus 26 symbols, such as @, # and %, if you want symbols. Then we pick each character from the pool at random, using a secure random number generator on our server.
You can choose from 4 to 64 characters. A length outside that range is changed to the nearest limit. Each character is picked on its own, so a password can happen to have no numbers or no symbols even when you ask for them.
How long to make it
The Canadian Centre for Cyber Security recommends passwords of at least 12 characters. This tool starts at 16. Every extra character multiplies the number of possible passwords by the size of the pool, so length adds strength quickly. If a site sets a maximum length, use the longest it allows.
If a site rejects symbols, turn them off and add a few more characters instead. If it rejects only certain symbols, generate again until you get one that works, or turn symbols off.
Keeping it safe
- Use a different password for every account. Then one leak does not expose the others.
- A password manager can create and store passwords for you. The Cyber Centre suggests using one for everyday accounts, but not for sensitive ones such as banking or email. Protect the manager itself with a strong password and multi-factor authentication.
- Turn on multi-factor authentication wherever you can. A code or a fingerprint on top of the password makes it much harder for someone with your password to get in.
- Never share a password, and do not send it by email or text.
This page does not save the password. It is made on our server and sent to your browser to display. Once you change a setting, press Calculate again or leave the page, it is gone. The link button shares only your settings, so anyone who opens the link gets a new password, not yours.
When a site still says no
Some sites insist on at least one number or symbol. Because each character is picked at random, a password from this tool can lack one by chance. Check it before you paste it in. If anything is missing, generate another. Some fonts make a capital I and a small l look alike, so copy and paste rather than retyping.
What this does not include
- Storage, so copy it somewhere safe before you leave the page
- A guarantee that a number or a symbol appears, even when you choose them
- A choice of which symbols to use
- Leaving out look-alike characters, such as a capital I and a small l
- Passphrases made of whole words
Common questions
How long should a password be?
The Canadian Centre for Cyber Security recommends at least 12 characters, and this tool starts at 16. Longer is stronger. If you have to remember it, such as for your computer login, a passphrase made of four or more words, with 15 or more characters in all, is easier to recall.
Is the password saved or sent anywhere?
It is created on our server and sent to your browser so you can see it. We do not save it. If you copy the link to your results, the link holds only your choices of length, numbers and symbols, so opening it makes a brand new password.
Should I use a passphrase instead?
For passwords you have to type from memory, a passphrase is often easier, and the Cyber Centre gives guidance on making one. For accounts you open with a password manager, a long random password like the ones made here works well, since you never need to remember it.
The site says my password needs a number. Why does it not have one?
Each character is chosen at random from the whole pool, so a password can happen to have no digits even with numbers turned on. Shorter passwords are more likely to miss one. Generate a new one, or add a digit yourself.
Do I need a different password for every account?
Yes. The Cyber Centre advises using a different password for each account and device. If one site is breached and you reused that password, criminals can try it on your other accounts. A password manager makes unique passwords easy to keep track of for accounts that are not highly sensitive.
Sources
- Best practices for passphrases and passwords (ITSAP.30.032), Canadian Centre for Cyber Security
- Password managers: Security tips (ITSAP.30.025), Canadian Centre for Cyber Security
- PHP: random_int - Manual, The PHP Documentation Group
Last reviewed October 18, 2026. How we check our numbers.
This is an estimate to help you plan. It is not financial, medical, or legal advice. Talk to a professional before you make a big decision.