Skip to content

QR & sharing

Password Generator

Password Generator creates strong random passwords and memorable passphrases. It uses cryptographic randomness in the browser, so you can generate credentials without sending them anywhere.

01 / How it works

Simple steps, fast result.

  1. 01

    Choose a password or passphrase.

  2. 02

    Set length and character options, or number of words.

  3. 03

    Generate, copy, and use the password where you need it.

02 / Features

What you get.

Passwords and passphrases

Generate random character passwords or memorable word-based passphrases.

Cryptographic randomness

Uses the browser's secure random generator for unpredictable results.

Custom rules

Adjust length, symbols, numbers, and case to match site requirements.

Local generation

Passwords are generated on your device, not on a server.

03 / Guide

Using Password Generator, in depth.

Password Generator creates random passwords and passphrases on your device, and estimates how strong a password you already have is. This guide explains the difference between the two kinds, why length beats complexity, how the randomness is produced, and the habits that matter more than any single password.

Passwords or passphrases?

The tool makes both. They suit different jobs.

  • A password is a random string such as q7#Rv!2mXa9;Lp4w@Tz0. You can choose a length from 8 to 64 characters (20 by default) and which character sets to use: lowercase, uppercase, numbers and symbols. It's the right choice for anything stored in a password manager, because you never need to type or remember it.
  • A passphrase is a string of random words, such as Cactus-Lantern-Velvet-Orbit7-Plank-Ripple. Choose 3 to 10 words (6 by default), the separator (dash, space, dot, underscore or none), whether to capitalise each word, and whether to add a single digit. It's the right choice for the few things you must type from memory: your computer login, your phone, and the master password for your password manager.

Use Generate 10 to get a list to choose from. Each one can be copied on its own, or you can copy the whole list.

Length beats complexity

Password strength is measured in bits of entropy: how many guesses an attacker would need, written as a power of two. Every extra bit doubles the work. Two things set it: how many possible characters (or words) each position could be, and how many positions there are.

Adding symbols to a password grows the pool of characters from 62 to about 87, which adds around half a bit per character. Adding one more character adds over six bits. That's why a long, plain password beats a short, complicated one, and why rules like "must contain a symbol" matter far less than length.

The same maths explains passphrases. The word list has 7,776 words, so each random word adds almost 13 bits. Six words give about 77 bits, and the optional digit adds a few more. A 20-character password with all four character sets gives about 129 bits. Both are far beyond what anyone can guess, and the passphrase is much easier to remember and type.

Where the randomness comes from

A password is only as good as the randomness behind it. The tool uses crypto.getRandomValues, the browser's cryptographically secure random number generator. It's built for security keys, unlike the ordinary random function used in games and animations.

There's a subtle trap when turning random numbers into characters. Taking a random number modulo the size of the character set makes a few characters slightly more likely than others. The tool avoids this with rejection sampling: it throws away the few random values that would cause the bias and draws again, so every character and every word is exactly equally likely.

When you choose several character sets, it guarantees at least one character from each and then shuffles the result, so the guaranteed characters don't always sit at the front. Passphrase words come from the EFF's large word list, which was designed for exactly this purpose: common, easy-to-spell words that are distinct from one another.

Avoiding look-alike characters

If you'll ever read a password off a screen and type it elsewhere, such as a Wi-Fi password on a printed card, tick Avoid look-alikes. It removes characters that are easily confused: capital I, lowercase l and the digit 1, capital O, lowercase o and zero, plus the vertical bar and quote marks. The pool gets slightly smaller, so add a character or two to make up for it.

Checking a password you already have

The checker estimates the strength of a password you type, from Weak (under 36 bits) through Fair and Strong to Very strong (80 bits or more). It also shows roughly how long guessing it would take an attacker making 10 billion guesses a second, a realistic speed for an offline attack on a leaked database.

It reduces the score for repeated characters, simple sequences like abcd or 4321, the common "word followed by numbers" pattern, and well-known passwords like password1. It's still only a rough guide: it can't know that a password includes your name, your birthday, or is one you've used elsewhere. What you type in the checker is never stored or sent anywhere.

Habits that matter more than any one password

  • Never reuse a password. When one website is breached, attackers try the same email and password on banks, email and social media. A unique password per site stops one leak becoming many.
  • Use a password manager. It remembers a different random password for every account and fills them in for you, so you only need to remember one strong passphrase. Most browsers and phones have one built in, and dedicated apps work across all your devices.
  • Turn on two-step verification for email, banking and social accounts. Even a stolen password isn't enough on its own then.
  • Protect your email first. Password resets go to your email account, so it deserves your strongest passphrase.

Passwords are generated in your browser and never sent anywhere or saved. To share a Wi-Fi password without reading it out, put it in a code with the QR Code Generator, and to lock a PDF with a password, use PDF Tools.

04 / FAQ

Common questions.

Are generated passwords sent anywhere?

No. They are generated locally in your browser.

Should I use a password or a passphrase?

Use a passphrase when you need to remember or type it often. Use a random password for accounts stored in a password manager.

What makes a password strong?

Length and randomness matter most. A long, randomly generated password is much harder to guess.