Random Number Generator
Pick random numbers in a range you define: integers of any size, decimals, and no-repeat draws.
Processed locally in your browser/ Your data stays in your browser.
What is Random Number Generator?
This generator returns uniformly distributed random numbers between a minimum and a maximum, both included. Randomness comes from crypto.getRandomValues, not Math.random, and values are drawn by rejection sampling so no number in the range is favoured.
Bounds are handled as BigInt, so you can use integers far beyond 2^53. Ask for up to 10,000 numbers, forbid duplicates for lottery-style draws, add decimal places (for example 0.00 to 1.00 in cents), and choose a newline, comma or space separator.
How does it work?
- Enter the minimum and maximum (inclusive). Very large integers are fine.
- Choose how many numbers you need, whether they must be unique, and the number of decimal places.
- Press Generate and copy the list. Press again for a fresh draw.
Common use cases
- Drawing lottery, raffle or bingo numbers without repeats.
- Rolling dice or picking a random index during testing.
- Producing sample data with decimal values in a given range.
- Making unbiased choices where fairness matters, such as splitting a group.
Examples
Pick random numbers in a range you define: integers of any size, decimals, and no-repeat draws.
Privacy
Random Number Generator runs entirely in your browser. The text or files you provide are processed on your device and are not uploaded, logged or stored on our servers.
Limitations
Numbers are drawn on your device and are not verifiable by third parties, so for a public prize draw record how the draw was done. A range that is too small cannot supply the unique values you request.
Frequently asked questions
Is this truly random?
It uses the browser’s cryptographically secure generator, which is seeded from the operating system. It is suitable for games, sampling and fair draws; Math.random is never used.
What does "No duplicates" do?
It draws without replacement: each value appears at most once. If you ask for more unique values than the range holds, you get an error.
Can I use numbers larger than 9,007,199,254,740,991?
Yes. Minimum and maximum are parsed as BigInt integers, so ranges of hundreds of digits work, and results stay exact.
Related tools
Random String Generator
Produce random tokens, IDs and test strings from the character set you need.
Developer Tools
Random List Picker
Paste a list, one item per line, and draw winners or shuffle the whole list at random.
Developer Tools
Random Bytes Generator
Get raw random bytes from the browser’s secure generator, formatted the way your code expects.
Developer Tools
Password Generator
Create strong, truly random passwords with the character sets you choose. Nothing is sent or saved.
Developer Tools
UUID Generator
Create one or thousands of universally unique identifiers in any version, formatted exactly the way your code or database expects.
Developer Tools
Base Converter (Base 2 to 36)
Type a number, pick its base and the base you want, and get an exact result with a quick view in binary, octal, decimal, hexadecimal and base 36.
Developer Tools