Everyday tools ↗

Developer utilities / FREE BROWSER TOOL

Random numbers.

Sample inclusive integer ranges using unbiased browser randomness, with optional unique draws.

YOUR EVERYDAY DESKKeep your
next task close.
Switch between tools ↗
Random numbers
See result ↓● Live result
01 / YOUR INPUTS

Processed on this device.

02 / YOUR RESULT

Your answer

ON YOUR DEVICE

Your result will appear here.

Adjust a field to calculate.

LOCAL INPUTS / CLEAR WORKING / USEFUL OUTPUTNothing to sign in to.

Built and maintained by Operance Labs · Report a calculation or documentation issue

A LITTLE KNOW-HOW

How to use
this tool.

  1. Enter the relevant inputs.
  2. Choose the available options and review the result.
  3. Copy or download the output for your workflow.

What the inputs mean

Minimum
Enter minimum. Minimum: -2147483648. Maximum: 2147483647.
Maximum
Enter maximum. Minimum: -2147483648. Maximum: 2147483647.
Count
Enter count. Minimum: 1. Maximum: 1000.
No repeated values
Turn this option on or off to match your task.
A WORKED STARTING POINT

See the working.

Draw ten different integers from 1 to 100.

Uses cryptographic rejection sampling rather than Math.random or biased modulo sampling.

Unique mode samples without replacement and requires enough integers in the chosen range.

Your inputs stay here

Your input is processed on this device. PixelDesk does not upload it to a calculation or file-processing server. Copying and downloading are deliberate actions. Closing the page clears the in-memory inputs; the app remembers only its theme and public reference-rate cache.

Methods and public data ↗

Keep a useful
thing close.

All developer utilities ↗

Questions, answered.

What can I do with random numbers?

Sample inclusive integer ranges using unbiased browser randomness, with optional unique draws.

What does the random numbers example show?

Draw ten different integers from 1 to 100.

What should I check before using the result?

Uses cryptographic rejection sampling rather than Math.random or biased modulo sampling.