Random Number Generator
Generate crypto-secure random numbers — set min/max, integer or decimal, batch generate, or roll dice.
Uses crypto.getRandomValues() for cryptographically secure randomness.
Related Tools
You might also find these useful
Everything you need to know
Cryptographically Secure Random Numbers
This random number generator uses the browser's crypto.getRandomValues() API to produce numbers that are cryptographically secure. Unlike Math.random(), the Web Crypto API draws from a hardware entropy source managed by your operating system, making the output suitable for security-sensitive scenarios like lottery draws, raffle picks, and token generation.
Flexible Range and Type Options
Set any minimum and maximum value — from negative billions to positive billions. Choose between integers for whole numbers or decimals for floating-point results with 1–10 decimal places. The tool validates your inputs and provides clear error messages if the range is invalid.
Batch Generation
Need more than one number? Set the count from 1 to 1,000 and generate an entire batch in a single click. Results appear in a scrollable grid with automatic statistics: minimum, maximum, mean, and total count. Copy all results to your clipboard with one button.
Dice Roller Mode
Switch to dice mode to simulate rolling 1–20 standard six-sided dice. Each die is rolled independently using crypto-secure randomness. Visual dice face icons show each result at a glance, and the total is calculated automatically for tabletop gaming, board games, or probability demonstrations.
Related Tools
Pick random items from a list with the Emoji Picker. Explore date maths with the Date Difference Calculator. Encode data securely with the Encryption Tool.