Random Number Generator

Set a minimum and a maximum, then pick one random number, or up to 1,000 at once. The draw uses your browser's cryptographic generator, so no number is ever favored.

  • 1 to 1,000 numbers
  • No-repeat option
  • Fair draw
  • Free

Choose a range, then press “Pick” (or the Space bar).

Fair draw using your browser's cryptographic random generator: every number has exactly the same chance of coming up.

100% private — Everything is processed directly in your browser: your files, voice, and image are never sent to Chatzam's servers.

How to pick a random number?

  1. Set the range

    Enter the minimum and the maximum, negative numbers included, or pick a shortcut: 1–6, 1–10, 1–100 or the 1–49 lottery.

  2. Adjust the draw

    Say how many numbers to pick (1 to 1,000), check “No repeats” so none comes up twice and, if you like, sort them in ascending order.

  3. Draw and copy

    The result shows up big, with a short animation. Copy it in one click and find your previous draws in the history.

A simple, impartial random draw

Cryptographic randomness

Numbers come from crypto.getRandomValues, the browser's secure generator, with a method that removes any bias.

Many numbers at once

Up to 1,000 numbers per draw, with or without repeats, sorted in ascending order if you want.

Ready-made shortcuts

One click to pick between 1 and 6 like a die, between 1 and 10, between 1 and 100, or 6 lottery numbers from 1 to 49.

History and copy

Every draw is kept in the page history, and the result copies in one click so you can share it.

A truly fair random number generator

Many online generators rely on Math.random, which is fast but not designed for security, and squeeze the result into the range with a simple modulo. That shortcut creates a slight bias: some numbers come up a little more often than others. Our tool uses crypto.getRandomValues, the cryptographic generator built into your browser, and throws away any value that would cause that bias before drawing a new one. The result: between 1 and 100, every number has exactly a 1 in 100 chance of coming up, on every draw. Everything runs on your device, nothing is sent to a server, and nobody can influence or predict the outcome. That's what you need for a draw everyone can trust.

With or without repeats: what's the difference?

Without the “No repeats” option, each number is drawn independently of the others, like rolling a die several times: the same number can come up twice or more. That's the right setting to simulate dice rolls or generate test data. With the option checked, a number that has already come up can't come back, like balls that aren't put back in the drum: that's what you need to pick several winners, assign a running order or fill in a lottery ticket. Keep in mind that you then can't draw more numbers than the range contains: between 1 and 49, 49 numbers at most, since the range includes both the minimum and the maximum.

Ideas: giveaways, games and the classroom

For a social media giveaway, number the entrants in the order of their comments, then pick a number between 1 and the number of entrants: you have your winner, and a screenshot of the result serves as proof. In the classroom, pick a student number to call on someone at random, or a full running order with no repeats and sorting turned off. For games, the 1–6 shortcut replaces a die, and the lottery shortcut picks 6 numbers from 1 to 49; check “No repeats” so each number comes up only once, as on a real ticket. If you'd rather draw names than numbers, use our “Random Picker” or “Spin the Wheel”.

Frequently Asked Questions

How do I pick a random number between 1 and 100?

Click the 1–100 shortcut, or enter 1 as the minimum and 100 as the maximum, then draw. Every number from 1 to 100 has the same chance of coming up.

Is this random number generator really random?

It uses crypto.getRandomValues, the browser's cryptographic generator, which is designed to be unpredictable, with a method that removes modulo bias. No number is favored and the result can't be predicted.

How do I pick several different numbers?

Enter how many numbers you want (up to 1,000) and check “No repeats”: each number can then come up only once. The count can't exceed the size of the range.

Can I pick negative numbers?

Yes, the minimum and maximum accept negative integers. For example, from −10 to 10, the tool picks one integer out of 21 possible values, zero included.

How do I generate lottery numbers?

Click the “6 numbers from 1 to 49” shortcut, check “No repeats” and turn on ascending order, or set your own lottery's range and count. Randomness gives you no edge: every combination has exactly the same odds.

Other free tools

See all free tools →