Random picker

Random Number Generator

Generate one or many random numbers in any range. Avoid repeats, add decimals, sort the results and copy them in one click.

Quick presets

Press Generate to get your random numbers.

What is a random number generator?

A random number generator (RNG) produces numbers that cannot be predicted, where every number in the chosen range has the same chance of being picked. People use them to make fair choices, run raffles and draws, pick lottery-style numbers, assign turns, sample data, set up games and settle disputes.

BoreBreak's Random Number Generator lets you choose the minimum and maximum, how many numbers you want, whether numbers may repeat, how many decimal places to use, and whether to sort the results. It uses your browser's cryptographically secure random source, which is much less predictable than the basic generators built into many programming languages.

How to use the generator

  1. 1Enter the minimum and maximum. Both numbers are included in the range, so 1 to 10 can return 1 or 10.
  2. 2Choose how many numbers you want, from 1 to 1,000.
  3. 3Set the decimal places. Leave it at 0 for whole numbers, or use 1 to 6 for decimals.
  4. 4Tick 'No repeats' if each number may appear only once, for example for a raffle or lottery. Tick 'Sort' to order the results.
  5. 5Press Generate. Use Copy to paste the result somewhere else, or tap a preset for common ranges.

How it works: fair and unbiased

Each number is drawn using the Web Crypto API (crypto.getRandomValues). A common mistake in simple generators is 'modulo bias', where some numbers are slightly more likely than others. This tool avoids it by rejecting values that would make the distribution uneven, so every number in your range is equally likely.

For unique draws the tool shuffles the full set of possible numbers with an unbiased Fisher-Yates shuffle, or tracks picked values when the range is very large, so a number can never appear twice.

Random number generator compared with other random tools

ToolBest forOutput
Random Number GeneratorNumbers in any range, many at once, no repeatsA list of numbers
Dice RollerTabletop and board games with dice notationDice faces and a total
Coin FlipperTwo-way decisionsOne of two sides
Random Spin WheelChoosing between named optionsOne name or option
Random Group MakerSplitting people into teamsGroups of names

Common uses

Raffles and giveaways

Number the entries and draw unique winners with 'No repeats' switched on.

Lottery-style picks

Use the 6 of 49 preset, or set your own range and quantity.

Games and classroom activities

Pick turn order, random questions or student numbers fairly.

Testing and sampling

Generate sample data or choose random rows to check.

Settling a choice

Assign each option a number and let chance decide.

Random decimals

Create values between 0 and 1 or any range for simulations.

What to know before using it

  • Both the minimum and the maximum are included in the range.
  • With 'No repeats' on, you cannot request more numbers than exist in the range. The tool tells you if you try.
  • Random does not mean evenly spread. Small samples often show streaks and repeats, which is normal.
  • Past results never influence the next draw. A number is never 'due'.
  • This tool is for fair choices and entertainment. It is not an official lottery or gambling service, and generated numbers do not improve any real-world odds.
  • Results are not stored on a server. Your settings are saved only in your browser.

Common problems and fixes

'Minimum cannot be larger than maximum'

Swap the two values so the smaller number is in the Minimum box.

Not enough unique numbers

Widen the range, ask for fewer numbers, or switch off 'No repeats'.

I only get whole numbers

Increase the decimal places setting above 0.

The range is too large

Reduce the range or the decimal places. Very large ranges with many decimals exceed what can be drawn safely.

Frequently Asked Questions

Is this random number generator truly random?

It uses your browser's cryptographically secure random generator, which is designed to be unpredictable and is far stronger than the basic Math.random function.

Can I generate numbers without repeats?

Yes. Tick 'No repeats' and every number in the result will be unique.

How many numbers can I generate at once?

Up to 1,000 numbers per click.

Are the minimum and maximum included?

Yes. Both ends of the range can be picked.

Can it generate decimals?

Yes. Set decimal places between 1 and 6.

Can I use it for a raffle or giveaway?

Yes, assign each entrant a number and draw unique winners. Make sure you follow your local rules for raffles and prize draws.

Will it help me win the lottery?

No. Every combination is equally likely, so no generator can improve your odds. It is just a convenient way to pick numbers.

Are my numbers saved?

Results are not uploaded. Your settings are kept in your browser only.