Random Number Generator

Random number generator

Generate random numbers your way — by range or by digit count, with decimals, in bulk, and optionally with no duplicates.

▌ Result

Two ways to generate

Choose By range to get numbers between a minimum and maximum — perfect for raffles, sampling, picking a winner, or simulating a roll — or By digits to get numbers with an exact length, handy for codes, PINs and test IDs. Set how many you need and how many decimal places to include, from whole integers to precise fractions.

The numbers use your browser's secure random generator, which gives every value in your range an equal chance — important when fairness matters, like choosing a giveaway winner or drawing a sample. Everything runs locally, so nothing about your draw is sent anywhere.

When you'd reach for it

A quick random number settles more than games: pick a raffle entry by row number, choose a random record to spot-check, assign people to groups, generate placeholder IDs for testing, or just break a tie. Having control over the exact range and count makes it more flexible than rolling dice when you need a specific span. For dice notation specifically, the dice roller is purpose-built, and for random people the name generator fills out test data.

FAQ

Can I generate numbers with decimals?
Yes — set the 'Decimals' field to the number of decimal places you want, and each number is generated with that precision.
How do I get numbers with a specific number of digits?
Switch Mode to 'By digits' and set the digit count — for example, 6 digits gives numbers from 100000 to 999999.
Are the numbers truly random?
They use crypto.getRandomValues, the browser's cryptographically secure generator — far stronger than ordinary pseudo-random functions.

Related tools