Password Generator

Generates random passwords or memorable passphrases using your browser’s cryptographic random generator. Choose the length and character types, copy, done – the passwords never leave your device.

Source: W3C Web Cryptography API – Crypto.getRandomValues(). Updated: .

Your passwords

    Generated with crypto.getRandomValues() right in your browser. Nothing is sent, stored, or written to the address bar.

    characters
    16 characters or more recommended.

    Result

    Entropy
    –
    Rating
    –
    Pool
    –

    How it is calculated

    A good password is above all random and long. This generator uses your browser’s Web Crypto function crypto.getRandomValues() – the same cryptographically secure randomness used for encryption. Each character is drawn without modulo bias (rejection sampling).

    How to generate a strong password

    1. Choose the type: random password (characters) or passphrase (words).
    2. Set the length or number of words and tick the character types – uppercase, lowercase, digits, special characters.
    3. Copy the password. The entropy in bits shows how much randomness it contains.

    Example: 16 characters using all four character types give about 104 bits of entropy. The same length with lowercase letters only reaches 16 × log₂(26) ≈ 75 bits – every extra character type and every extra character raises the value.

    At least one character of each type – without bias

    Many generators place one fixed character per selected type and then shuffle the result. That favors small groups such as digits. Here, a candidate is instead drawn completely at random and rejected whenever a selected character type is missing. That way every valid password is exactly equally likely.

    Entropy: how much randomness is in it?

    Entropy in bits is the base-2 logarithm of the number of possible outcomes. Example: 16 characters out of 90 possible characters (A–Z, a–z, 0–9, 28 special characters) give 16 × log₂(90) ≈ 103.9 bits; the rule “at least one of each selected type” rules out some combinations and costs about 0.26 bits – calculated exactly with inclusion-exclusion, so the figure shown is ≈ 103.6 bits. Every extra bit doubles the effort needed to try every possibility.

    Passphrase: memorable yet strong

    A passphrase consists of randomly chosen words, for example ladder-tobacco-moon-tile-rudder-basket. With 7,776 words, each word contributes log₂(7,776) ≈ 12.9 bits, so six words give ≈ 77.5 bits. The German Federal Office for Information Security (BSI) explicitly names 5–6 random words as a good method. The word list used here is the EFF Large Wordlist (CC BY). Important: only randomly chosen words are secure – a phrase you make up yourself is far easier to guess.

    Recommendations

    Related tools: test an existing password with the password strength checker, create random IDs with the UUID generator, make checksums with the hash generator, or draw any random number with the random number generator.

    Frequently asked questions

    Are the generated passwords stored anywhere?

    No. They are created only in your browser, never sent, never stored, and never written to the address bar. Reload the page and they are gone.

    How long should a password be?

    For a random password, 16 characters using all character types (≈ 104 bits) is plenty. NIST requires at least 15 characters if no second factor is used. For passphrases, the BSI recommends 5–6 random words.

    What does “bits” mean for entropy?

    The number of bits tells you how many equally likely possibilities there are: 2 to the power of the bit count. 80 bits are about 1.2 septillion possibilities – at ten billion attempts per second, trying them all would take millions of years.

    Why skip look-alike characters?

    I, l, 1 and |, O, 0 and o are hard to tell apart in many fonts. Leaving them out makes a password easier to type correctly. This lowers the entropy slightly – the display accounts for that.

    Is a passphrase as secure as a random password?

    Yes, if the words are truly chosen at random: six words from 7,776 (≈ 77.5 bits) correspond to about 12 random characters from A–Z, a–z and 0–9 (≈ 71.5 bits). With seven words (≈ 90.5 bits) you are clearly above that.

    Is a 12-character password strong enough?

    A random 12-character password using all four character types has about 78 bits of entropy, which is strong for most accounts. NIST asks for at least 15 characters when the password is the only factor, so 16 is a safe default.

    How do I create a strong password I can remember?

    Choose “Passphrase (words)”: several random words with a separator are easier to remember than a string of symbols and still strong. Five or six random words are a good target.

    How can I check if my password is strong?

    Enter it in the password strength checker – it estimates the strength locally in your browser. A random 16-character password from this generator is already very strong.

    Sources and legal basis

    As of: · Editorial policy

    Embed on your website

    Free, no sign-up: copy the code and paste it into your page (e.g. an HTML block). Feel free to adjust the size and the link.

    Open previewColours, dark mode and more widgets

    Related tools