Random Number Generator

Generate one or more random numbers within any range.

About this tool

How Randomness Is Generated

Numbers are generated using the browser's crypto.getRandomValues API, which produces higher-quality randomness than Math.random(). Set a minimum and maximum, how many numbers you need, and whether duplicates are allowed.

FAQ

Frequently Asked Questions

Are these numbers cryptographically secure?

This generator uses the browser's crypto.getRandomValues API, suitable for lotteries, giveaways, and general randomness needs — for cryptographic key generation, use a dedicated cryptography library.

Can I generate numbers without duplicates?

Yes — toggle "No duplicates" on to guarantee every generated number is unique. The count can't exceed the number of values in your chosen range.

Can I generate decimal numbers, not just integers?

Yes — switch the number type to decimal and set how many digits after the decimal point you want.

Related Tools

More Dev Tools

Base64 EncoderBcrypt GeneratorColor PickerCron ParserCSS MinifierCSV ⇄ JSON