Random Password Generator: 8 to 64 Characters
Generate random passwords of 8 to 64 characters with uppercase, lowercase, numbers and symbols, made by your browser's crypto generator. Nothing is saved.
Updated November 2026
Reviewed by Rafael Duarte
How to use the password generator
A strong random password in seconds
1. Set the length
Drag from 8 to 64 characters — the strength meter updates live with every change.
2. Pick your character types
Uppercase, lowercase, numbers, and symbols — the more types you enable, the stronger the result.
3. Copy it
Click Copy or press Shift + Enter. For a new one, click Regenerate Password or press Space. The shortcuts don't fire while the length slider has focus, so click outside it first.
What this random password generator does
Real cryptographic randomness, not a lookup table
crypto.getRandomValues()
Every character comes from the operating system's cryptographically secure generator (CSPRNG), exposed by the browser, not from the predictable Math.random().
Indicative strength meter
Five levels from Very Weak to Very Strong, colored red, orange, yellow, blue and green. It's a simple rule: it counts the active character types and adds a bonus at 12 and at 16 characters. It doesn't calculate entropy, so 8 characters with all four types already shows as Strong. To compare properly, use the entropy table below.
8 to 64 characters
From everyday account passwords to master passwords for a password manager or full-disk passphrases.
100% in your browser
Nothing is sent to a server or saved in the browser. Once the page has loaded, generation keeps working offline.
Example generated passwords
Every run gives a different password; entropy depends only on length and character types
k7!Rp@2WK#9mP@vL2nXq47291836When you'll reach for this tool
The most common scenarios people use a password generator for
Signing up for a new site
A unique password per site, paired with a password manager so you never have to remember it.
Email and social media logins
Prime targets for phishing and credential stuffing — use 16+ characters with every character type on.
Database and API credentials
Nobody types these by hand, so go for 32 to 64 characters. If symbols break a connection string or config file, turn Symbols off and keep the length high.
Your password manager's master password
20+ characters — quite possibly the only password you'll actually need to memorize.
Common mistakes when generating passwords
Fewer than 12 characters
Even with every character type enabled, a short password still has low entropy.
Reusing the same generated password
A breach on any one service exposes every account that shares the credential.
Leetspeak substitutions (p4ssw0rd!)
Modern cracking tools apply these substitutions automatically — they add almost no real protection.
Generating a password but never saving it
A 20-character password is useless if you forget it and reset it to something weak instead.
Why use this password generator
It uses crypto.getRandomValues(), which returns numbers from the operating system's cryptographically secure generator (CSPRNG), instead of Math.random(), which isn't built for security and can be predicted.
Length and variety are what make a password strong: every extra character multiplies the search space, and every character type you enable widens the alphabet a brute-force attack has to cover. With all four types on, there are 88 possible characters per position, about 6.5 bits each.
Nothing is stored: the password exists only in the open tab and is gone when you generate another or leave the page. Copy it into your password manager before you close it.
Quick Tools vs. making one up yourself
Real randomness is what actually matters
Frequently asked questions
At least 12 for low-risk accounts, 16 for anything you actually care about, and 20+ for email, banking, or password managers. NIST SP 800-63B now recommends a minimum of 15 characters for general single-factor authentication.
For a personal account with no financial data, a mixed-type 12-character password (~78 bits of entropy) is still reasonable. For email, banking, or payments, aim for 16–20 characters instead.
At 8 digits there are only 100 million combinations, roughly 27 bits of entropy, which a brute-force attack covers quickly. Enable at least three character types, or make a numbers-only code much longer.
Not necessarily. Each character is drawn at random from all the types you enable, so a short password can come out without a digit or a symbol. If a site requires one of each, check the result and click Regenerate Password (or press Space) until it fits; longer passwords almost always include every type.
This generator runs entirely in your browser. No data is ever sent to a server — it behaves identically offline, using crypto.getRandomValues() for the actual randomness.
Never. If one site gets breached, attackers try the same password on other services in what's called credential stuffing. A generator paired with a password manager makes unique passwords effortless — no memorization needed.
A random password mixes character types for maximum entropy per character; a passphrase strings together several random words and needs more length to reach the same strength. Both work well — passphrases are easier to type by hand, random passwords are shorter for the same security when stored in a manager.
References
Related article
`P@ssw0rd1` Passes Your Validation. That's the Problem.
Related Tools
- ASCII Table Generator: Plain-Text & Markdown Tables Developer Turn CSV or typed data into a plain-text table: MySQL, Unicode box, rounded, double-line, Markdown, RST or minimal style. Copy it or download as .txt.
- Base64 Decode Online — Free Base64 to Text Decoder Developer Free online Base64 decoder — decode Base64 strings back to plain text instantly in your browser. Validates input and shows decoded payload size.
- Base64 Encoder: Encode Text, PDF & Files Online Developer Encode UTF-8 text or any file (PDF, DOCX, XLSX, ZIP up to 50 MB) to Base64 or Base64URL. Runs in your browser, nothing is uploaded. Free, no sign-up.
- Base64 to Image Online: Preview and Save PNG, JPG, GIF Developer Paste raw Base64 or a data:image URL to preview the image with its type, dimensions and size, then save the original file. No upload, runs in your browser.
- Bcrypt Generator & Checker: Hash and Verify Passwords Developer Generate a bcrypt hash with cost 4 to 18 or check whether a password matches a $2a$, $2b$ or $2y$ hash. Runs in your browser; nothing is uploaded.