Docelora
ToolsAboutContact
Calculators

Random Number Generator

Pick random numbers for draws, games, sampling or testing – any range, any quantity, unique or with repeats – generated with your browser’s cryptographically secure random source.

Quick answer: set the minimum and maximum, how many numbers you want and whether repeats are allowed, then press Generate. Choose decimal places for non-whole numbers.

Random Number Generator

Range · count · unique · sorted

Runs on your device: everything you type or open is processed in this browser tab. Nothing is uploaded to Docelora or anyone else.

How random is it?

Numbers come from crypto.getRandomValues, the browser’s cryptographically secure generator, combined into 53-bit values so every number in the range is equally likely. For legally regulated lotteries or prize draws, follow the rules that apply to you.

Related tools

Frequently asked questions

Are the numbers truly random?

They come from a cryptographically secure source – unpredictable for practical purposes.

Can I avoid repeats?

Tick “No repeats”.

How many can I generate?

Up to 10,000 at once.

Can I include negative numbers?

Yes.

Are both ends included?

Yes – the minimum and maximum can both appear.

Can I get decimals?

Set decimal places.

Can I pick lottery numbers?

Yes, e.g. 6 unique numbers from 1 to 59 – but no tool improves your odds.

Is it fair for giveaways?

Yes for picking a number; record the result for transparency.

Can I sort the results?

Tick “Sort results”.

Can I copy them?

Yes – copy or download.

Is the result saved?

No.

Why press Generate?

So each press gives a fresh draw.

Can I pick from a list of names?

Number the names and pick a number.

Is it biased?

No – it avoids the modulo bias of simple methods.

Does it work offline?

Once loaded, yes.

Is it free?

Yes – no sign-up and no limits.

Is anything I enter sent to a server?

No – the calculation runs in your browser.

Does it work on a phone?

Yes – the layout adapts to small screens.

Can I copy the result?

Yes – use the Copy button under the text summary.

How accurate is it?

The maths is exact for the values you enter; real-world results depend on the assumptions shown on the page.

Last reviewed: 8 November 2026.