Random Number Generator

Press a button. Get a fair random number. Nothing is saved, sent or tracked.

  • Free forever
  • No sign-in
  • No cookies or tracking
  • Works offline
Press Generate for your random number
Type
Repeats

100 possible numbers, each with a 1% chance.

More options
Engine

Secure uses your device’s cryptographic random engine. Nothing can predict or repeat it.

Nothing you generate is sent anywhere. How we know

All random tools

Quick answers

What is a random number generator?

The six things everyone wonders first

  • Is it really random?

    Random enough to be used for encryption. We use your browser’s secure engine, not Math.random().

  • Can I get the same number twice?

    Yes, like real dice. Switch on “No repeats” if you want every number different.

  • Does anyone see my numbers?

    No. They are made on your device and are never sent anywhere. Turn off Wi-Fi and try.

  • Do I need to sign in?

    Never. No account, no password, no email. Just press the button.

  • Is it free and fast?

    Free, with no limits. Results appear instantly because nothing waits on a server.

  • Does it work on my phone?

    Yes. It is built mobile-first, and works offline once the page has loaded.

In 3 steps

Three taps to a random number

  1. Set your range

    Type a lowest and a highest number, or tap a preset like 1–100.

  2. Press Generate

    Ask for one number or thousands, with or without repeats.

  3. Copy or go again

    Copy the result in one tap. Nothing is kept once you leave.

Types of random number generators

Three kinds of “random”, explained so a 6-year-old gets it

Not all random numbers are made the same way. Here is the whole story in three cards, and which one we use.

  • Pseudo-random (PRNG)

    The recipe

    Like you’re six Like a super-mixed-up recipe for scrambling numbers. Start from the same starting number, called the seed, and you get exactly the same scramble every time.
    How it works
    A math formula turns a seed into a long stream of numbers that look random.
    You have met it in
    Video-game worlds (a Minecraft world seed), spreadsheet RAND(), simulations.
    Great for
    Fast, and repeatable: great for games, teaching and testing.
    Not for
    Secrets. If someone learns the seed, they know every number.
  • What we use

    Cryptographically secure (CSPRNG)

    The recipe + surprises

    Like you’re six The same kind of recipe, but your device keeps stirring in tiny surprises from the real world: the exact timing of your taps, and electrical fizz inside the chip. Even a clever spy cannot guess the next number.
    How it works
    A strong formula that is constantly re-seeded with unpredictable noise from your hardware.
    You have met it in
    The padlock in your browser, password managers, secure messaging.
    Great for
    Unpredictable enough to protect banks. Instant, and works offline.
    Not for
    Almost nothing: it is the right choice for nearly every job.
  • True random (TRNG)

    Nature’s dice

    Like you’re six No recipe at all. The numbers come from something truly unpredictable in nature, like radio static in the sky, or even a wall of lava lamps that a camera watches.
    How it works
    Special hardware measures a physical process, like atmospheric noise or radioactive decay.
    You have met it in
    RANDOM.ORG (atmospheric noise), lava-lamp walls, quantum random services.
    Great for
    Truly unpredictable, even in theory. Useful for research and special draws.
    Not for
    Speed and privacy: it needs special hardware, usually on someone else’s server.

Why not true random (TRNG) here?

True random needs special hardware or someone else’s server, which means your request leaves your device and can be seen, logged or slowed down. Your device’s secure engine already mixes in real-world noise, so you get unpredictable numbers instantly and privately. If you specifically need physical randomness, for research or a draw that must be certified, use a dedicated service like RANDOM.ORG.

Fairness lab

Don’t trust us. Test us.

Roll 10,000 numbers right now, in your browser, and see whether every number really gets its fair share. The dashed line is what perfect fairness looks like.

Roll 10,000 times from

Press the button and watch 10,000 rolls land on the chart.

How to read this

Lumpy is normal. Real randomness is never perfectly even: some numbers will come up a bit more than others, and the next run will shuffle who is on top.

The fairness score comes from a chi-square test. A fair generator scores above 0.05 about 95 times in 100, and below 0.001 only about once in 1,000 runs. Scores that are suspiciously close to 1 every time would be a red flag too, since that means “too even”.

Our automated tests run similar checks on every change, on every tool on this site.

FAQ

Every question people ask about random numbers

What is a random number generator?

A random number generator (RNG) is a tool that produces numbers with no pattern, where every number in the range is equally likely and the next number cannot be predicted from the last. People use them for games, raffles, classroom activities, research, software testing and security.

How do I generate a random number between two numbers?

Type your lowest number in “Min” and your highest in “Max” (for example 1 and 100), then press Generate. Both ends are included, so a range of 1 to 100 can return 1 or 100. Use “How many” to get a whole list at once.

Are the numbers truly random?

They come from your browser’s cryptographically secure random generator (crypto.getRandomValues), which is continuously seeded with unpredictable hardware noise. This is the same source used to create encryption keys, and for every practical purpose it is indistinguishable from true randomness. If you specifically need physical randomness such as atmospheric noise, a service like RANDOM.ORG provides it.

What is the difference between pseudo-random and true random numbers?

Pseudo-random numbers come from a formula and a starting value called a seed, so the same seed gives the same numbers. True random numbers come from physical processes such as atmospheric noise or radioactive decay and cannot be reproduced. A cryptographically secure generator, which is what this site uses, sits in between: a strong formula that is constantly re-seeded with real-world noise.

Can I get the same number twice?

Yes, unless you switch on “No repeats”. Random does not mean “different each time”: with a 1 to 10 range, there is a 10% chance that two picks in a row match. Real randomness repeats more often than people expect, which is why “No repeats” exists.

How do I generate random numbers without repeats?

Tick “No repeats” and choose how many numbers you need. For example, set 1 to 49 and ask for 6 to get six different numbers. The tool returns an error if you ask for more different numbers than the range contains.

Is the generator fair and unbiased? How can I check?

Yes. We use rejection sampling to remove “modulo bias”, so every number has exactly the same chance. You can test it yourself with the Fairness Lab on this page: it generates 10,000 numbers and shows how evenly they landed, with a chi-square statistic. Small wobbles are normal, since real randomness is lumpy.

Is it free? Do I need to sign up?

It is free, with no limits, and there is nothing to sign up for. No account, no password and no email address, ever.

Does Superwebkit see, save or sell my numbers?

No. Numbers are generated inside your browser and never sent to us, because there is no server code or database to receive them. Your browser also enforces this with a strict Content-Security-Policy. Like any website, our host sees that a page was visited, but never what you generated.

Does it work offline?

Yes. After your first visit the site keeps itself in your browser, so all tools work without an internet connection. You can also add it to your home screen or install it like an app.

Can I generate decimals, negative numbers or huge numbers?

Yes to all three. Choose “Decimals” and a number of decimal places (up to 20), use negative limits such as -50 to 50, or enter limits with up to 1,000 digits. You can ask for up to 10,000 numbers at once.

What is a seed, and can I repeat a result?

A seed is the starting value of a pseudo-random generator. In “Seeded” mode, the same seed and settings give exactly the same numbers on every device, which is handy for teachers, games and reproducible experiments. Seeded results are repeatable by design, so use the default Secure mode for anything that must stay unpredictable.

Can I use it for classroom picks and choosing turns?

Yes. Use the Name Picker to choose who goes first, pick several different people or split a class into teams, or the number generator with “No repeats” to give everyone a different number.

Is it safe to use for passwords or security keys?

The numbers come from a cryptographically secure source, so the randomness is strong. For passwords and secrets, though, a password manager is the best tool since it also stores and fills them for you. For tokens and IDs, use our Random String Generator, which shows the entropy in bits.

Why do people think 7 and 37 are the most random numbers?

Humans are poor random number generators. We avoid the ends of a range and favour numbers that feel unremarkable. 7 is the most popular “random” pick between 1 and 10, and in a Veritasium survey of over 200,000 people asked for a number from 1 to 100, 37 came out on top. A real generator picks every number equally often.

How is this different from the random number generator in Google search?

A search-box widget is handy for a single number between two limits. This site adds lists of numbers, no repeats, decimals, negative and huge ranges, a repeatable seed mode, dice, coins, a name picker, string and UUID tools, a fairness lab, and it keeps working offline.