בס״ד

Password Generator

A password generator produces a random string from a chosen character set using a cryptographically secure random source, so the result has no pattern an attacker can predict. NIST SP 800-63B-4 requires at least 15 characters where a password is the only authentication factor and at least 8 when it is paired with a second factor. CISA recommends 16 or more. Our generator defaults to 16 characters from an 88-character set, which is about 103 bits of entropy.

16
864

Characters to exclude from the password (useful for avoiding ambiguous characters)

Cryptographically Secure

Every character is chosen by advanced cryptographic random generation, with no pattern to exploit.

High Entropy

Each character from the full 88-character set adds about 6.5 bits. 16 characters is about 103 bits, which the meter shows as strong (80 bits or more).

Best Practices

Use a different password for every account and keep them in a password manager.

Command Line

$ curl https://api.dnsx.dev/tools/password
$ curl "https://api.dnsx.dev/tools/password?length=32&symbols=false"
$ curl "https://api.dnsx.dev/tools/password?length=20&exclude=0O1lI"
$ curl "https://api.dnsx.dev/tools/password?length=20&format=raw"
$ curl "https://api.dnsx.dev/tools/password/batch?count=10&length=20"

How long should a password be in 2026?

NIST SP 800-63B-4 puts the floor at 15 characters where a password is the only authentication factor, and at 8 where a second factor is present. CISA recommends 16 or more. The same standard requires systems to accept passwords of at least 64 characters and to permit every printable ASCII character, spaces and Unicode. It also discourages composition rules (the “must contain one uppercase, one digit and one symbol” pattern) and mandatory periodic rotation, because both push people toward predictable variations of the same password. Length and randomness are what matter.

What is password entropy, and how many bits do I need?

Password entropy is the size of the search space an attacker has to cover, expressed in bits. A password of L characters drawn uniformly from an alphabet of N symbols carries L × log₂(N) bits, and each extra bit doubles the work. The figure only holds if the password really was generated at random. A human-chosen password of the same length and character set carries far less, because the choices are not uniform.

Our generator draws from up to 88 characters: 26 lowercase letters, 26 uppercase letters, the 10 digits, and these 26 symbols:

! @ # $ % ^ & * ( ) _ + - = [ ] { } | ; : , . < > ?

Each character from the full set is worth log₂(88), about 6.46 bits. The table gives the entropy for the three common character sets at typical lengths.

LengthLowercase + digits (36)Mixed case + digits (62)Full set (88)
8 characters41.4 bits47.6 bits51.7 bits
12 characters62.0 bits71.5 bits77.5 bits
16 characters82.7 bits95.3 bits103.4 bits
20 characters103.4 bits119.1 bits129.2 bits
24 characters124.1 bits142.9 bits155.0 bits
32 characters165.4 bits190.5 bits206.7 bits

Against an attacker making 10¹² guesses per second on a fast unsalted hash such as SHA-256 on GPUs, a 52-bit space is exhausted in about an hour and a 64-bit space in about seven months. 80 bits takes roughly 38,000 years at that rate, which is why 80 bits is the usual threshold for “beyond practical offline cracking”. A 16-character password over the full 88-character set is 103 bits and clears that line by a wide margin. These numbers assume the attacker has the hash. Against an online login with rate limiting, far less entropy is enough.

Where is this password generated?

Each password is produced fresh for you by advanced cryptographic random generation and delivered over an encrypted connection. It is never stored, never logged, and never shown to anyone else.

How do I generate a password from the command line?

If you prefer to generate a password on your own machine, both commands below produce a strong random value. The base64 output uses letters, digits, plus and slash, so trim or swap those two symbols if the site you are signing up for rejects them.

openssl rand -base64 24
head -c 32 /dev/urandom | base64

Why is a random password stronger than a memorable one?

No Patterns

A random password contains no dictionary words, keyboard patterns or personal details, so the wordlists and rules cracking tools try first find nothing.

Full Entropy

Each character is chosen independently from the whole character set, so every position contributes its full log₂(N) bits.

Breach Resistant

Random passwords do not appear in leaked password lists, so a breach elsewhere does not hand an attacker a working guess.

Made for a Password Manager

A generated password is meant to live in a password manager, so you never have to memorise it and length costs you nothing.

Frequently Asked Questions

How secure are generated passwords?▼
DNSX builds each password with advanced cryptographic random generation, so every character is chosen independently and with no pattern an attacker can exploit. A 16-character password drawn from the full 88-character set carries about 103 bits of entropy, far beyond what offline cracking can exhaust.
What is password entropy?▼
Password entropy measures how many guesses an attacker needs, expressed in bits. It equals the password length multiplied by log2 of the character set size, so each extra bit doubles the work. A 16-character password over the 88-character set DNSX uses (26 lowercase, 26 uppercase, 10 digits and 26 symbols) has about 103 bits. 60 bits is enough for ordinary online accounts and 80 bits or more is the usual target for anything that may be attacked offline.
Should I use a password manager?▼
Yes. A password manager is the only practical way to keep a unique random password for every account. It stores the passwords in an encrypted vault protected by one master password or passphrase, so you never have to remember or retype the generated ones. Bitwarden, 1Password and KeePass are the usual choices.
What makes a strong password?▼
A strong password is long (at least 16 characters), random (generated rather than chosen), and unique (never reused across accounts). Dictionary words, names, dates, keyboard patterns like qwerty and substitutions like @ for a add almost nothing, because cracking tools try them first. A randomly generated password is stronger than any password a person makes up at the same length.

Related Tools