Guides한국어

Random number generator

Set a range and a count, with or without repeats.

Set a range and press Generate.

The link holds your settings and the value this result was made from.

How does it pick? Each press uses fresh random numbers from your browser. What you enter is not sent to a server.

Details

Each press asks your browser for a new 32-byte value, the seed, with crypto.getRandomValues(). A fixed calculation called xoshiro256** then turns that seed into the numbers the pick needs. That is why the same seed and the same names give the same result on anyone’s device. See exactly how picks are made

Recent results on this device

    How to use it

    Set the lowest and highest number, both included, and how many you want. Tick No repeats to get different numbers every time; the range must then hold at least that many numbers. Results can stay in the order drawn or be sorted.

    How the numbers are made

    Each press takes a fresh value from your browser with crypto.getRandomValues() and uses it as the seed. Whole numbers are taken by drawing only as many random bits as the range needs and throwing away any value that falls outside it. That avoids the small bias of dividing and taking the remainder, so every number in the range is equally likely.

    Limits

    Whole numbers only, up to 15 digits (from −999,999,999,999,999 to 999,999,999,999,999), and up to 10,000 numbers at a time. Full-width digits such as 123 are read as well. Inputs outside those limits show a message instead of a wrong answer, and the previous result is cleared.

    Questions

    Can I get 1 to 100 with no repeats?

    Yes. Set 1 and 100, choose how many, and tick No repeats. You can ask for at most 100 in that range.

    Is it suitable for passwords or keys?

    No. It is made for draws, games and choosing at random. The calculation that turns the seed into numbers (xoshiro256**) is not a cryptographic one. Use a password manager to create passwords and keys.

    Other ways to pick

    Guides