Skip to content

Random number generator

Generate unbiased random whole numbers in a range, with an option to avoid repeats and pick how many. Uses the Web Crypto generator.

AvailableIn your browserInput: Text

How to use: Random number generator

  1. Enter the minimum, maximum and how many numbers you want.
  2. Choose no repeats and, if you need decimals, turn off “Whole numbers only”.
  3. Press “Generate” and copy or download the numbers.

What it accepts and what you get

Input
Range, count (up to 1,000) and options.
Output
Random whole numbers or numbers with 1 to 6 decimals.
Where your data is processed
Your data is processed in your browser and is not sent to our servers.

Limitations and notes

  • It uses the browser's unbiased secure generator; every possible value is equally likely.
  • Fine for informal draws and tests, not a legally valid draw.

Frequently asked questions

How do I generate a random number between two values?

Enter the minimum and maximum, how many numbers you want (up to 1,000) and whether they should be whole or have decimals.

Can I use it for a draw?

For informal draws and tests yes: every possible value has the same probability. It is not a draw with legal validity.

When to use it

  • When you need to pick a random number for an informal draw or a test.
  • To generate a list of numbers without repeats.

Examples

Draw between 1 and 50
Set minimum 1, maximum 50, count 5 and tick “no repeats” to get five different numbers.
With decimals
Untick “whole numbers only” and choose how many decimals you want.

Common mistakes

  • Using it for a draw with legal validity: it suits informal draws and tests.
  • Asking for more non-repeating numbers than there are possible values in the range.