Skip to content
PratronHome

Random Number Generator

Generate truly unpredictable random numbers in any range using your browser's cryptographically secure randomness source. Draw a single number or many at once, require all values to be unique (like lottery draws), and sort the results. Handy for raffles, games, sampling, and decision-making.

Generators

Private by default

This tool runs entirely in your browser. Your data is never uploaded to a server.

How to use

4 clear steps.

  1. Set the minimum and maximum of the range (inclusive).

  2. Choose how many numbers to generate.

  3. Enable "unique" to prevent repeats (e.g. lottery draws).

  4. Click Generate and copy the results.

Good to know

Frequently asked questions

Are these numbers truly random?
They come from crypto.getRandomValues, a cryptographically secure generator seeded by your operating system's entropy. Unlike Math.random(), its output is unpredictable — suitable even for security contexts.
Can I use this for a raffle or giveaway?
Yes — set the range to your number of entries, enable unique draws, and generate as many winners as you need. Each outcome is uniformly distributed and independent.