Password Generator
Create cryptographically secure passwords instantly with local browser-based generation.
Generate secure passwords instantly with local JavaScript and the Web Crypto API. Adjust the settings below and the result updates right away.
Generated password
Strength estimate: Basic
Recent history
Saved passwords will appear here.
Last updated:
Generate a strong random password
This password generator creates a random password from the character types you choose. It builds the password in your browser with the Web Crypto API, so nothing is sent to a server. A new password appears as soon as you change a setting.
How to use it
- Set the Password length with the slider, from 8 to 48 characters. The default is 16.
- Tick the types you want: Uppercase letters, Lowercase letters, Numbers and Symbols.
- Click Generate another password for a fresh one.
- Click Copy password and paste it into your password manager or the sign-up form.
How it works
The tool takes one character from each selected type, so site rules like "at least one number" are always met. It fills the remaining length from all selected characters together and then shuffles the result so the guaranteed characters are not always at the start. Random numbers come from crypto.getRandomValues, with rejection sampling to avoid bias.
Symbols come from this set: !@#$%^&*()_+-=[]{}|;:,.<>?
What you see
- The Generated password box.
- A Strength estimate of Basic, Good or Strong. It is a quick score based on length (12 and 16 characters) and which character types are present.
- Save to history keeps up to ten passwords in a list on the page. The list lives in memory only and disappears when you reload or close the page. Clear history empties it.
Tips and limits
- Longer is stronger. If a site blocks symbols, untick Symbols and raise the length instead.
- If no type is ticked, no password is generated.
- The tool does not store your passwords long term. Save them in a password manager.
- To test a password you already use, try the Password Strength Checker.
Frequently asked questions
Is the password sent anywhere?
No. It is generated in your browser and stays on your device.
Is it truly random?
It uses the browser's cryptographically secure random number generator, not Math.random.
What length should I choose?
The default of 16 is a sensible minimum for most accounts. Use more for important ones, such as email or your password manager.
Related Text Tools
Browse all tools from the same category.
Word Counter
Words, characters, sentences, and paragraphs
Open toolText Case Converter
Upper, lower, title, and sentence case
Open toolShowing 1-2 of 27