Skip to content
PrivBay

Random password generator for strong local passwords

Generate a password with your browser’s cryptographic random source. Choose its length and character types.

20

Each selected type appears at least once. Passwords are never stored.

Created on this device and not saved.

Generated password

—

How to generate a password

  1. Set a length from 4 to 128 characters.
  2. Select uppercase, lowercase, digits or symbols. Choose at least one type.
  3. Optionally exclude similar characters, then select Generate password.
  4. Copy the result to your password manager. Generate a separate password for each account.

Generate a separate password for each account

Longer randomly generated passwords provide more possible combinations. The default length is 20 characters, with uppercase and lowercase letters, digits and symbols selected. The tool does not label a password as unbreakable or estimate a cracking time.

There is no password history or local storage, and passwords are never sent over the network. Store the result in a password manager before closing this page, and avoid sharing screenshots containing the result.

Good password habits

Use a different secure password for every account. If one service is breached, the others stay safe. Random passwords are hard to remember, so store them in a password manager rather than a note or a screenshot.

Some sites restrict which symbols you can use. If a password is rejected, turn off Symbols or generate another one. Turn on Exclude similar characters when you may have to read or type a password by hand, since characters like I, l and 1 are easy to confuse. Need random values for something else? Use the random number generator. To check the address of your connection, see my IP address.

For record identifiers and test fixtures, use the UUID generator to generate a batch in a format your application accepts.

For a checksum from a text string or file, use the hash generator.

Frequently asked questions

Are passwords saved or uploaded?

No. Generated passwords stay in page memory. Copying sends the password to your device clipboard, which may be accessible to other apps or clipboard-sync services.

Does each character type appear?

Yes. Every selected type appears at least once. Whole candidates are resampled until they satisfy this rule, keeping valid candidates equally likely.

What does exclude similar characters remove?

It removes uppercase I and O, lowercase l, and digits 1 and 0. Website password rules vary, so select character types that the destination accepts.

How long should a password be?

Longer random passwords have many more possible combinations. The default here is 20 characters. If a site has a shorter limit, use as many characters as it allows.

Is it safe to generate a password in a browser?

This tool uses your browser’s cryptographic random source and never sends the password anywhere. You should still use it on a device you trust and move the password straight into a password manager.

Last updated November 11, 2026