Random number generator

Pick one or more random numbers from any range, with or without repeats — fair and instant for draws, games and classrooms.

Last updated: October 2026 · Report a calculation error

How to pick a random number in a range

Enter the range (from–to), how many numbers to draw and whether repeats are allowed. Every number in the range has the same chance — the generator uses the browser’s cryptographic randomness, not the predictable Math.random().

Without repeats, numbers are drawn like balls from an urn: a drawn number doesn’t go back in. So from 1–10 you can draw at most 10 unique numbers.

Uses

  • Contests and giveaways — the number of the winning comment or entry.
  • Randomising answer order, seat numbers or who goes first.
  • Picking a sample for a survey or quality check.
  • Games — 1 to 6 replaces a die, 1 to 100 a percentile roll.

Running a fair draw

Number the entries and save the list before drawing. Draw in front of witnesses or record your screen — the result is then easy to verify. If your list has names, the random name picker is simpler.

Common uses and tips

  • Giveaways: number the entries (or comments) and draw one — screenshot the result for transparency.
  • Classrooms and games: pick a student, a team or who goes first.
  • No repeats: switch it on to draw several different numbers, e.g. 6 from 1–49.
  • Fairness: numbers come from the browser’s cryptographic generator, so every value in the range is equally likely.

For other draws use the dice and coin flip, pick from a list or the lottery number generator.

Frequently asked questions

Can I draw several numbers at once?

Yes — up to 1,000 numbers per draw, with or without repeats.

Are the numbers truly random?

They come from the operating system’s cryptographic generator, the same one used to create encryption keys. The next result can’t be predicted.

Can I generate several random numbers without duplicates?

Yes — set how many numbers you need and turn off repeats; each number appears only once.

Is this random enough for a prize draw?

Yes. It uses the browser’s cryptographically secure random generator (crypto.getRandomValues), the same source used for passwords.

See alsoWhole category

  1. GN-01Password generatorGenerate a strong random password of any length and character set.
  2. GN-02QR code generatorCreate a QR code for any link or text and download it as a high-resolution PNG, with no watermark.
  3. GN-04Color palette generatorGenerate a random color palette with HEX, RGB and HSL codes and copy any color with one click.
  4. GN-05UUID generatorGenerate one or up to 100 random UUID v4 identifiers (GUIDs) at once, created securely in your browser.