Random Number Generator: Ranges, No Repeats, Sorted Lists

Tutomod • Premium content made for you.

Random Number Generator: Ranges, No Repeats, Sorted Lists

In short: Picking raffle winners, shuffling a class list, sampling rows for an audit: anytime a human 'just picks', bias sneaks in. This generator uses your browser's cryptographic random source, the same quality that protects passwords, so every number truly has an equal shot.

Updated August 28, 2026, after a fresh review, with updated visuals and links.

Set the range and quantity, toggle no-repeats for draws where each entry wins once, and sort the output when you need it tidy.

Dice showing random numbers
Photo by Nascimento Jr. on Pexels
Numbers appear here.
Cryptographically secure randomness (crypto.getRandomValues).

Options that matter

Range is inclusive on both ends: 1 to 6 really does emulate a die, and 1 to 49 covers the classic lottery. The count field produces up to 1,000 numbers in one shot for sampling tasks.

No-repeats mode guarantees uniqueness, which is what raffles and jury picks require; the tool refuses impossible setups like 10 unique numbers from a range of 5 instead of silently breaking.

Sort ascending turns a sample into a checklist. Auditors use it to pick invoice rows to inspect; teachers use it to choose which problems from the homework get graded today.

Worth remembering

  • For public draws, screenshot the settings and result in the same frame; transparent process kills disputes before they start.
  • Need random order of names rather than numbers? Number the list entries and generate a no-repeat shuffled set here.

Frequently asked

Is this random enough for a real giveaway?

The numbers come from crypto.getRandomValues, the browser's cryptographic generator with rejection sampling to remove modulo bias. For informal giveaways and raffles it is stronger than pulling paper from a hat.

Why use rejection sampling?

Naive random % range slightly favors small numbers because the random space does not divide evenly. Discarding the uneven tail makes every outcome exactly equally likely.

Find every related tool in our Online Calculators: Every Free Tool index.

Keep reading