Random Number Generator
Generate up to 1,000 random numbers in a range you choose — integers or decimals, unique or with duplicates — with a clear, selectable randomness source.
How to use Random Number Generator
- Enter the minimum and maximum of the range.
- Choose integers or decimals and set the quantity.
- Decide whether duplicates are allowed.
- Choose the randomness source (see below) and press Generate.
- Copy or download the results.
Features
- Integers and decimals (0–6 decimal places)
- Unique draws (no duplicates) with range-safety checks
- Cryptographically secure mode using the Web Crypto API
- Ordinary random mode for games and casual use
- Up to 1,000 values per draw, copy and download included
- Unbiased integer sampling (rejection sampling, no modulo bias)
Important information
Two randomness sources are offered and clearly labelled: cryptographically secure (Web Crypto, suitable for tokens, IDs and other security-sensitive values) and ordinary (Math.random, fine for games but predictable in principle). Values are generated locally — nothing is sent anywhere.
Frequently asked questions
What is the difference between secure and ordinary random?
Secure mode uses the browser's cryptographically secure generator, appropriate for passwords, tokens and IDs. Ordinary mode uses Math.random, which is fast and fine for games but is not a security-grade source.
Why can't I generate 100 unique numbers from 1 to 50?
Without duplicates, the quantity cannot exceed the number of distinct values in the range. The tool checks this and tells you instead of returning misleading output.
Are the numbers biased?
No. Integer draws use rejection sampling over a uniform 53-bit source, so every value in the range is equally likely.