Skip to contentSellstamp

Password generator

Generate a strong random password with your browser’s cryptographic random number generator. Choose the length and character sets, see the real strength in bits, and copy it.

Choose at least one character set.
Characters

Leaves out 0 O 1 l I | and quotes

Strength
very strong
Entropy
129.5 bits
Alphabet
89 characters

Made in your browser with crypto.getRandomValues. Nothing on this page is sent to Sellstamp or anywhere else — there is no request to send it in.

Stays on your device

Everything runs in your browser. Nothing you type is sent to Sellstamp or anyone else.

Building something to sell?

Sellstamp has a storefront, a checkout into your own payment account, automatic delivery and an API with webhooks. Open a free store

How to use it

  1. Set the length; 16 or more is a good default.
  2. Choose the character sets, and skip look-alike characters if you will type it by hand.
  3. Press New for another one; the strength in bits stays the same for the same settings.
  4. Copy it straight into your password manager.

Where the randomness comes from

Every character is drawn with crypto.getRandomValues, the cryptographic random number generator your browser exposes to pages — the same source it uses for TLS session keys. It is never Math.random, which is a fast pseudo-random sequence meant for animations and is not safe for secrets. The draw is also done without modulo bias: an alphabet of 94 characters does not divide evenly into 256, and a generator that takes a byte modulo 94 makes the first 68 characters half again as likely as the rest.

What the strength figure actually measures

The bits shown are the size of the alphabet, raised to the length, as a power of two — how many guesses an attacker who knows exactly how the password was made would need on average. It is a property of the settings, not of the particular string, which is why it does not change when you press New. A 16-character password from all four sets is about 104 bits, which is out of reach of any offline attack; 12 lowercase letters is 56 bits, which a modern GPU rig gets through in days. Length does more than symbols do: adding four lowercase letters adds 19 bits, and turning on symbols adds about 8.

Nothing leaves this page

There is no request behind this tool. The password is generated in your browser and exists only in it until you copy it somewhere. That is also why there is no “email me this” field here: a password sent through mail is a password stored in plain text on at least two servers you do not control. Put it straight into a password manager instead.

Questions

Is this password generator safe?

Every character is drawn with crypto.getRandomValues, the browser’s cryptographic random source, without modulo bias. Nothing is sent anywhere: the password exists only in this tab until you copy it.

How long should a password be?

16 characters from all four character sets is about 104 bits, far beyond any offline guessing attack. Length adds more strength than symbols do.

What does the strength in bits mean?

How many guesses an attacker who knows exactly how the password was generated would need, as a power of two. It depends on the settings, not on the particular password, which is why it does not change when you press New.

Why is there no option to email it to me?

A password sent by email sits in plain text on at least two mail servers. Put it in a password manager instead.

What are look-alike characters?

Characters easily confused when read or typed: 0 and O, 1, l and I, the pipe and quotes. Skipping them makes a password easier to type by hand, at a small cost in strength.