Random number generator
Generate numbers in a range with optional duplicate prevention.
Both bounds included, from −1 billion to 1 billion. 1–1,000 numbers. Decimal mode samples the six-decimal grid inside the bounds. Unique count cannot exceed available values. Results stay until you change inputs or generate again.
Choose a range, then generate numbers.
Inclusive bounds from -1 billion to 1 billion; 1–1,000 results. Integer mode needs whole bounds. Decimal mode samples six-decimal values within the bounds. Unique count must fit the available grid. This is an everyday generator, not a certified lottery system or a password/key generator.
The formula, made simple
Generate a fresh list on demand using your browser’s Web Crypto random source. Inputs and generated numbers remain on your device.
Rejection sampling maps uniform random bits to the selected discrete range without modulo bias. Unique draws use partial sampling without replacement.
A worked example
With bounds 1 and 3, count 3 and No duplicates, the result is a permutation of 1, 2 and 3.
A few useful answers
Do the numbers change as I type?
No. Generate numbers creates a new list; editing an input clears the previous result. Decimal results come from a finite six-decimal grid, not a continuous distribution.