Pick integers in any range.

Random Number Generator

Generate random numbers in any range with optional unique values and sorting. Free, instant, and powered by cryptographic randomness.

  • No sign-up
  • Runs in your browser
  • Cryptographic randomness

Your results

Your results will appear here.

Your inputs and results never leave this device.

Need a fair number pick? Set a range, choose how many values you want, and generate whole numbers instantly. Every result comes from your browser's cryptographically secure random source, so it is suitable for games, sampling, raffles, and quick decisions.

Switch on no duplicates for a lottery-style draw, or sort the output to make long lists easier to scan. The generator handles negative values and large ranges, and nothing you enter leaves your device.

How to generate random numbers

  1. 01

    Set the range

    Enter the smallest and largest value, including negative numbers.

  2. 02

    Choose the count

    Pick how many numbers you need. Turn on no duplicates when each value must appear only once.

  3. 03

    Generate and copy

    Press Generate, then copy a single number or the full set.

Advertisement
Ad placement preview

Popular ways to use random numbers

Raffles and sweepstakes

Draw unique ticket numbers for a prize or assign random entry numbers.

Sampling and testing

Select rows, survey IDs, or test cases from a numbered list without bias.

Games and decisions

Roll for turn order, pick a random level, or settle a tie.

Frequently asked questions

Is this random number generator truly random?

It uses crypto.getRandomValues(), the browser's cryptographically secure pseudo-random generator. That is much less predictable than Math.random() and is appropriate for games, giveaways, and everyday decisions. For cryptographic keys, use a dedicated key-management system.

Can I generate numbers without duplicates?

Yes. Enable No duplicates and the tool draws unique values. Your range must contain at least as many integers as you request.

Does it support negative numbers and decimals?

Whole numbers, including negatives, are supported. For decimals, scale your range by 10 or 100 and divide the result, or adapt the public JSON API for your application.

Are my numbers uploaded anywhere?

No. The generator runs locally in your browser; inputs and results are not sent to a server.