Password Generator
Generate strong random passwords with the browser's cryptographic random generator.
Random numbers are useful for giveaways, sampling, games and picking a restaurant when nobody can decide. This generator uses the browser's cryptographically secure random source rather than a predictable pattern.
Choose a minimum and maximum, decide how many numbers you need and whether duplicates are allowed. The result appears instantly.
Runs locally in your browser — nothing is uploaded.
They come from crypto.getRandomValues, a secure random source provided by the browser. They are suitable for games and draws, though not for cryptographic key generation.
You cannot draw more unique numbers than the range contains. Widen the range or allow duplicates.
The generator produces whole numbers. Use the percentage or unit tools for decimal calculations.
Uniformity is the hard part. A naive value % max is biased unless max divides the generator's range evenly, which is why cryptographic random APIs offer a dedicated range function. This tool uses the browser's crypto source when available.
Math.random is fine for a dice roll or a game, but not for tokens, passwords or anything an attacker can profit from predicting. Choose the source according to the threat, not the convenience.