Random Number Generator
CSPRNGGenerate random numbers in any range with decimals, unique values, sorting, and instant CSV export.
Results
No Numbers Generated
Set a range and click Generate Numbers
About Random Number Generator
Set a minimum and maximum value, choose how many numbers to generate, and pick a decimal precision from 0 to 6 places. Optional toggles let you require unique values (no repeats) or sort results in ascending order. Results update instantly with a summary showing sum, average, minimum, and maximum.
Common uses include picking lottery numbers, rolling dice, generating test data, sampling survey participants, and classroom probability experiments. Copy individual values, copy the whole batch, or export everything as a CSV file.
Every number comes from the browser's cryptographically secure random number generator with rejection sampling, so the output is unbiased and truly random. Everything runs locally - nothing is sent to a server or stored.
Features & Highlights
- Any integer or decimal range from -1,000,000,000 to 1,000,000,000
- Up to 500 numbers per batch with 0-6 decimal places
- Unique mode guarantees no repeated values
- Sort ascending option for ordered output
- Instant summary of sum, average, min, and max
- One-click copy per value, copy all, and CSV export