AXS TXT

Random Number Generator

Generate random numbers in a range you choose, with optional uniqueness. Uses secure randomness.

When you need an unbiased random number — for a draw, a decision, a sample or a game — Random Number Generator produces one in the range you set, using secure randomness, with an option to keep the numbers unique.

How to use random number generator

  1. 1. Set the minimum and maximum of your range.
  2. 2. Choose how many numbers and whether they must be unique.
  3. 3. Generate and copy the numbers.

When to use Random Number Generator

Run a fair draw

Pick a winner or an order with an unbiased random number.

Sample from a set

Generate unique random numbers to select items without repeats.

Games and decisions

Roll a number for a game or to settle a choice.

How the numbers are drawn

Whole numbers between your minimum and maximum, both included, from your browser's cryptographic random generator. You can draw up to 1,000 at once. With "Unique numbers only", you can't get more numbers than the range holds — asking for 20 unique numbers from 1 to 10 gives all ten. If the minimum is larger than the maximum, they're swapped.

A lottery-style draw

For 6 numbers from 49: set Min to 1, Max to 49, How many to 6, tick "Unique numbers only" and press Generate. For a raffle with numbered tickets, draw one number between the first and last ticket number.

Frequently asked questions

Can I get numbers without repeats?

Yes — enable uniqueness to draw distinct numbers from your range.

How random is it?

It uses the browser's secure randomness, suitable for fair draws and sampling.

Is anything uploaded?

No — numbers are generated in your browser.

Your text is processed entirely in your browser and never uploaded — read more on the security page. Looking for more? Browse our full set of text tools or read guides on the blog.