Everyday utilities

Random Number Generator

Random Number Generator

Random numbers in any range: one or thousands, unique, sorted or decimal.

About this tool

About Random Number Generator

Pick a random number between any two values, or generate a whole list. Set the minimum and maximum, choose how many numbers you need, and decide whether repeats are allowed: unique mode draws without replacement, which is what you want for raffles, lottery picks, assigning seats or sampling rows from a list. Numbers can be whole or have up to six decimal places, sorted ascending or descending, and shown one per line or as a single comma-separated line ready to paste into a spreadsheet or code. Presets cover the common cases: 1–10, 1–100, a 6-from-49 lottery draw, a 4-digit PIN with leading zeros, and decimals between 0 and 1. Every number comes from your browser's cryptographic random generator (crypto.getRandomValues) with rejection sampling, so there is no modulo bias and no predictable pattern, unlike Math.random. You can copy one number, copy them all or download the list. Nothing is uploaded or logged.

Built and maintained by Abhi JainUpdated

How to Generate Random Numbers

  1. 1

    Set the range

    Enter Min and Max, or click a preset such as 1–100.

  2. 2

    Choose options

    Set how many, decimal places, order, and tick No repeats for unique numbers.

  3. 3

    Generate

    Press Generate. Copy a number, copy all or download the list.

Random Number Generator: questions and answers

Are the numbers truly random?

They come from the operating system's cryptographically secure generator via crypto.getRandomValues, the same source used for encryption keys, and every value in the range is equally likely.

How do I pick numbers without repeats?

Tick No repeats (unique). The tool draws without replacement and tells you if you ask for more unique numbers than the range contains.

Can I include negative numbers or decimals?

Yes. Min and Max can be negative, and Decimal places gives up to six decimals, with every value on that grid equally likely.

How do I pick a random winner from names?

Use the Random Name Picker to paste names and spin a wheel or draw winners.