Password Security
Password Generator Guide: How to Create Strong Random Passwords
Learn how a password generator creates random passwords and how to choose length, character types and other options for different uses.
What Is a Password Generator?
A password generator creates a password automatically instead of requiring you to invent one yourself.
The MartTools Password Generator creates random passwords from the character types you select. You can control the password length and choose whether to include lowercase letters, uppercase letters, numbers and symbols.
How the MartTools Password Generator Works
The generator starts with the character types selected in the options. It then builds a character set from those choices and uses the browser's cryptographic random number generator to select characters.
The password length can be adjusted from 4 to 64 characters. The default length is 16 characters with lowercase letters, uppercase letters, numbers and symbols enabled.
Choose the Password Length
Password length is one of the main options in the generator. MartTools lets you choose a length between 4 and 64 characters.
Longer passwords provide more possible character combinations when the character set remains appropriately varied. The right length can depend on the requirements of the service where the password will be used.
Use Lowercase and Uppercase Letters
The generator can include lowercase letters from a-z and uppercase letters from A-Z.
Using both character sets gives the generator more characters to choose from than using lowercase letters alone.
Add Numbers
The Numbers option adds the digits 0 through 9 to the available character set.
Numbers can be combined with lowercase letters, uppercase letters and symbols when those options are enabled.
Add Symbols
The Symbols option adds a set of punctuation and special characters to the password character set.
The generator's symbol set includes characters such as !, @, #, $, %, ^, &, *, parentheses and other supported symbols.
Exclude Ambiguous Characters
Some characters can be visually similar, especially when a password is displayed in a particular font. The MartTools generator provides an option to exclude the ambiguous characters Il1O0o.
Enable Exclude ambiguous when you want generated passwords to avoid those characters.
How to Generate a Random Password
Open the Password Generator and choose the desired length and character options.
The generator automatically creates a password when the options change. You can also use the generate button to create another password using the current settings.
If you need to use the generated password elsewhere, the copy button places it on the clipboard.
Understanding the Password Strength Indicator
The MartTools Password Generator displays a strength indicator for the generated password. The indicator can show Weak, Fair, Strong or Very Strong.
The displayed strength is based on characteristics including password length, whether lowercase and uppercase letters are present, whether numbers are included, whether symbols are included and whether the password reaches longer length thresholds.
The strength indicator is a quick guide provided by the tool. It is not a guarantee of how a particular website or security system will evaluate the password.
Why Use a Random Password?
A generated password does not require you to come up with a predictable combination of words or characters yourself.
Random generation can be useful when you need a different password for a new account or service and want the password to be generated from a configurable character set.
Using the Password Generator Responsibly
Use a different password for each important account rather than relying on one password across multiple services.
When a website or service has its own password requirements, configure the generator to match those requirements before copying the result.
Avoid sharing generated passwords unnecessarily, and use appropriate account security features offered by the service.
Password Generator vs. Creating a Password Manually
Creating a password manually requires you to select the characters yourself. A generator automates that selection and can produce a new result whenever needed.
The MartTools generator also lets you control the length and character categories instead of producing every password using exactly the same settings.
Related tool
Put this guide into practice
Related guides
Continue reading
Password Length Guide: How Long Should a Password Be?
Learn why password length matters, how to choose a practical password length and how password length works with randomness and character variety.
Read guide →Random Password vs. Passphrase: Which Should You Use?
Compare random passwords and passphrases, including their length, randomness, memorability and practical uses for different types of accounts.
Read guide →Frequently asked questions
What is a password generator?
A password generator automatically creates a random password using a selected set of characters and a chosen length.
What password length does the MartTools generator support?
The generator supports password lengths from 4 to 64 characters.
Can I include uppercase and lowercase letters?
Yes. You can independently enable lowercase letters and uppercase letters.
Can I include numbers in the generated password?
Yes. Enable the Numbers option to include digits from 0 through 9.
Can I include symbols?
Yes. The Symbols option adds supported punctuation and special characters to the generated password.
What does Exclude ambiguous mean?
It removes the visually similar characters Il1O0o from the character set used to generate the password.
Does the generator use random values?
Yes. The generator uses the browser's crypto.getRandomValues API to select password characters.
Can I copy the generated password?
Yes. The copy button copies the generated password to the clipboard.
What does the password strength indicator mean?
The indicator labels the generated password as Weak, Fair, Strong or Very Strong based on characteristics such as length and character variety. It is a guide rather than a guarantee of how another service will evaluate the password.