Random Number Generator
Generate random numbers in any range, roll dice or draw lottery numbers. Cryptographically strong randomness, no repeats option. Free and instant.
Why use this random number generator
Need a number nobody could predict or nudge? This generator produces random values right in your browser for raffles, games, decisions and sampling — three modes cover the everyday cases: a range with optional unique values, dice, and lottery-style draws.
What it does
- Range mode: any min–max, up to 1000 numbers, with a no-repeats option.
- Dice mode: roll 1–12 six-sided dice with the sum shown.
- Lottery mode: draw unique numbers from a pool of up to 999, sorted.
How to use
- Pick a mode and set the parameters.
- Press Generate — the result appears instantly.
- Copy the result or roll again as many times as you need.
How it works
The generator uses the browser cryptographic API (crypto.getRandomValues) with rejection sampling to avoid modulo bias, and Fisher–Yates shuffling for unique draws. Everything runs locally in your browser.
Frequently asked questions
How random is it?
It uses your browser's cryptographic random number generator — the same source used for security keys — far better than naive Math.random() tricks.
Can it pick numbers without repeats?
Yes. Enable "No repeats" in Range mode, or use Lottery mode, which always draws unique sorted numbers from the pool.
Related tools
Number Base Converter
Convert numbers between binary, octal, decimal, hexadecimal, and custom bases
Percentage Calculator
Multiple percentage calculations — find percentages, changes, and increases
Unit Converter
Convert between length, weight, and temperature units
Roman Numeral Converter
Convert between Roman numerals and Arabic numbers bidirectionally
UUID Generator
Generate UUID v4 strings instantly — single or batch, with uppercase toggle
Number Formatter
Format numbers with thousands separators, currency symbols, scientific notation, and locale support