Random Number Generator - Create Integers and Decimals
Generate up to 100,000 random integers or decimals at once in a custom range with 50 decimal places.
🔒 Data Safety: We process everything securely and never store or share it.
How to Use
- Set your minimum bound, maximum bound, and target quantity (1 to 100,000) in the boxes above.
- Select Integer or Decimal mode, and set 1 to 50 decimal places for fractional numbers.
- Choose your unique filtering, sort order, and output separator preferences from the options below.
- Press "Generate" to draw a fresh number batch, then copy or download the list below.
Options Explained
- Integer / Decimal: Switch between whole integers and decimal numbers within your specified minimum and maximum bounds.
- Decimal Places (1 - 50): Set the exact number of digits after the decimal point in Decimal mode.
- No Duplicates (Unique): Ensure every generated number in your batch appears only once without any repeated values.
- Sort: Keep the original random order, or sort numbers in ascending or descending numerical order.
- Separator: Join generated numbers using a new line, comma, space, semicolon, or pipe delimiter.
Key Features
- Generate up to 100,000 random integers or decimals at once across positive and negative bounds up to ±9,000,000,000,000,000.
- Support exact 1 to 50 decimal places using fixed-point math without floating-point rounding errors.
- Produce non-repeating number lists with No Duplicates (Unique) mode for raffles, lotteries, and random sampling.
- Sort generated numbers in ascending or descending numerical order, or preserve the original random sequence.
- Join generated numbers with newline, comma, space, semicolon, or pipe delimiters for spreadsheets and code arrays.
- Sample every number through Web Crypto CSPRNG (crypto.getRandomValues) locally with zero server data storage.
About This Online Random Number Generator
This random number generator creates up to 100,000 cryptographically random integers or decimals at once within custom bounds. It combines Web Crypto CSPRNG sampling and 50-decimal fixed-point math with unique, sorting, and delimiter controls.
Developed and maintained by the PU Tools team, this tool gives you fast, accurate, safe, and easy results in just a few clicks.
Common Use Cases
- Raffles, Lotteries, and Giveaways: Pick non-repeating winning ticket numbers or participant IDs within your exact event range.
- Statistical Sampling and Simulations: Generate up to 100,000 unbiased numbers at once for Monte Carlo models, classroom exercises, and surveys.
- QA and High-Precision Testing: Generate negative values and 18-to-50 decimal test numbers for financial, scientific, and database validation.
Example Input and Output
Example Input
Min: 1 Max: 100 Quantity: 5
Options used: Integer / Decimal: Integer | Decimal Places (1 - 50): OFF | No Duplicates (Unique): OFF | Sort: None (Random Order) | Separator: New Line
Example Output
9 26 66 90 72
The generator draws five cryptographically random integers between 1 and 100 and lists them on new lines.
Frequently Asked Questions
How many random numbers can I generate in a single batch?
You can generate from 1 up to 100,000 random integers or decimals in a single batch. If you need more than 100,000 values, run multiple batches and combine the generated results.
How does the generator handle up to 50 decimal places accurately?
In Decimal mode, you can set between 1 and 50 digits after the decimal point. The engine uses fixed-point math instead of standard floating-point numbers to prevent decimal rounding errors.
Can I use negative numbers or very large custom ranges?
Yes, both Min and Max inputs accept negative, zero, and positive numbers up to ±9,000,000,000,000,000. Just make sure your Max value is strictly greater than your Min value before generating.
How does the No Duplicates (Unique) option prevent repeated numbers?
Enabling No Duplicates guarantees that every number in your generated output appears only once. If your requested quantity exceeds the total possible values in that range, the tool alerts you.
How do the Sort and Separator options format generated numbers?
Sort arranges your batch in ascending, descending, or original random order, while Separator sets the output delimiter. Choose your preferred sorting rule and delimiter before clicking Generate to format your number list.
How are the random numbers generated in my web browser?
The generator sources cryptographic entropy via Web Crypto CSPRNG (crypto.getRandomValues) instead of Math.random(). It applies rejection sampling across your range so every possible value has an equal probability.
Does any server record my range bounds or generated numbers?
No, all number generation, sorting, and formatting happen locally inside your web browser memory. Your input settings and generated number lists never leave your device or get saved anywhere.