Random Number Generator
Unbiased random integers and decimals in any range.
Set a range and hit Generate — every draw is cryptographically unbiased.
About the Random Number Generator
Most quick “random number” snippets on the web use Math.random() and a modulo — a combination that is both predictable and biased toward certain values. This tool draws from your browser’s cryptographic RNG and uses rejection sampling, so every integer in your range has exactly the same probability. That matters for raffles, simulations, sampling and games where fairness is the point.
Set any minimum and maximum — negative numbers and huge spans work too — and switch between integers and decimals with up to 10 decimal places of precision.
How to use it
- 1Enter the minimum and maximum of your range.
- 2Choose Integer or Decimal (and the number of decimal places).
- 3Click Generate for an unbiased result, then Copy it.
Frequently asked questions
Related tools
Password GeneratorStrong, unique passwords with a live strength meter.UUID GeneratorCryptographically random v4 UUIDs, one at a time or in bulk.Random Letter GeneratorDraw a random letter A–Z, uppercase or lowercase.Random Date GeneratorPick a random date between any two calendar dates.Random Choice GeneratorPaste your options and let chance decide — fairly.Lorem Ipsum GeneratorClassic placeholder text by the word, sentence or paragraph.