Password Generator

Generate browser-local passwords using cryptographic randomness, configurable length and character sets, with masked output and copy controls.

Loading the interface. JavaScript is required; controls stay disabled until ready.

Read-only

Generate a password above, then copy it when you are ready.

Uses secure browser randomness. Selected groups define the allowed characters; every group may not appear in each password. Clipboard history may retain copied passwords.

How to use

Choose length and at least one character set. Generate or regenerate; reveal only if needed. Copy deliberately or reset; clipboard history may retain copied values.

Examples & use cases

Generate a 20-character password using a selected alphabet for a service that permits those characters.

About this tool

Length 12–128, default 20. Uppercase, lowercase, digits and symbols form an allowed alphabet; optional exclusion removes I, l, 1, O, 0 and o. Secure random bytes use rejection sampling before alphabet mapping to avoid modulo bias. Selected categories are permitted, not guaranteed in each sample. No strength score, logging, storage or transmission by the tool.

Questions & answers

Does the tool store generated passwords?

No. Generated values stay in the current browser interface and are cleared on reset or navigation. Copying intentionally puts a value in the operating-system clipboard, which may retain history. Browser extensions and password managers operate independently.

Choose the alphabet and length

A generated password should meet the destination rules without relying on a predictable pattern. This tool draws from your selected alphabet with cryptographic browser randomness. It does not send passwords to a strength-checking service or keep a password vault.

A practical example

Select the character categories permitted by your service and choose a length from 12 to 128. The default is 20. Selected categories are allowed, not guaranteed in every generated sample; check the output if a site insists on at least one character from every category. Excluding ambiguous characters changes the alphabet used.

Why the random-selection method matters

Random bytes are mapped through rejection sampling to avoid modulo bias. That keeps the mapping from favoring some allowed characters merely because a byte range does not divide evenly by the alphabet size. It is a generation method, not a numerical guarantee of account safety or a displayed strength certification.

Handle the result deliberately

Generate a new password for each account rather than reusing a sample across services. Masking protects the on-screen display but not an exposed clipboard or an already compromised device. The tool itself does not save or transmit the generated value; copy it into a trusted password-management workflow before leaving if you need to retain it.

Worked example: choosing a length

A 16-character password using upper and lower case letters, digits and symbols draws from about 94 possible characters, which gives roughly 105 bits of entropy. Even at a trillion guesses per second, trying every combination would take far longer than the age of the universe. A 10-character password from the same set has about 66 bits and is much weaker. Generate one unique password per account and save it straight into your password manager.

More questions about the Password Generator

How long should a password be in 2026?

NIST guidance in the US and the UK National Cyber Security Centre both favour length over complexity. Aim for at least 15 characters for important accounts, or a passphrase of four or more random words. Length does more for security than swapping letters for symbols, and a password manager removes the need to remember it.

Is it safe to use an online password generator?

It is safe when the password is created on your own device and never sent anywhere. This generator uses your browser's cryptographic random number generator and does not upload or store results. Close the tab after saving the password, and avoid generating passwords on shared or public computers.

Should I change my passwords regularly?

Current advice from NIST and the NCSC is no, unless there is a sign the password has been exposed, such as a data breach notice. Forced regular changes tend to produce weaker, predictable passwords. Use a unique password for every site, enable two-factor authentication and change a password straight away if a service reports a breach.

Choose your next task

  • UUID generator: Create identifiers without treating them as account passwords.
  • Character counter: Check a length requirement separately when handling a non-sensitive example.