Skip to content
  • No data uploaded
  • Instant results

Random Number Generator

Pick a random number between any two whole numbers — 1 to 10, 1 to 100 or anything else. Generate up to 10,000 at once, with or without repeats, sorted or in draw order.

Random Number Generator

—

Uses your browser’s cryptographic random generator — fair, unpredictable and never sent anywhere.

History

    Free Random Number Generator by pGento

    How to use it

    1. Enter the smallest (Min) and largest (Max) number — both are included.
    2. Choose how many numbers you want.
    3. Tick No repeats for draws like raffles and lotteries where each number can come up only once.
    4. Press Generate. Your recent results are listed under History.

    Is it really random?

    Yes. Results come from crypto.getRandomValues(), the cryptographically secure generator your browser uses for encryption keys, with rejection sampling so every outcome is exactly equally likely (simple “modulo” tricks slightly favour some numbers). Nothing is decided in advance or sent to a server, so nobody — including us — can predict or influence a result.

    Popular uses

    • Raffles and giveaways — number the entries, then draw winners with no repeats.
    • Classrooms — pick a student by roll number or split a class into groups.
    • Games — replace lost dice or decide who goes first.
    • Sampling — choose random rows to audit or survey.
    • Lottery-style picks — e.g. 6 unique numbers from 1–49 (for fun; no generator can improve your odds).

    Chance of a specific number

    RangeChance of any one numberAs a percentage
    1–61 in 616.667%
    1–101 in 1010%
    1–201 in 205%
    1–491 in 492.041%
    1–1001 in 1001%
    1–10001 in 10000.1%

    Frequently asked questions

    Can I get the same number twice?
    Only if “No repeats” is off. With it on, each number appears at most once in a draw.
    Can I use it for an official prize draw?
    It is fair and unpredictable, but for regulated draws check your local rules — many require an independent witness or a recorded draw.
    Does it work with negative numbers?
    Yes. Any whole numbers work, for example −50 to 50.
    Random Number Generator

    Embed this tool on your site

    Paste this code into any web page. It stays free, fast and ad-free inside your site.

    Print or save as PDF

    Prints just this tool and its result. Choose “Save as PDF” as the printer to get a file. Branding is stored only in this browser.