Password Generator - Strong Passwords, Measured in Bits

2on /
/ Dev Tools / Password Generator

Password generator

20

Every password here is created in your browser and never leaves it. A generator that talks to a server is a generator that knows what it made.

What this generator does

Two things decide whether a password holds: how many characters it has and how many different characters could have been in each position. Multiply those out and you get a number of bits, which is the only figure that can be compared between two passwords. This page shows that number instead of guessing at a word like "strong".

How to use it

  1. 1 Set the length. The bar and the bit count update as you drag it.
  2. 2 Pick the character sets. Dropping symbols costs you bits, and the counter shows how many.
  3. 3 Press Generate and copy the one you want. Paste it straight into your password manager.

What a bit of entropy buys you

Each extra bit doubles the work an attacker has to do. The table below is the same arithmetic for four common alphabets, and it shows something people find surprising: a longer password from a small alphabet beats a short one from a large alphabet almost every time.

Alphabet 8 chars 12 chars 20 chars
Digits only (10)274066
Lowercase letters (26)385694
Letters and digits (62)4871119
Everything, symbols included (76)5075125

How the "one from each set" rule is applied

The common shortcut is to build a random password and then overwrite a few positions to satisfy the rule, which makes those positions predictable and weakens the result. Here one character is drawn from each required set first, the rest are filled from the combined pool, and the whole thing is shuffled, so no position carries information about which set it came from.

Where the randomness comes from

From your device's cryptographic random source, through the same routine the randomizer tools on this site use. That routine draws an index by rejection sampling rather than by taking a remainder, because a plain remainder makes low indexes come up slightly more often, and in a password that quietly shrinks the search space an attacker has to cover.

A generated password is only half the job

A password this random cannot be remembered, and that is the point: it belongs in a password manager, not in your head or a note. Reusing even a very strong password across sites undoes the strength, because one breach then opens every account that shares it.

Password generator - frequently asked questions

No. They are generated in the page and never leave the browser. You can check it: load the page, disconnect from the network, and it still generates. A generator that needs a server is a generator that has seen your password.
New
Color Converter Convert a color between HEX, RGB and HSL, build a scale of shades, and check the contrast ratio against white, black or any second color.
Popular Today
Color Converter Convert a color between HEX, RGB and HSL, build a scale of shades, and check the contrast ratio against white, black or any second color.

Related Dev Tools

MD5 Hash Generator Free MD5 hash generator: turn any text or file into an MD5 checksum in your browser - useful for integrity checks and quick fingerprinting.
Base64 Encoder & Decoder Free Base64 encoder and decoder: convert text or files to Base64 and back, entirely in your browser - nothing is uploaded to a server.
Lorem Ipsum Generator Free Lorem Ipsum generator: create placeholder text by paragraph, sentence or word count, with optional HTML tags for your design mockups.
JWT Decoder Free JWT decoder: paste a token to read its header, payload and signature in a readable form - decoding happens in your browser, nothing is sent.
URL Encoder & Decoder Free URL encoder and decoder: convert links and query parameters to percent-encoding and back, with full-URL and component modes, in your browser.

Other Tools You May Like

Word to PDF Convert Word to PDF for free: upload a DOC, DOCX, ODT or RTF file and download a properly formatted PDF in seconds - no registration or watermark.
PDF to Word Convert PDF to Word for free: upload a PDF and download an editable DOCX in seconds - no registration, no watermark and nothing to install.
Word Counter Free word counter: paste any text to count words, characters, sentences and paragraphs, and see the estimated reading time - nothing leaves your browser.
Character Counter Free character counter: count characters with and without spaces, plus words and lines, and check SEO limits for titles and meta descriptions.
Keyword Density Checker Free keyword density checker: paste text or a URL to see how often each word and phrase appears, with percentages for one, two and three-word terms.