MATH TOOLS
Random Number Generator
Generate random numbers within any range. Create single or multiple random integers or decimals with optional unique values and secure browser-based randomness.
Random number generator controls
Advanced Options
Random Number
Quick Random
Online Random Number Generator
This browser-based random number generator creates values inside a selected range. Choose integers or finite-precision decimals, generate one or many values, and optionally exclude or deduplicate results.
How to generate a random number
- Enter minimum and maximum values.
- Choose integer or decimal.
- Choose how many values to generate.
- Adjust optional settings.
- Click Generate.
How does the random number generator work?
WCODX uses the browser’s cryptographically secure random source through crypto.getRandomValues() where available. Integer values use rejection sampling so a range is not distorted by simple modulo bias. The tool does not use Math.random() for generation.
How to generate unique random numbers
Enable Unique numbers only to prevent duplicates. The requested quantity cannot exceed the available values after excluded numbers are removed, so impossible requests are reported before generation.
Random integers vs random decimals
Integers are whole values such as 1, 25 or -10. Decimal mode generates finite-precision values such as 1.25 or 98.73 using the selected number of decimal places.
Random number generator uses
Random values can help with testing, simulations, sample data, classroom activities, games, random selections and software development. This tool is not designed or presented as a gambling tool.
Random Number Generator FAQ
How do I generate a random number between two values?
Enter the minimum and maximum values, choose Integer or Decimal, then select Generate Random Number. Integer ranges include both endpoints.
Can I generate multiple random numbers?
Yes. Set How many numbers? from 1 to 10,000. Larger results are displayed in a compact scrollable list.
Can I generate unique random numbers?
Yes. Enable Unique numbers only. The tool checks that the requested quantity fits the available range before generating.
Can I exclude specific numbers?
Yes. Enter comma-separated values such as 4, 13, 25 in Advanced Options. Excluded values are removed before generation.
Can I generate decimal numbers?
Yes. Choose Decimal and select from 0 to 12 decimal places. Displayed values use the selected precision consistently.
Are the minimum and maximum values included?
Integer generation includes both minimum and maximum values. Decimal values are generated at the selected finite precision within the configured range.
Does WCODX use Math.random()?
No. The main generator uses the browser cryptographic random source through crypto.getRandomValues() and unbiased rejection sampling.
What does cryptographically secure random mean?
It means the browser supplies random bytes from a source intended for security-sensitive software. This tool does not claim that every use of generated values is secure.
Can I generate negative random numbers?
Yes. Minimum and maximum values may be negative, zero or positive, provided they are valid safe numeric values.
Can I roll a random dice?
Yes. Quick Random includes Coin Flip, D6, D10, D20 and D100 presets, all using the same secure browser random source.
Does WCODX store generated numbers?
No. Generation, copying and downloading happen locally in your browser. Results are not uploaded or stored by WCODX.
