Skip to content
iyziTool

Random Number Generator

Pick one number or thousands from any range, with the option to exclude repeats and sort the result. Switch to dice or coin mode for a quick roll or flip. Every draw comes from your browser's cryptographic generator.

Result
Press Generate to draw your numbers.

About this tool

The numbers come from the Web Crypto API rather than Math.random, and the tool uses rejection sampling so that every value in the range is exactly as likely as any other. Draws are made on your device; nothing is sent to a server, so results cannot be logged or predicted from outside.

The no-repeats option turns the generator into a raffle or lottery picker: drawing 6 numbers from 1 to 49 mirrors a lottery ticket, and drawing all the numbers in a range produces a random shuffle. Dice mode supports the common polyhedral dice from D4 to D100 and shows the total.

Frequently asked questions

Is it truly random?
It is cryptographically random, which is the strongest randomness a browser can provide. The operating system seeds the generator from hardware noise; the output is unpredictable and unbiased.
Can I generate numbers without repeats?
Yes. Tick “No repeats”. The count must not exceed the number of values in the range.
Can I use it to pick a lottery ticket?
Yes. Set the range to your game, for example 1 to 49, the count to 6 and tick “No repeats”.
How many numbers can I generate at once?
Up to 10,000 in one draw. Larger ranges are fine; the limit applies only to the count.

Related tools