AllinHub

Random number generator

Draw one number or a whole list, with optional unique results.

From 1 to 1,000 results.

Your next draw will appear here.

Whole numbers: −2,147,483,648 to 2,147,483,647. Up to 1,000 results per draw.

Pick a number for a classroom activity, draw a practice sample or create test data without reaching for a spreadsheet. Set the lowest and highest integers, choose how many results you need, and generate a list. Both ends of the range are included. You can prevent duplicates, sort the numbers, or switch to a coin flip or a six-sided die. The draw happens in your browser using Web Crypto; inputs and results are not stored by this tool or sent to a processing server.

How to use

  1. Enter the minimum and maximum integers, or choose coin or dice mode.
  2. Choose a result count from 1 to 1,000 and enable unique values if needed.
  3. Generate a draw, then copy the lines or download them as a text file.

What it handles

  • Includes both range boundaries, including zero and negative integers.
  • Unique draws use sampling without replacement rather than retrying duplicates.
  • Uses Web Crypto with rejection sampling to avoid simple modulo bias.
  • Coin and dice modes produce independent outcomes; repeats are normal.
  • Changing an option clears the previous output so it cannot be mistaken for a new draw.

FAQ

Can I generate numbers without repeats?

Enable unique values before generating. The requested count must fit inside your inclusive range: 1 through 10 contains ten possible integers. Each number can appear only once in that draw. A later draw starts fresh and may contain numbers from previous results.

How random are the results?

The tool reads random bytes from your browser's Web Crypto API and rejects values that would bias the selected interval. It does not use Math.random. This does not make it a certified lottery system, an audited competition draw or a substitute for a dedicated password generator.

What ranges and result counts are supported?

Use whole numbers from −2,147,483,648 through 2,147,483,647 and request up to 1,000 results at once. Decimal values and scientific notation are not supported. If the bounds are reversed or the count is invalid, a message appears instead of silently changing your choices.

Can I save or reproduce a draw?

Copy the output or download the text file before generating again. This tool does not save previous draws, offer a repeatable seed or put results into a share link. Reloading the page starts over. Keep your exported file if you need a record of the result.

Updated

All tools