How to use Password Generator

  1. Under Password Options, enter the password length (4 to 256). The default is 12.
  2. Tick the character types you want: lowercase letters (a-z), uppercase letters (A-Z), numbers (0-9) and special characters.
  3. If you want to leave out characters that are easy to confuse, tick Avoid ambiguous characters (i, I, l, 0, O).
  4. A new password appears in the Generated Password box each time you change an option.
  5. Click Copy to clipboard to copy the password, or Download to save it as a .txt file.

Examples

Default settings

Length 12 with all four character types ticked -> a 12-character password with at least one lowercase letter, uppercase letter, digit and symbol, such as A7#mK9$pL2@x.

Numeric code

Length 6 with only Include numbers (0-9) ticked -> a 6-digit code such as 482915.

Easier-to-read password

Length 16 with Avoid ambiguous characters ticked -> a password that never contains i, I, l, 0 or O.

Good to know

  • Characters are chosen with the browser's crypto.getRandomValues (Web Crypto API), and the password is then shuffled using the same random source.
  • Each character type you select appears at least once in the password. If no type is selected, or the length box is empty, no password is generated.
  • Special characters come from this set of 29: !@#$%^&*()_+~`|}{[]:;?><,./-= (no spaces, quotes or backslashes).
  • Avoid ambiguous characters removes only i, I, l, 0 and O. Similar-looking characters such as 1 and o can still appear.
  • The password is generated in your browser. The tool's code makes no network request.

Frequently asked questions

How do I generate a new password?

There is no Generate button. A password is created when the page loads, and a new one is created each time you change the length or tick or untick a checkbox.

What is the longest password I can create?

256 characters. If you enter a number above 256 it is changed to 256, and a number below 4 is changed to 4.

Why does the length change to 4 when I start typing?

Any value below 4 is replaced with 4 right away, including the first digit you type into an empty box. To set a length such as 16, edit the existing number (for example, change the 2 in 12 to a 6) or use the arrows on the box.

Which special characters can appear?

Only these: ! @ # $ % ^ & * ( ) _ + ~ ` | } { [ ] : ; ? > < , . / - =. Spaces, quotes and backslashes are never used.

More Text Tools