Skip to content
Util.Ninja

Random Number Generator

Generate one or many random numbers in any range. Set a minimum and a maximum, choose how many numbers you want, and decide if they must be unique. Uses your browser’s secure random generator.

How to use

  1. Enter the smallest and the largest number you accept.
  2. Choose how many numbers you need, up to 1,000.
  3. Tick No repeats for a lottery-style draw, or Decimals for numbers like 4.27.
  4. Press Generate and copy the numbers.

How the numbers are chosen

The generator uses the Web Crypto API (crypto.getRandomValues), which is designed for unpredictable results, and removes modulo bias so each whole number in the range is equally likely. Both the minimum and maximum are included.

Ideas

Draw a raffle number, pick a lottery set (turn on No repeats), choose a random page or seed, or settle a decision. For physical-style games try the dice roller, and for passwords use the password generator.

Frequently asked questions

Is the minimum and maximum included?

Yes. Both ends of the range can be picked.

How do I get numbers without repeats?

Tick "No repeats". The count cannot be larger than the number of values in the range.

Is this truly random?

It uses your browser’s cryptographic random generator, which is suitable for draws and games. For legal lotteries follow the official rules.

Can I generate decimals?

Yes. Tick "Decimals (2 places)".

More free tools

Dice rollerRoll d6, d20 and moreRandom name pickerSpin the wheel to pick a winnerPassword generatorStrong passwords & passphrasesCase converterUPPER, lower, Title, camelCaseRemove duplicate linesDedupe and sort any listQR code generatorLinks, Wi-Fi, contacts, PNG & SVGWord & character counterWords, characters, reading timeImage compressor & resizerShrink and resize JPG, PNG, WebPJSON formatter & validatorBeautify, validate, tree view