⚡
usefultools.dev
🔢

Random Number Generator (RNG) – Pick Numbers in a Range

NEW

Random number generator for any range: whole numbers or decimals, one or thousands, no repeats, sorted, with exclusions, using secure browser randomness.

Runs 100% in your browser — your input is never uploaded or stored on our servers.

Multi-set number draw

Generic number formats for raffles, bingo and prize draws. Every combination is equally likely; no generator can predict or improve the odds of any draw.

Numbers come from your browser's cryptographic random source with rejection sampling, so every value in the range is equally likely. For games, try the Dice Roller or Coin Flip.

⚡

Quick Examples

Typical inputs and the results this tool produces.

Unique
1–10, 10 unique, ascending
1 2 3 4 5 6 7 8 9 10
Exclude
1–5, 3 unique, sorted, no 3 4
1 2 5
Decimal
0–1, 2 decimal places
One of 101 values, e.g. 0.52
Error
1–10, 11 unique
Only 10 different values…
BigInt
1–10^20, BigInt
e.g. 24222212265732579256
📖

Overview

This random number generator picks numbers between a minimum and a maximum you choose. Press Generate for a single number between 1 and 100, or ask for thousands of values at once, with or without repeats, sorted or in random order, and joined with new lines, commas, spaces or tabs so you can paste them straight into a spreadsheet or code.

Switch to Decimals for values with up to 10 decimal places, list numbers to exclude, or allow very large integers beyond the usual JavaScript limit for testing. A multi-set draw picks unique numbers in generic formats such as 6 from 1–49 or 5 from 1–69 plus a bonus number, handy for raffles, bingo and prize draws.

Every number comes from the browser's cryptographic random source (crypto.getRandomValues) with rejection sampling, so all values in the range are equally likely. Nothing is generated until you click, and nothing leaves your device.

Why use this tool?

  • Fair picks for raffles, games and classrooms
  • Unique draws without repeats in one click
  • Decimals, exclusions and huge integers supported
  • Copy a whole list with your chosen separator
  • Secure randomness that runs in your browser
⭐

Features

🎯

Any range

Negative or positive bounds, whole numbers or up to 10 decimal places.

🚫

No repeats

Unique mode checks that the range holds enough values before drawing.

✂️

Exclude values

Skip specific numbers, such as ones already drawn.

📋

Bulk lists

Up to 10,000 numbers, sorted or not, with new line, comma, space, semicolon or tab separators.

🎟️

Multi-set number draw

Generic formats like 6 of 49 or 5 of 69 plus 1 bonus for raffles, bingo and prize draws, sorted for easy reading.

🔐

Unbiased crypto RNG

Rejection sampling over crypto.getRandomValues, with BigInt for very large ranges.

🛠️

How to Use

1

Set the range

Enter Minimum and Maximum, or press a quick range such as 1–100.

2

Choose how many

Set How many, and tick No repeats if each value may appear once.

3

Fine-tune

Pick a sort order, separator, decimal places or values to exclude.

4

Generate and copy

Press Generate, then Copy to paste the numbers anywhere.

🤔

Frequently Asked Questions