Password Generator
Generate strong random passwords with your own length and character rules.
Generate random numbers in any range, with or without repeats.
Random Number Generator produces whole numbers between a minimum and a maximum you set. Generate one for a quick decision, or a batch for a draw, a sample or a set of test values.
The unique option guarantees that no number repeats within a batch, which is what you need for a raffle, a lottery line or picking winners from a numbered list. Without it, each number is drawn independently and repeats are possible, which is the right behaviour for simulating dice rolls or coin flips where every throw is a fresh event.
Randomness comes from your browser's cryptographic random number generator with rejection sampling, so every value in the range is equally likely. That sounds like a technicality, but the usual shortcut of taking a remainder makes the lowest numbers in a range slightly more likely than the highest, which matters for a draw that has to be fair.
The random number generator is used by writers, developers, students, marketers and anyone else who needs the job done once without installing software. Common cases include:
It uses the browser's cryptographic random number generator, the same source used for security work, rather than the ordinary random function. Values are drawn with rejection sampling so no part of the range is favoured.
Taking a random number and using the remainder after division is the common shortcut, and it makes the lowest values in a range slightly more likely than the highest. Over a large draw that is a real unfairness, which is why this tool rejects and redraws instead.
Yes, both. A range of 1 to 6 can produce 1 and can produce 6, which is what people expect from a die.
Because there are only ten possible values. When a unique batch asks for more numbers than the range contains, the tool says so rather than looping forever.
It produces fair, unbiased results. Whether it satisfies the rules of a formal or regulated draw is a separate question, and those usually require a documented and auditable process.
No. They are generated in your browser, shown once, and gone when you close the tab or press Generate again.
If the random number generator is not quite what you need, these other free tools solve closely related problems.
Generate strong random passwords with your own length and character rules.
Generate cryptographically random UUIDs in bulk, with format options.
Paste any list of numbers and get the full set of summary statistics.
Convert a number between binary, octal, decimal, hex and custom bases.
Order any list A-Z, Z-A, by number, by line length, or simply reverse it.