Calculate and review
Set the minimum and maximum bounds with the draw count and optional no-repeat rule to produce cryptographically secure integers or decimals, with a distribution view and recent-history log.
- Enter values
- Review result
- Copy output
Generate cryptographically secure random numbers using Web Crypto API with custom min/max ranges, count, and no-repeats option. Supports integer and decimal modes, formatted output, and history. Essential for lottery picks, game dice, sampling, lottery, and decision-making.
Generators
Random Number Generator
Set the range and count, then generate random numbers.
Generate cryptographically secure random numbers using Web Crypto API with custom min/max ranges, count, and no-repeats option. Supports integer and decimal modes, formatted output, and history. Essential for lottery picks, game dice, sampling, lottery, and decision-making.
Reviewed: 2026-09-18
Follow this step-by-step guide to use Random Number Generator effectively.
Step 1
Input the required values into the provided fields.
Step 2
Choose any available options or modes to customize the calculation.
Step 3
Press the Calculate button to process your input.
Step 4
Examine the calculated result displayed in the output panel.
Step 5
Use the copy button to save the result to your clipboard.
Consequence: Random number generators may show apparent clustering in small sample sizes.
Fix: Generate many numbers to see the true distribution. Short sequences naturally appear non-random.
Consequence: Browser Math.random() is not cryptographically secure and should not be used for keys or tokens.
Fix: Use the Web Crypto API's getRandomValues() for security-sensitive applications.
Consequence: Random generation can produce the same number twice, especially in small ranges.
Fix: Use the no-repeat option if available, or generate more numbers than needed and deduplicate.
Consequence: Random generators may show apparent clustering in short sequences.
Fix: Generate many numbers to see the true distribution. Short sequences are not statistically representative.
Set the minimum and maximum bounds with the draw count and optional no-repeat rule to produce cryptographically secure integers or decimals, with a distribution view and recent-history log.
This example demonstrates Random Number Generator processing.
Set your minimum and maximum values, choose how many numbers to generate, and click Generate. The tool uses cryptographically secure randomness.
When enabled, each generated number is unique within the batch. No number will appear twice in the same generation.
Yes. The tool uses crypto.getRandomValues() for cryptographic security, falling back to Math.random() only when unavailable.
Yes. Switch to decimal mode to generate random numbers with custom decimal places within your range.
No. All generation happens locally in your browser. No data is transmitted or stored.
The tool uses the browser Math.random() which is suitable for general purposes.
Yes, enable the no-repeat option to ensure all generated numbers are unique.
You can generate up to 1000 numbers at once.
Random Number Generator processes all input and output locally in your browser. No data is uploaded, stored, or transmitted.