Skip to content

Random Number Generator

Generate random numbers in any range — one at a time or in batches of up to 1,000, with or without duplicates. Perfect for sampling, games, raffles, and picking winners.

Range

Options

Numbers are produced with your browser's built-in Math.random — great for games, sampling, and raffles, but not suitable for passwords, keys, or any cryptographic use.

Frequently Asked Questions

How do I generate random numbers?
Enter a minimum and maximum value, choose how many numbers you want (1 to 1,000), and click Generate. The numbers appear instantly as chips you can copy all at once.
Can the same number appear more than once?
That is up to you. Leave "Allow duplicates" checked and each number is drawn independently, so repeats are possible. Uncheck it and every number in the batch is unique — which means the range must contain at least as many numbers as you ask for.
Can I sort the generated numbers?
Yes. Check "Sort results" and the batch is returned in ascending order instead of the random order it was drawn in.
Are these numbers safe for passwords or cryptography?
No. The tool uses your browser's Math.random, which is fine for games, sampling, raffles, and classroom exercises but is not cryptographically secure. For passwords or security keys, use a dedicated cryptographic generator.
Is the random number generator free?
Yes. It is completely free, requires no sign-up, and runs entirely in your browser — nothing you generate is sent to a server.

Related Tools