b4rn1 · devtoolsdeveloper
Bin DV-05·Developer

Password generator

Generate strong passwords with the browser's cryptographic random source. Choose length, symbols and ambiguity rules.

BinDV-05
DepartmentDeveloper
Free runsUnlimited
Runs onYour device
Loading the tool…

The code for this tool is fetched only when you open it.

What password generator does

Password generator builds random passwords and passphrases from the browser's cryptographic source, with a live entropy figure so the strength claim is measured rather than asserted.

How it works

crypto.getRandomValues fills a buffer that is mapped onto the chosen character pool or word list. Entropy is length times log2 of the pool size, reported in bits.

Runs on your device

This is a local operation in the literal sense. The bytes are read from disk by the page, processed on the CPU it is running on, and written back out through a download — the network is never involved in the file itself.

Formats and limits

LimitsUnlimited. Length, character classes and exclusions are adjustable; anything generated is never stored, logged or transmitted.
PriceFree, unlimited, no account

Worth knowing

  • Entropy is the honest measure: a 16-character password from a 72-character pool is about 98 bits, while a four-word passphrase from a 7,776-word list is about 51 bits and far easier to remember.
  • Excluding look-alike characters drops the pool and therefore the entropy — the figure updates so the trade-off is visible.

Questions about password generator

How many bits is strong enough?

Around 75 bits resists offline attack against a fast hash; 100 bits or more is comfortable for anything long-lived. Below 55 bits is weak against a determined attacker with hardware.

Is a passphrase better than a random string?

For anything you have to type from memory, yes — four to six random words give good entropy and are far easier to recall than 12 random characters. For stored credentials, a generated random password is stronger per character.

Is this actually random?

It uses crypto.getRandomValues, the same cryptographically secure generator the browser uses for keys. Math.random, which many generators use, is not suitable for passwords.

How long should a password be?

Sixteen characters with mixed sets is a good default; twenty-four if you will not type it by hand.

Does my file leave my device?

No. There is no upload step and no server-side copy: the browser decodes and re-encodes the file in this tab, and the network carries nothing about it.

Will it run on a plane?

Once the page has loaded, yes — the processing code runs locally and no further request is needed. The first load has to come from the network like any page.

Is it free, and do I need an account?

Free with no account and no daily limit — counting and calculating are not metered, because they cost nothing to run.

Password generator — strong random passwords, offline · b4rn1