belun.app Blog

Random Number Generator — Pick Numbers in a Range Free

Click Generate to create numbers

Pick random numbers between any two values, right in your browser. Set the minimum and maximum, choose how many numbers you want, and decide whether they should be unique (no repeats) — handy for raffles, lottery picks, sampling, and test data. The numbers come from your browser's cryptographic random source, so they are genuinely unpredictable.

How it works

  1. 1
    Set the range Enter the lowest and highest numbers you want to draw from. Both ends are included, so a range of 1 to 6 behaves like a single die.
  2. 2
    Choose how many and pick options Type how many numbers to generate. Tick "Unique" if no number should repeat — useful for drawing winners. Optionally sort the output ascending or descending.
  3. 3
    Generate and copy Click Generate to draw a fresh set. Click Copy to send the comma-separated list to your clipboard for a spreadsheet or document.

Your data stays private

All processing happens entirely in your browser. No files, text, or data are ever sent to our servers. You can disconnect from the internet and this tool will still work.

Frequently asked questions

Are the numbers truly random?
Yes. The generator uses the Web Crypto API (crypto.getRandomValues) built into your browser — the same source security software relies on, not the weaker Math.random() many sites use.
What does the Unique option do?
With Unique on, every number in the result is different — like drawing balls from a bag without putting them back. With it off, the same number can appear more than once, like rolling dice repeatedly.
Why can't I get 10 unique numbers from 1 to 5?
There are only five distinct values between 1 and 5, so you can't draw ten different ones. Widen the range or turn off the Unique option, and the generator will work.
Are the minimum and maximum included?
Yes. Both endpoints are part of the range. Setting 1 to 100 can return 1 and 100, not just the numbers in between.
Is anything sent to a server?
No. Every number is generated inside your browser. Nothing is uploaded, logged, or stored — you can disconnect from the internet after the page loads and it still works.

From the blog

How a Random Number Generator Works (and When to Use One) What makes a random number generator fair, why crypto randomness beats Math.random(), and practical uses from raffles to sampling. Read the post →

Related tools