Secure Password Generator
Create a strong, random password in one click. Set the length, pick which character types to include, and skip ambiguous characters. Everything runs in your browser.
How to generate a password
- Set the length and choose which character types to include.
- Optionally exclude ambiguous characters like O, 0, l and 1.
- Copy your password, or regenerate to get a fresh one.
Examples
Strong 20-character password
length 20, lowercase + uppercase + digits + symbols
k7$Rg2pX!mQ9vZ4#tLwB
Frequently asked questions
Are these passwords really random and secure?
Yes. Passwords use the browser's cryptographically secure random generator (crypto.getRandomValues), not a predictable function like Math.random, and unbiased sampling so every character is equally likely.
Is the password generated in my browser?
Yes. Generation happens entirely on your device. Nothing is sent to a server, logged or stored, so the password is private to you.
How long should my password be?
Aim for at least 16 characters for important accounts. Longer is stronger, and mixing lowercase, uppercase, digits and symbols makes it much harder to guess or crack.
What are ambiguous characters?
Characters that look alike and are easy to misread, such as the letter O and the number 0, or the lowercase l, capital I, number 1 and the pipe. Excluding them helps when you type a password by hand.
Does every password include each selected type?
Yes, when the length allows. The generator guarantees at least one character from each type you turn on, then fills and shuffles the rest.
Can I generate passwords through an API?
Yes. This tool exposes a JSON API so you can request passwords programmatically with the same options available here.
Related tools
Token Generator
Generate secure random tokens online in hex, base64url or base64. Great for API keys, secrets and CSRF tokens. Runs in your browser, nothing stored.
UUID Generator
Generate random version 4 UUIDs online. Create one or thousands at once, with uppercase or no-hyphen options, then copy them. Free and private.
.env to JSON
Convert a .env file to JSON, or JSON back to .env. Parses KEY=value lines, comments, quotes and export. Runs entirely in your browser.
ASCII Table
Full ASCII table for all 128 codes with decimal, hex, octal and binary values, character names and descriptions. Search by code, hex or character.
Aspect Ratio Box Generator
Generate CSS for a responsive aspect-ratio container. Use the modern aspect-ratio property or the padding-top fallback, then copy the ready code.
Aspect Ratio Calculator
Calculate aspect ratios fast. Enter a ratio like 16:9 and one dimension to get the other, or enter width and height to simplify the ratio.