Free online tools to generate, calculate,
convert, format, encode, and play.
 

Random Number Generator

Generate random numbers in a range, cryptographic random bytes at any bit length, Gaussian-distributed values, or lottery picks.


Random Integer in Range

Presets:

Cryptographic Random Bytes

Generate cryptographically secure random values using crypto.getRandomValues().

Presets:

Gaussian (Normal) Distribution

Presets:

Lottery Number Picker

Presets:

How It Works

Range Mode

Generates uniformly distributed integers in your chosen range using crypto.getRandomValues() with rejection sampling for unbiased results. Output in decimal, hex, octal, or binary.

Bit Length Mode

Produces cryptographically secure random bytes via the Web Crypto API. Values are shown simultaneously in hex, decimal (for values up to 64 bits), binary, and Base64. Useful for generating encryption keys, nonces, tokens, and session IDs.

Gaussian Mode

Uses the Box-Muller transform to generate normally distributed random numbers with configurable mean and standard deviation. Includes a distribution histogram for visual verification.

Lottery Mode

Draws unique numbers from a pool with optional bonus balls from a separate pool — matching real lottery formats like Powerball, Mega Millions, and EuroMillions.


Embed This Util

You can embed this util on your own site as a widget. Adding ?embed=1 to the URL loads a compact version with just the tool itself; no header, menu, or documentation. Paste this snippet into your HTML:


    

Copy snippet Adjust the height to taste.



Feedback

Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.


Share with