Random Number Generator
Local — Runs in your browser; files and input stay on this deviceFree — Free to useGenerate cryptographically secure random numbers in any range. Draw one or many, with optional no-repeats — all in your browser.
Results
Input
Results
Results
Runs in your browser; files and input stay on this device
About random numbers
This generator uses the Web Crypto API (crypto.getRandomValues) rather than Math.random, giving you cryptographically strong, unbiased random integers suitable for draws, giveaways, sampling, and testing. Pick any minimum and maximum, generate a single number or a whole batch, and enable the no-repeats option for lotteries or unique picks. All randomness is produced locally on your device.
How to use Random Number Generator
- 1Enter the inclusive minimum and maximum integers.
- 2Choose how many values to generate, up to 1,000, and enable unique results if needed.
- 3Generate the values and copy the resulting list.
Frequently asked questions
- Are the minimum and maximum included?
- Yes. A range of 1 to 6 can return any integer from 1 through 6.
- What happens if the minimum is greater than the maximum?
- The tool normalizes the two values and treats the smaller one as the lower bound.
- Why can unique generation fail?
- You cannot request more unique integers than the inclusive range contains. For example, 1 through 10 contains only 10 unique results.
- What randomness source is used?
- The generator uses Web Crypto rather than Math.random and avoids modulo bias when mapping random values into the requested range.