Skip to content
LovTools
EN

Random Number Generator

Generate secure random numbers in any range, with or without duplicates.

Processed locally on your device — nothing is uploaded.

About the Random Number Generator

Need a number between 1 and 100, six lottery-style numbers with no repeats, or a thousand values for a test? Set the range and quantity, choose whether duplicates are allowed and press Generate.

Numbers come from your browser’s cryptographic random generator, and a rejection-sampling method ensures every number in the range is exactly equally likely — no modulo bias.

How to use the Random Number Generator

  1. Set the minimum, maximum and how many numbers you need.
  2. Choose whether to allow duplicates and sort the result.
  3. Press Generate.

Features

  • Any integer range
  • Up to 10,000 numbers
  • No-duplicates option
  • Unbiased, cryptographically secure

Supported formats

  • Integers

Frequently asked questions

Is this truly random?

It uses the operating system’s cryptographically secure generator via the Web Crypto API, the same source used for encryption keys.

Is anything sent to a server?

No. Everything is calculated in your browser.

Added · Last reviewed · Maintained by Sohail Khax · How we test tools