🎲 Random Generator

Random Number Generator

Generate cryptographically secure random numbers in any range. Single, multiple, unique, dice, decimals — all modes included.

Range
🎲 Your Random Number Click to copy
All generated numbers
History
No generations yet — results appear here.

About this random number generator

This tool uses window.crypto.getRandomValues() — the Web Crypto API — for cryptographically secure randomness. Unlike Math.random(), which is predictable, the Crypto API is suitable for security-sensitive applications.

🔐 Crypto secure

Uses window.crypto.getRandomValues() — the same API used by password managers and cryptographic software. Not predictable or reproducible.

🎯 Unique mode

Enable "Unique numbers" to ensure no number appears twice in your result set. Useful for lottery picks, shuffling, and fair draws.

🎲 Dice roller

Supports d4, d6, d8, d10, d12, d20, d100. Roll multiple dice at once and get individual results plus the total sum.

📋 Bulk generation

Generate up to 10,000 numbers at once. Sort them, copy them all, or click any individual number chip to copy it.

Frequently asked questions

Set Min to 1, Max to 10, keep Count at 1, and click Generate. Use the keyboard shortcut Space or Enter to generate quickly without clicking.
Set Min = 1, Max = 49 (or your lottery's range), Count = 6 (or however many numbers your lottery requires), enable Unique, and click Generate. Enable Sort to see them in order.
This generator uses window.crypto.getRandomValues() — a cryptographically secure pseudo-random number generator (CSPRNG). It's far more unpredictable than Math.random() and suitable for security applications.
Yes. Set Min to a negative value like -100 and Max to 100. The generator handles negative ranges correctly.
Click the "Dice Roller" tab. Select your die type (d4 through d100), set how many dice to roll, and click Roll. Individual die values and the sum are shown.
🔗 Related tools