Random Number Generator

Pick random numbers in any range.

  • Dans votre navigateur
  • Gratuit
  • Sans inscription

Cet outil n'est pas encore traduit en français : il reste en anglais pour le moment.

Press Generate, or the space bar

Drawn in your browser by its secure random generator, the one used for encryption: every number has exactly the same chance. Nothing is sent or saved.

Options

Off: every draw starts again with all the numbers.

Vous aimerez aussi

Voir tous les outils

Pick a random number, fairly

Choose a minimum and a maximum, press Generate, and get a number shown big enough to read across a room. Need more than one? Ask for up to 1,000 numbers, with or without repeats, sorted or in the order they came out, whole or with decimals. One click draws the usual ones: a number from 1 to 10 or 1 to 100, a dice roll, or 6 lottery numbers out of 49. Each draw tells you its odds, adds up dice, and stays in a short history you can copy from.

How to generate random numbers

  1. Type the minimum and the maximum (both can come out), and how many numbers you want.
  2. Choose whether numbers can repeat, the order and the decimals, or click a quick pick.
  3. Press Generate (or the space bar) and copy the result, as a list or a column for a spreadsheet.

What to use it for

  • Raffles and giveaways: number the tickets or the comments, draw one winner or several without repeats.
  • Games: roll dice (set How many to 2 and turn repeats on for two dice, with their total), pick who starts, play "guess the number".
  • Lottery numbers: a quick pick of 6 of 49, or any other game by setting the range and the count.
  • Classrooms: call on a student by number, make random math exercises, split a class into groups.
  • Work and research: pick a random sample of rows, an order of tests, or test data with decimals.

Why this draw is fair

Many generators use Math.random and a remainder, which gives some numbers a slightly higher chance and can be predicted. Here each number comes from your browser's cryptographic generator, values that would break the balance are drawn again, and draws without repeats work like taking balls out of a drum one by one. The odds shown under the result are those of a perfectly fair draw. To pick a name or a word rather than a number, use Spin the wheel with your list.

Frequently asked questions

Is this random number generator really random?

The numbers come from your browser's cryptographic random generator (crypto.getRandomValues), the same one used for encryption, not from the predictable Math.random. The draw also avoids the classic modulo bias: values that would favor the first numbers of the range are thrown away and drawn again, so every number has exactly the same chance. Nothing is drawn on a server and nothing can be set in advance.

How do I pick several numbers without repeats?

Type how many numbers you want in "How many" and turn on "No repeats in one draw": each number appears at most once in that draw, like the balls of a lottery. To never get a number again over several draws (a raffle, a bingo, the order of a class), turn on "Take out the numbers drawn": like a hat, each number comes out once, the tool shows how many are left, and Start again puts them all back.

Can it draw lottery numbers?

Yes: "Lottery (6 of 49)" draws 6 different numbers from 1 to 49, sorted, in one click. For another game, set the range and the count (5 of 50, 5 of 69...) and draw the bonus number separately with its own range. Every combination has the same chance, which for 6 of 49 is 1 in 13,983,816. No generator can predict or improve lottery odds.

Can I get decimal numbers or negative numbers?

Both. Type a negative minimum like -50, and choose up to 6 decimal places under Numbers (0.1 to 0.000001). Decimals are drawn on an exact grid, so 2 decimal places between 0 and 1 gives one of the 101 values 0.00, 0.01... 1.00 with the same chance, and the result is never shown as 0.30000000000000004.

Are the minimum and the maximum included?

Yes, both ends can come out: from 1 to 6 gives 1, 2, 3, 4, 5 or 6. If you type the minimum above the maximum, the tool simply draws between the two. Numbers up to one quadrillion (10^15) work, and up to 1,000 numbers per draw.

Is the draw kept or shared?

The last 20 draws stay under the tool while the page is open, so you can check or copy an earlier one, and they disappear when you close it. The page address keeps the settings (range, how many, options) so you can bookmark or share your setup, never the numbers drawn.

Related tools