Random Number Generator

Generate one or multiple integers within a chosen range, either allowing repeated values or creating a selection without repeats.

Generate numbers within a range

Set minimum and maximum values, choose how many integers you need, and generate the result in your browser. Both boundaries are included, and no external service is contacted.

With repeats or without replacement

Allow repeats when the same value may appear more than once. Disable them for sampling without replacement; the count cannot exceed the integers available in the range.

Web Crypto and appropriate uses

The tool uses crypto.getRandomValues and rejection sampling to avoid modulo bias. It suits everyday choices, turns, games, or informal drawings, but does not certify official drawings.

Frequently asked questions

Are the minimum and maximum included?

Yes. Any integer between both boundaries may appear.

How do I generate numbers without repeats?

Disable repeats. The count must be no greater than the number of available integers in the range.

Can I use this for an official drawing?

It can support informal drawings, but it provides no certification, public record, or audit trail for official processes.

Is this suitable for cryptography?

It uses the browser's cryptographic source, but this general interface does not replace specialized protocols or security review.

Explore all online generators

Related tools