Random number generator

Pick random numbers for draws, games, sampling and decisions, or roll dice and flip a coin.

  • Free
  • Private
  • No sign-up

—

History

    Stays on this device. Network requests since you started: 0 How to check this yourself

    How your numbers are handled

    1. Your numbersRead from your device
    2. Worked on in this tabBy code running in your browser
    3. Ready to copyNothing is stored

    Never sent to a server. See how to check

    How to use it

    1. Set the range and how many numbers you need.

    2. Choose whether repeats are allowed and whether to sort.

    3. Select Generate, or roll dice or flip a coin.

    About this tool

    Numbers come from your browser's cryptographically secure random generator (crypto.getRandomValues), using rejection sampling so every number in the range is exactly equally likely. This is stronger than the ordinary Math.random used by many sites.

    With "No repeats" on, numbers are drawn without replacement, like a lottery or raffle: each can appear only once, so you can request at most as many numbers as the range contains.

    Good to know

    • Up to 10,000 numbers at a time.
    • Whole numbers only.
    • For regulated prize draws, follow your local rules on independent supervision.

    Frequently asked questions

    Is it truly random?

    It uses the cryptographic random generator built into your browser, suitable for security keys, so results are unpredictable and unbiased.

    How do I pick lottery numbers?

    Set the range (for example 1 to 49), the count (for example 6), tick No repeats and Sort, and select Generate.

    Can I generate numbers with repeats?

    Yes. Untick "No repeats".

    You might also need