Random Number Generator

Generate random integers between any min and max, with optional unique values — free and 100% in your browser, nothing uploaded.

🔒 Numbers are generated in your browser — nothing is uploaded.

Generate random numbers in your browser

Set a minimum, a maximum and how many numbers you want, then press Generate. Turn on Unique values to draw numbers without repeats — perfect for raffles, sampling or picking lottery-style numbers. The range is inclusive of both ends, and reversed bounds are handled automatically. Everything runs locally, so it works offline and nothing you generate ever leaves your device.

How the randomness works

The generator draws from your browser's cryptographically secure crypto.getRandomValues and uses rejection sampling so every number in the range is equally likely — there is no modulo bias toward smaller values. When you ask for more unique numbers than the range can hold, the count is clamped to the number of distinct values available.

Frequently asked questions

Is anything I generate uploaded to a server?

No. The numbers are created entirely in your browser using its built-in random source. Nothing is sent anywhere, so it works offline and stays private.

What does the 'unique values' option do?

It guarantees no repeats in the result. If you request more unique numbers than the range can supply, the count is automatically reduced to the number of distinct values in that range.

Are the minimum and maximum included in the results?

Yes. The range is inclusive, so both the minimum and the maximum can appear. If you enter the bounds in the wrong order, they are swapped for you.