Crunchify

Random Number Generator

Generate secure random numbers, flip coins, and roll dice.

Number Generator

How It Works

This tool uses the browser's crypto.getRandomValues() API, which generates cryptographically secure random numbers using the operating system's entropy source. This is fundamentally different from Math.random(), which uses a deterministic pseudo-random algorithm and is not suitable for security-sensitive applications.

Common uses: generating random samples for statistics, picking lottery numbers, running simulations, tabletop gaming, and anywhere you need unbiased, unpredictable values. The no-duplicates mode uses rejection sampling to ensure a perfectly uniform distribution across the selected range.

Crunchify — Free tools, no ads, no tracking.