# Random Number Generator

> Generate random numbers in any range, with optional uniqueness — for draws and sampling.

To generate random numbers, set a minimum, maximum and how many you want. Values are drawn from the browser's cryptographically secure random source rather than Math.random, and the no-repeats option guarantees distinct values for draws and sampling.

**URL:** https://convertto.tech/t/random-number-generator
**Category:** Calculators (https://convertto.tech/c/calculators)
**Privacy:** Runs entirely in the browser; no upload
**Cost:** Free, no sign-up
**Last updated:** 2026-08-01

## Key facts

- **Privacy:** Runs entirely in your browser — nothing is uploaded
- **Cost:** Free, unlimited, no sign-up

## How to use

1. Set the minimum.
2. Set the maximum.
3. Set the how many.
4. Turn "No repeats" on or off as needed.
5. Turn "Sort ascending" on or off as needed.
6. The result appears immediately — copy or download it.

## FAQ

### Is this suitable for a lottery or a giveaway?

It uses the browser's cryptographic random source, so the numbers are unpredictable and uniformly distributed. For anything with legal or financial consequence, a documented and auditable process matters more than the generator itself.

### What is the difference between Math.random and crypto random?

Math.random is fast but predictable — observing a few outputs can reveal the internal state and therefore all future values. Cryptographic randomness draws from the operating system entropy pool and cannot be predicted.

## Related tools

- [Dice Roller](https://convertto.tech/t/dice-roller): Roll any number of dice with any number of sides, plus a modifier.
- [Password Generator](https://convertto.tech/t/password-generator): Generate strong random passwords using your browser's cryptographic random source.
- [Random String Generator](https://convertto.tech/t/random-string-generator): Generate random strings from a chosen character set — for keys, tokens and test data.
- [Lottery Number Generator](https://convertto.tech/t/lottery-number-generator): Generate random lottery lines for common draws, with the real odds shown.
- [Random Date Generator](https://convertto.tech/t/random-date-generator): Generate random dates in a range, optionally restricted to working days.
- [Username Generator](https://convertto.tech/t/username-generator): Generate available-looking usernames and handles in several styles.
- [Break-Even Point Calculator](https://convertto.tech/t/break-even-calculator): Find how many units you must sell to cover your costs.
- [Compound Interest Calculator](https://convertto.tech/t/compound-interest-calculator): Project savings growth with compound interest and regular contributions.
