How to use Random number generator
- 01Set the rangeFrom and to, both included.
- 02Choose how manyAnd whether repeats are allowed.
- 03DrawPress Draw again for a new set.

Fair numbers from your browser.
Numbers come from crypto.getRandomValues, the secure source browsers use for encryption keys, and rejection sampling makes every value in the range exactly equally likely. With no repeats, each number can be drawn once, like pulling tickets from a hat. The example on this page was drawn when the page was built; your own numbers are drawn on your device when it opens.
At a glance
- Price
- Free. No sign-up, no watermark.
- Privacy
- Your text stays in your browser. Nothing is uploaded.
- Works in
- Chrome, Edge, Firefox and Safari, on phones and computers
Questions
How do I pick 6 random numbers from 1 to 49 for a lottery?
Set From 1, To 49, How many 6 and tick No repeats. Every combination is equally likely; no pick has better odds than another.
Is this truly random?
It uses a cryptographically secure pseudo-random generator seeded by your device, which is unpredictable for any practical purpose, including raffles and classroom draws.
Can I get random decimals?
Yes. Set Decimal places to 2, for example, and the numbers will look like 0.37 or 41.08 within your range.
Is what I type sent anywhere?
No. The calculation runs in your browser and nothing you type leaves your device.