Utilities

Random Number Generator

Generate one or many random numbers in any range, with or without duplicates, using a secure source.

About this tool

Picking a raffle winner, assigning teams, sampling a list, or just settling a decision fairly all come down to the same need: numbers nobody can predict or influence. This generator produces them in any range you choose, one at a time or in batches of up to a thousand.

Unlike simple generators that use Math.random, this tool draws from the Web Crypto API, the browser's cryptographically secure random source, and uses rejection sampling so every value in your range is exactly equally likely. With duplicates disabled it performs a proper shuffle, making it suitable for drawing winners fairly.

Frequently asked questions

Are the numbers truly random?

They come from the operating system's cryptographic random source via the Web Crypto API, which is unpredictable for all practical purposes and far stronger than typical website generators.

Can I draw lottery style numbers?

Yes. Set the range, set how many to draw, and check No duplicates to get a fair draw without repeats.