1. Home
    2. Generators & Security Tools
    3. Random Number Generator

    Random Number Generator

    Pick fair random numbers in any range, with no-repeat, sorting, decimals and presets for dice, coins, lottery and PINs.

    Random numbers

    Separate with
    Presets

    Everything runs in your browser. Your data never leaves your device.

    Quick answer

    How do I generate a random number?

    Enter a minimum and maximum, choose how many numbers you need and press Generate. The Toolzzz Random Number Generator uses the browser’s cryptographically secure random source with unbiased selection, so every number is equally likely. Tick No duplicates for unique picks, like a raffle draw.

    • Any range, including negatives
    • From 1 to 100,000 numbers at once
    • No duplicates option for draws
    • Decimal places from 0 to 10
    • Sort results ascending
    • Presets: dice, coin, lottery 6/49, PIN
    • Crypto-secure and unbiased
    Random Number Generator: fair numbers in any range in your browser
    Random Number Generator on Toolzzz: fair numbers in any range, free and private.
    How it works

    How to generate random numbers

    Press Generate again for a fresh result.

    1. Set the range

      Enter the minimum and maximum, or tap a preset like Dice or Lottery.

    2. Choose options

      Set how many numbers, decimals, no duplicates and sorting.

    3. Generate

      Press Generate, then Copy or Download the result.

    How to generate random numbers in three steps: set the range, choose options, generate
    How to generate random numbers in three steps.
    Use cases

    Ways to use random numbers

    Giveaways and raffles

    Pick winning ticket numbers fairly.

    Teams and turns

    Decide who goes first or split people into groups.

    Games

    Roll dice or flip a coin without the real thing.

    Teachers

    Choose students or quiz questions at random.

    Testing

    Create random sample values for code.

    Statistics

    Draw random samples for surveys and audits.

    Any device

    How to use the Random Number Generator on Windows, Mac, iPhone and Android

    No app to install. The tool works in any modern browser, so the steps are almost the same everywhere.

    On Windows

    1. Open toolzzz.com/random-number-generator/ in Chrome, Edge or Firefox.
    2. Choose your options in the panel.
    3. Set the range and options, then press Generate.
    4. Press Copy to put the result on your clipboard, or Download to save it. Files go to your Downloads folder.

    On Mac

    1. Open toolzzz.com/random-number-generator/ in Safari or Chrome.
    2. Choose your options in the panel.
    3. Set the range and options, then press Generate.
    4. Press Copy to put the result on your clipboard, or Download to save it.

    On iPhone and iPad

    1. Open toolzzz.com/random-number-generator/ in Safari.
    2. Choose your options in the panel.
    3. Set the range and options, then tap Generate.
    4. Tap Copy to put the result on your clipboard, or Download to save it. Downloads appear in the Files app.

    On Android

    1. Open toolzzz.com/random-number-generator/ in Chrome.
    2. Choose your options in the panel.
    3. Set the range and options, then tap Generate.
    4. Tap Copy to put the result on your clipboard, or Download to save it. Downloads go to the Downloads folder.
    Comparison

    Toolzzz vs. other online generators

    FeatureToolzzz Random Number GeneratorTypical online generators
    PriceFree, no limitsFree tier, then paid plans
    Where it runsIn your browser onlyOften on the provider’s server
    Built onBrowser standards (Web Crypto, Canvas, SVG)Often closed server-side code
    Sign-upNot neededSometimes needed for downloads
    Tracking of resultsNone, nothing is storedResults may be logged
    Works offline once loadedYesUsually not

    "Typical" describes common limits of free online services. Plans and limits differ between sites.

    Why Toolzzz

    Why generate with Toolzzz

    Private by design

    Every value is created or checked inside your browser. Nothing is sent or stored.

    Built on Web Crypto

    Hashing, encryption and random values use the browser’s built-in, audited Web Crypto API.

    Instant

    Results appear immediately, even for thousands of values.

    Copy or download

    Copy in one click or save the result as a file.

    Any device

    Works in Chrome, Safari, Edge and Firefox on desktop and mobile.

    Free forever

    No account, no limits and no watermark.

    Pro tips

    Tips for the best result

    • For a raffle, tick No duplicates and set the count to the number of winners.
    • The Coin preset gives 0 or 1: decide which means heads before you press Generate.
    • Use Decimal places for random prices or measurements.
    • To shuffle a list of names, use Sort Lines with Shuffle.
    • Record the result with a screenshot if a draw needs to be provably fair to others.
    Glossary

    Key terms explained

    Uniform distribution
    Every number in the range has the same chance of being picked.
    Modulo bias
    A subtle unfairness from naive random methods. This tool avoids it with rejection sampling.
    CSPRNG
    A cryptographically secure random number generator.
    FAQ

    Frequently asked questions

    Is the random number generator free?

    Yes. Free and unlimited.

    Is it truly random?

    It uses crypto.getRandomValues, a cryptographically secure source, with unbiased selection. It is suitable for draws and games.

    Can I avoid repeated numbers?

    Yes. Tick No duplicates.

    Can I generate decimals?

    Yes. Set Decimal places from 1 to 10.

    What is the largest range?

    Any range JavaScript numbers can hold accurately, up to about 9 quadrillion.

    How do I roll a dice?

    Tap the Dice preset (1 to 6) and press Generate.

    Can I pick lottery numbers?

    Yes. The Lottery 6/49 preset picks 6 unique numbers from 1 to 49, sorted.

    Is my result stored?

    No. Nothing is saved or sent.