Skip to developer tool
DEVELOPER TOOLKIT SECURITY & ENCODING

Password & Passphrase Generator

Generate passwords, random passphrases, PINs and developer tokens locally. Clear policies, verified output rules and deliberate copy/export—no account required.

Browser Web Crypto · No automatic secret history · Copy on demand

PIXELOKAY · LOCAL CREDENTIAL TOOLS

Password & Passphrase Studio

Generate only when you choose. Random values stay in this tab until cleared; the tool does not upload or save them.

Browser Web Crypto · No account

Generate settings

Ready for review

Allowed character types

Required groups are enforced using unbiased whole-candidate rejection sampling; highly restrictive rules can be rejected rather than weakened.

Policy preview

Settings validated before generating.

Reusable settings (no generated secrets)

Only settings are saved. Local browser storage may be unavailable or cleared by your browser.

Generated credentials

No credentials yet. Select your policy, then Generate.

0 results
Generate on demand

Results are masked by default. Reveal or copy an individual value only when needed.

Ready. No credentials generated.
Credential safety

Copying exposes a secret to the system clipboard. Plaintext downloads are unencrypted. Clearing this tab cannot erase screenshots, browser extensions, downloaded files or OS clipboard history. Use unique passwords, a trusted password manager and MFA/passkeys where available.

How to use Random Password Generator

  1. Select password, passphrase, PIN or token mode and choose 1–30 results.
  2. Review the policy; for passwords, customize character sets and exclusions. Required groups must remain feasible.
  3. Click Generate, copy an individual masked result, then clear the tab when done. Plaintext export requires confirmation.

When to use this tool

Generate a random password or a small batch of test credentials with explicit character rules. Store real credentials in a suitable password manager rather than leaving downloaded plaintext copies.

Randomness and character policies

Rejection sampling avoids modulo bias when selecting a character. The password sampler draws whole candidates uniformly, rejecting candidates that fail required groups without relaxing them. The search-space figure counts eligible strings; it is not an account security verdict. Custom symbols are NFC-normalized Unicode code points, excluding whitespace, control and combining characters.

Worked example

Length: 22; count: 1
Lowercase, uppercase and digits enabled
Exclude: 0O1lI
Each generated password contains 22 code points.

Check the allowed character policy before generating a batch

  1. For a nonproduction fixture exercise, choose a small batch and the required length. Enable the character groups the receiving system accepts rather than copying settings from another service.
  2. Set exclusions and custom symbols deliberately. Exclusions remove characters from enabled pools, and an emptied pool cannot contribute a required character.
  3. If Require each selected type is enabled, inspect which nonempty groups remain. The length must be sufficient to include them.
  4. Generate and review the output format before copying or downloading. Save test fixtures only when stable values are needed; keep real credentials out of shared example files.
  5. Clear the displayed output when finished, remembering that clipboard and downloaded copies are separate.

Authored policy-review workflow, no passwords supplied or generated in this pass. Search-space estimates are not service-security guarantees, and Unicode code-point length need not match every recipient's counting rules. Use UUID Generator for record identifiers, not as a substitute for a credential policy.

Limits and output checks

Generated credentials are masked on this page by default but remain accessible to page scripts/browser extensions while open. No generated value is stored by the tool. A character policy or an estimated bit count does not guarantee resistance to reuse, phishing or an insecure service.

Reference: Web Crypto random values.

Frequently asked questions

Does this use Math.random?

No. Character selection uses crypto.getRandomValues with rejection sampling.

Can I exclude characters?

Yes. Exclusions are removed from every enabled pool before generation. An exhausted required group causes an explicit error; the tool never silently drops it.

What does Clear output do?

It removes the displayed passwords and estimate. It cannot erase copies already saved, downloaded or placed on the system clipboard.

How is a required character group enforced?

The tool samples entire password candidates with the browser cryptographic random generator and discards candidates that do not satisfy enabled required groups. It does not secretly add fixed-position required characters. Extreme constraints may be rejected within a bounded attempt budget.

What is the passphrase dictionary?

A local 4,096-word English subset derived from the CMU Pronouncing Dictionary (CMUdict), with redistributable license text bundled in this tool. Words are sampled independently with replacement. This is not the official EFF Diceware list, and some words may be unfamiliar.

Are generated passwords saved with presets?

No. The saved policy and downloaded policy JSON contain only the options used for generation, never the generated values. The browser may clear saved policy settings, and in-page secrets are best-effort cleared when you choose Clear.

Can I export passwords to a plaintext file?

Yes, after explicit confirmation. The exported text is unencrypted and may be readable by other programs, backups or people with file access. A password manager is preferable for real account credentials.

Does the bit estimate mean the receiving account is secure?

No. The estimate describes the size of the generator's stated random candidate space. Account security also depends on unique credentials, login rate limits, service hashing, phishing resistance and multi-factor authentication.

A practical workflow

Set the character rules required by the destination service, generate an output and use the available copy or export controls.

Read the scope alongside the result

Outputs remain visible on the page and in any copied or downloaded destination. Clearing the display cannot erase those copies; estimates are not a security guarantee.

Related next steps

All developer tools · Privacy policy · Contact PixelOkay