Random number generator

Set a minimum and maximum, choose how many numbers, and press Generate. Tick “No repeats” for unique numbers.

Common ranges

How the randomness works

Every result comes from your browser’s cryptographic random number generator (crypto.getRandomValues), the same source used for encryption keys. To turn random bits into a number in a range without bias, values that would make some outcomes slightly more likely are thrown away and redrawn (rejection sampling). Nothing is sent to a server.

With or without repeats

Without “No repeats”, each number is drawn independently, so duplicates can appear — in 10 draws from 1–100 the chance of at least one repeat is about 37%. With it ticked, the tool shuffles the range and takes the first numbers, like drawing balls from a bag.

Frequently asked questions

Can I generate negative numbers?
Yes. Set a negative minimum, e.g. −50 to 50.
What is the largest range?
Any integers up to about ±9 quadrillion (2^53) work without bias.