Skip to content
ToutUtils

Generators

Random number generator

Draw one or more random numbers in a given range. Integer or decimal, with optional unique (without-replacement) draw.

Ad — top banner — tool-top
Ad — in-article — tool-inarticle

How to use this tool

Useful for sweepstakes, picking a winner, generating test data, simulating a die roll. Draws use the browser's cryptographic API: results are unpredictable even if the code is known.

Concrete examples

  • 1 to 100, 1 value → simple draw
  • 1 to 49, 6 unique → lottery numbers
  • 0 to 1, decimal → random probability
Ad — in-article 2 — tool-inarticle-2

Frequently asked questions

Are draws truly random?
As random as crypto.getRandomValues, a cryptographically secure source. More than enough for non-scientific use.
What does 'unique values' mean?
Drawing without replacement: no duplicates. Useful for lotteries.
Can I draw more unique values than the range allows?
No. In unique-integer mode, the tool shows an error. E.g. can't draw 10 unique ints between 1 and 5.

Related tools

Ad — bottom banner — tool-bottom