Skip to content
Fluky

Random number generator

Pick a random number between any two values, with or without repeats. Simple, fast and free.

Quick presets

Press Generate

History

Your last 20 generations show up here.

How the random number generator works

Enter a minimum and a maximum, choose how many numbers you want, and press Generate. Turn on Unique numbers only when every result must be different — like drawing raffle tickets — and Sort results when you want them in ascending order. The quick presets cover the common cases: 1–10, 1–100, 1–1000, a die and a lottery-style 7 of 49.

A word on uniformity, because it is where most random number tools quietly cheat. The naive approach takes a random value and uses the modulo operator to squeeze it into your range, which makes some numbers slightly more likely than others. Fluky uses rejection sampling instead: it draws a 32-bit value from crypto.getRandomValues, discards any value in the small uneven tail, and only then maps it into your range. Every number from min to max has exactly the same probability — no bias, even in huge ranges.

Unique sets are drawn with a partial Fisher–Yates shuffle across the whole range, so drawing 7 unique numbers from 1–49 gives every combination an equal chance. Your last 20 generations are listed with timestamps in the history panel while the page is open, and cleared when you leave — nothing is stored.

Popular use cases

  • Raffles: draw the winning ticket number from the range you sold
  • Sampling: pick random rows, respondents or items from a numbered list
  • Board games and classrooms: replace a lost die or spinner
  • Lottery-style picks: 7 unique numbers from 1 to 49 with one preset

Frequently asked questions

Only if you want it to. Turn on Unique numbers only and every number in a draw is guaranteed different. The toggle disables itself with an explanation when you ask for more numbers than the range contains.

Any whole-number minimum and maximum, including negative numbers, as long as min is below max. You can draw up to 1000 numbers in one go.

Yes. The generator uses crypto.getRandomValues with rejection sampling, which removes the modulo bias that simpler tools have. Every value in your range is exactly equally likely.

No. The history panel keeps your last 20 generations only while the page is open, and nothing is ever sent to a server. Close the tab and it is gone.